binutils 2.16.90.0.3 break gcc-4.0.1-pre20050616 compilation, downgrade of binutils let it compile just fine. Reproducible: Always Steps to Reproduce: 1. emerge =binutils-2.16.90.0.3 2. emerge =gcc-4.0.1-pre20050616 Actual Results: After some compile steps, it says "ld: BFD-2.16.90.0.3 breakage detected, please send a bugreport" It appears at different points if you redo this, but happens everytime. If you downgrade to 2.16.1 it works just fine. orion8 ~ # emerge info Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-4.0.1-pre20050616, glibc-2.3.5-r0, 2.6.12-rc5 i686) ================================================================= System uname: 2.6.12-rc5 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz Gentoo Base System version 1.6.12 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [disabled] dev-lang/python: 2.3.5, 2.4.1-r1 sys-apps/sandbox: 1.2.9 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.18 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS=" -O2 -march=pentium4 -mtune=pentium4 -ffast-math " CHOST="i686-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/lib/mozilla/defaults/pref /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS=" -O2 -march=pentium4 -mtune=pentium4 -ffast-math " DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks fixpackages sfperms strict" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo ftp://ftp.join.uni-muenster.de/pub/linux/distributions/gentoo" MAKEOPTS=" -j2 " PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://orion7.digital-server.de/gentoo-portage" USE="x86 X a52 aac alsa apache2 apm arts artswrappersuid avi bash-completion berkdb bitmap-fonts bluetooth cdda cddb cdio cdparanoia cdr crypt cups curl divx4linux dts dvb dvd dvdr dvdread edl emacs emboss encode esd fam ffmpeg flac foomaticdb fortran freetype gd gdbm gif gnome gnutls gpm gtk gtk2 imagemagick imlib ipv6 jack java jpeg jpeg2k junit kde kdeenablefinal lesstif libcaca libg++ libwww lirc lzo mad mikmod mmx mmx2 mmxext motif mozilla mp3 mpeg mysql mythtv ncurses nls nptl nptlonly ogg oggvorbis opengl oss pam pdflib perl php pic pie png povray ppds python qt quicktime rdesktop readline real rtc samba sblive scanner sdl server slp sndfile speex spell sse sse2 ssl subversion svg svga tcltk tcpd tiff truetype truetype-fonts type1-fonts v4l v4l2 vcd vidix vorbis wxwindows xanim xine xinerama xml2 xmms xv xvid xvmc zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I also have this problem.
try this patch: http://sourceware.org/ml/binutils/2005-06/msg00512.html if it works, re-open and i'll add it to our binutils
I can't get that patch to apply at all. It spits out rejects for every last file except bfd/elfxx-mips.c.
re-opening to close properly ...
in the future file bugs against pre gcc releases that are unrelated to the ebuilds upstream binutils 2.16.91.0.1 is in portage, it may work, it may not ... either way, an acceptable workaround is to compile with binutils 2.16.1