I get an error when trying to emerge silc-plugin on my amd64: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/silc.a(silcattrs.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC ./.libs/silc.a(silcattrs.o): could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libsilc_core.la] Error 1 make: Leaving directory `/usr/tmp/portage/silc-plugin-1.0.1-r3/work/irssi-0.8.9/src/silc/core' Reproducible: Always Steps to Reproduce: sudo emerge silc-plugin Actual Results: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.4/../../../../x86_64-pc-linux-gnu/bin/ld: ./.libs/silc.a(silcattrs.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC ./.libs/silc.a(silcattrs.o): could not read symbols: Bad value collect2: ld returned 1 exit status make: *** [libsilc_core.la] Error 1 make: Leaving directory `/usr/tmp/portage/silc-plugin-1.0.1-r3/work/irssi-0.8.9/src/silc/core' Expected Results: I expected the plugin to install contact me if you need me to find any more information about the problem
This do the job for me, but it's probably like -r3.ebuild. Changelog says: 12 Dec 2005; Andrej Kacian <ticho@gentoo.org> -silc-plugin-1.0.1.ebuild, -silc-plugin-1.0.1-r1.ebuild, -silc-plugin-1.0.1-r2.ebuild, -silc-plugin-1.0.1-r3.ebuild, silc-plugin-1.0.1-r4.ebuild: Removed old ebuilds to get rid of USE=pic cruft. 1.0.1-r4 stable on x86. commit maybe too early to get rid of USE=pic cruft. :-/ *** /usr/portage/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild.orig Fri Jan 20 20:28:43 2006 --- /usr/portage/net-im/silc-plugin/silc-plugin-1.0.1-r4.ebuild Fri Jan 20 20:28:55 2006 *************** *** 41,47 **** fi econf --with-helpdir=${D}/usr/share/irssi/help/silc/ \ --without-libtoolfix \ ! --enable-static --with-pic \ `use_enable debug` || die "silc-client configure failed" ( MAKEOPTS="" emake -C lib ) || die "silc-client's lib compilation failed" --- 41,47 ---- fi econf --with-helpdir=${D}/usr/share/irssi/help/silc/ \ --without-libtoolfix \ ! --enable-static \ `use_enable debug` || die "silc-client configure failed" ( MAKEOPTS="" emake -C lib ) || die "silc-client's lib compilation failed"
the ebuild changed a bit please test and re-assign to me if anything is wrong (i hope not) i fixed build on amd64 and its on cvs. Thanks