anjuta for F8

Paulo Cavalcanti promac at gmail.com
Mon Feb 18 13:49:13 UTC 2008


>
> > /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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-devel-list/attachments/20080218/99f81f7c/attachment.htm>


More information about the fedora-devel-list mailing list