binutils fails to compile during bootstrap as well as called by "emerge binutils". Installation of gentoo is currently not possible True for amd64 (nomultilib) as well as for x86. Versions from 2.16 up are also affected, relaxing CFLAGS did not change anything Reproducible: Always Steps to Reproduce: 1. scripts/bootstrap.sh 2. emerge binutils Actual Results: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -march=k8 -m64 -pipe -o .libs/size size.o bucomm.o version.o filemode.o ../bfd/.libs/libbfd.so -L/Lokal/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/libiberty/pic -liberty ../libiberty/libiberty.a -ldl -Wl,--rpath -Wl,/usr/lib/binutils/x86_64-pc-linux-gnu/2.15.92.0.2 bucomm.o(.text+0x9f2): In function `make_tempname': : warning: the use of `mktemp' is dangerous, better use `mkstemp' size.o(.text+0x11): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x2f): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x46): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x5d): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x96): In function `usage': : undefined reference to `libintl_gettext' size.o(.text+0x7b1): In function `main': : undefined reference to `libintl_bindtextdomain' size.o(.text+0x7bb): In function `main': : undefined reference to `libintl_textdomain' size.o(.text+0x83e): In function `main': : undefined reference to `libintl_gettext' bucomm.o(.text+0x246): In function `set_default_bfd_target': : undefined reference to `libintl_gettext' bucomm.o(.text+0x26a): In function `list_matching_formats': : undefined reference to `libintl_gettext' bucomm.o(.text+0x2ed): In function `list_supported_targets': : undefined reference to `libintl_gettext' bucomm.o(.text+0x350): In function `list_supported_targets': : undefined reference to `libintl_gettext' bucomm.o(.text+0x387): more undefined references to `libintl_gettext' follow ../bfd/.libs/libbfd.so: undefined reference to `libintl_dgettext' collect2: ld returned 1 exit status make[3]: *** [size] Error 1 make[3]: Leaving directory `/Lokal/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/binutils' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/Lokal/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/binutils' make[1]: *** [all-recursive-am] Error 2 make[1]: Leaving directory `/Lokal/gentoo/tmp/portage/binutils-2.15.92.0.2-r10/work/build/binutils' make: *** [all-binutils] Error 2 !!! ERROR: sys-devel/binutils-2.15.92.0.2-r10 failed. !!! Function toolchain-binutils_src_compile, Line 133, Exitcode 2 !!! emake failed !!! If you need support, post the topmost build error, NOT this status message. Expected Results: installation of binutils Portage 2.0.51.19 (!/Lokal/gentoo/profile, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r3-k8 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3-k8 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.6.12 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 4 2005, 16:47:04)] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-O2 -march=k8 -m64 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=k8 -m64 -mmmx -m3dnow -msse -msse2 -mfpmath=sse -fomit-frame-pointer -fforce-addr -pipe" DISTDIR="/Lokal/gentoo/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo" LINGUAS="de nds en_GB tr" MAKEOPTS="-j1" PKGDIR="/Lokal/gentoo/packages" PORTAGE_TMPDIR="/Lokal/gentoo/tmp" PORTDIR="/Lokal/gentoo/portage" PORTDIR_OVERLAY="/Lokal/gentoo/local" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow X aalib acpi alsa apache2 arts audiofile berkdb bidi bzlib caps cdparanoia cdr crypt cups curl curlwrappers dbus dga dts dv dvd dvdr encode exif faac faad fam fftw flac ftp gd gif gmp gphoto2 gpm hal ieee1394 imagemagick imlib ithreads jack jpeg jpeg2k kde kdeenablefinal lcms ldap libwww live mad matroska mmap mmx mmx2 mng mp3 mpeg nls no_wxgtk1 nptl nptlonly offensive oggvorbis opengl pcntl pdflib pic png quicktime readline rtc scanner sdl smartcard speex spell sse sse2 ssl svg theora threads tiff truetype unicode usb v4l v4l2 vorbis xine xml2 xrandr xsl xv xvid zlib video_cards_radeon linguas_de linguas_nds linguas_en_GB linguas_tr" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
What is -m64 doing in your C[XX]FLAGS?
You're either missing your [preloadable_]libintl.so in /usr/lib[64], or your paths are foobared. Either way, we don't support custom profiles as stated by your emerge info output. INVALID.
isnt reporter's fault, he is hitting a bug in portage
*** This bug has been marked as a duplicate of 105304 ***