[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: anjuta for F8








> /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

I have also encountered this, but have not fixed it yet. Any
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
[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]