Here is the last bit of error message: /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: .libs/nfkc.o: relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC .libs/nfkc.o: could not read symbols: Bad value collect2: ld returned 1 exit status make[3]: *** [libidn.la] Error 1 make[3]: Leaving directory `/var/tmp/portage/libidn-0.5.11-r1/work/libidn-0.5.11/lib' make[2]: *** [all] Error 2 make[2]: Leaving directory `/var/tmp/portage/libidn-0.5.11-r1/work/libidn-0.5.11/lib' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/libidn-0.5.11-r1/work/libidn-0.5.11' make: *** [all] Error 2 Here is emerge info: Portage 2.0.51-r3 (gcc34-amd64-2004.1, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.9-gentoo-r6 x86_64) ================================================================= System uname: 2.6.9-gentoo-r6 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.6 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.10 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O3 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -ffast-math -funroll-all-loops -funit-at-a-time -fpeel-loops -ftracer -funswitch-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks" GENTOO_MIRRORS="http://open-systems.ufl.edu/mirrors/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X alsa amd64 apm avi berkdb bitmap-fonts cdr crypt cups dvd encode esd f77 fam foomaticdb fortran ftp gdbm gif gnome gpm gtk gtk2 gtkhtml imlib jpeg libg++ libwww mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python quicktime readline sdl slang spell ssl tcpd truetype usb xml2 xmms xprint xv zlib" Reproducible: Always Steps to Reproduce: 1.emerge -auvD world 2. 3. Actual Results: Failed to compile. Expected Results: To compile sucessfully.
does libidn-0.5.11 fail?
I have the same problem, also on amd64. I tested compiling libidn-0.5.11 and it compiled fine. So the problem is with some change in 0.5.11-r1.
I second Jonathan's comments.
those who echo comments please state your system type and which use flags (out of java doc pic nls are being used). Please play around with the use flags and identifiy which one is causing the problem.
# emerge info Portage 2.0.51-r3 (default-linux/amd64/2004.3, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-rc2-mm4 x86_64) ================================================================= System uname: 2.6.10-rc2-mm4 x86_64 AMD Athlon(tm) 64 Processor 3400+ Gentoo Base System version 1.6.6 Autoconf: sys-devel/autoconf-2.59-r6,sys-devel/autoconf-2.13 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.92.0.2-r1 Headers: sys-kernel/linux26-headers-2.6.8.1-r1 Libtools: sys-devel/libtool-1.5.10 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CFLAGS="-march=k8 -O3 -funit-at-a-time -ffast-math -pipe" CHOST="x86_64-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k8 -O3 -funit-at-a-time -ffast-math -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig buildpkg ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.llarian.net/ http://gentoo.ccccom.com http://128.213.5.34/gentoo/ http://gentoo.osuosl.org/ http://cudlug.cudenver.edu/gentoo/ http://gentoo.mirrors.pair.com/ http://csociety-ftp.ecn.purdue.edu/pub/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/portage/local" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa avi berkdb bonobo cdr crypt cups dmx dv dvd dvdr edl eds encode esd evo f77 faac faad fam flac fortran gcj gdbm gif gnome gpm gstreamer gtk gtk2 guile hal imagemagick imap imlib ipv6 java jp2 jpeg junit kde libgda lzw lzw-tiff mad mikmod mozdevelop mozilla mozsvg mpeg ncurses nls nomultilib nptl nptlonly nvidia offensive oggvorbis openal opengl pam pcmcia perl png python qt quicktime readline rtc samba sdl slang ssl svg tcpd theora tiff truetype unicode usb userlocales wmf xml2 xmms xpm xprint xrandr xscreensaver xv xvid xvmc yv12 zlib" Fiddling with the USE flags did it. I made it work by doing this: # USE="pic" emerge libidn
Created attachment 45169 [details, diff] Patch against the ebuild for pic problem Fixes it in the .ebuild, assuming this only occurs on amd64
Created attachment 45170 [details, diff] Patch against the ebuild for pic problem Hrm, a small mistake in the patch
fixed (hopefully) - thanks Daniel.