<br><br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br><div class="Ih2E3d"><br>> /usr/bin/ld:<br>> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libbfd.a(format.o):<br>
> relocation R_X86_64_32 against `a local symbol' can not be used when making<br>> a shared object; recompile with -fPIC<br>> /usr/lib/gcc/x86_64-redhat-linux/4.1.2/../../../../lib64/libbfd.a:<br>> could not read symbols: Bad value<br>
> collect2: ld returned 1 exit status<br><br></div>I have also encountered this, but have not fixed it yet. Any<br>suggestions would be much appreciated.<br><div class="Ih2E3d"><br></div></blockquote><div><br><br>Well, I fixed it. It is just a question of recompiling binutils with -fPIC.<br>
<br>I just changed this line in binutils spec file and rebuilt it:<br><br>CC="gcc -L`pwd`/bfd/.libs/" CFLAGS="${CFLAGS:-%optflags -fPIC}" ../configure \<br><br>Doing that, anjuta can be built with valgrind support in x86_64 architectures.<br>
</div></div><br>Note that I do not know whether this is acceptable by Fedora standards or not.<br><br>Any comments?<br clear="all"><br>-- <br>Paulo Roma Cavalcanti<br>LCG - UFRJ