I have also encountered this, but have not fixed it yet. Any
> /usr/bin/ld:
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libbfd.a(format.o):
> relocation R_X86_64_32 against `a local symbol' can not be used when making
> a shared object; recompile with -fPIC
> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libbfd.a:
> could not read symbols: Bad value
> collect2: ld returned 1 exit status
suggestions would be much appreciated.
Well, I fixed it. It is just a question of recompiling binutils with -fPIC.
I just changed this line in binutils spec file and rebuilt it:
CC="gcc -L`pwd`/bfd/.libs/" CFLAGS="${CFLAGS:-%optflags -fPIC}" ../configure \
Doing that, anjuta can be built with valgrind support in x86_64 architectures.
Note that I do not know whether this is acceptable by Fedora standards or not.
Any comments?
--
Paulo Roma Cavalcanti
LCG - UFRJ
-- fedora-devel-list mailing list fedora-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-devel-list