After upgrading to glibc-2.4 i can't compile anything. ***emerge info: [19:26:09][root@oTpoBa] ~ # emerge --info Portage 2.1_rc1-r3 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.16-gentoo-r7 i686) ================================================================= System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 2800+ Gentoo Base System version 1.12.0_pre19 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] ccache version 2.4 [enabled] dev-lang/python: 2.4.3-r1 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r1 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.18.1 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=athlon-xp -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/NX/etc /usr/NX/home /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://gentoo.itdnet.net/gentoo http://gentoo.internet-bg.net/" LANG="bg_BG" LC_ALL="C" LINGUAS="bg" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync2.bg.gentoo.org/gentoo-portage/" USE="x86 3dnow 3dnowext X alsa apache2 apm arts asf avi berkdb bitmap-fonts cli crypt cups dba doc dri dvd dvdr dvdread eds emboss encode esd fbcon foomaticdb fortran ftp gd gdbm gif gpm gtk gtk2 imlib isdnlog jpeg kde libg++ libwww mad mikmod mmx mmxext motif mp3 mpeg mysql ncurses nls nptl nptlonly nvidia ogg opengl oss pcre pdflib perl png pppd python qt readline reflection samba sdl session spell spl sse ssl tcpd theora truetype truetype-fonts type1-fonts udev vorbis win32codecs xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_bg userland_GNU video_cards_nv video_cards_nvidia video_cards_vga video_cards_vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS ***what happen when i try to compile some small program: [19:26:53][root@oTpoBa] ~ # emerge portage-utils Calculating dependencies... done! >>> Emerging (1 of 1) app-portage/portage-utils-0.1.17-r1 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking portage-utils-0.1.17.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking portage-utils-0.1.17.tar.bz2 to /var/tmp/portage/portage-utils-0.1.17-r1/work * Applying portage-utils-0.1.17-enum.patch ... [ ok ] * Applying portage-utils-0.1.17-bug133514.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/portage-utils-0.1.17-r1/work/portage-utils-0.1.17 ... sed -n '/^DECLARE_APPLET/s:.*(\(.*\)).*:#include "\1.c":p' applets.h > include_applets.h cc -DVERSION=\"0.1.17\" -DAPPLET_q -DAPPLET_qatom -DAPPLET_qcheck -DAPPLET_qdepends -DAPPLET_qfile -DAPPLET_qgrep -DAPPLET_qimlate -DAPPLET_qlist -DAPPLET_qlop -DAPPLET_qmerge -DAPPLET_qpkg -DAPPLET_qsearch -DAPPLET_qsize -DAPPLET_qtbz2 -DAPPLET_quse -DAPPLET_qxpak -march=athlon-xp -O2 -pipe -funsigned-char -MM main.c > .depend cc -march=athlon-xp -O2 -pipe -funsigned-char main.c -o q In file included from include_applets.h:15, from main.c:1001: qmerge.c: In function 'pkg_merge': qmerge.c:709: warning: pointer targets in assignment differ in signedness qmerge.c:716: warning: pointer targets in initialization differ in signedness /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so: file format not recognized; treating as linker script /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../../i686-pc-linux-gnu/bin/ld:/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/../../../libc.so:5: syntax error collect2: ld returned 1 exit status make: *** [q] Error 1 !!! ERROR: app-portage/portage-utils-0.1.17-r1 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile ebuild.sh, line 601: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if relevant. ***trying to compile other program: [19:27:14][root@oTpoBa] ~ # emerge irssi Calculating dependencies... done! >>> Emerging (1 of 1) net-irc/irssi-0.8.10-r3 to / >>> checking ebuild checksums ;-) >>> checking auxfile checksums ;-) >>> checking miscfile checksums ;-) >>> checking irssi-0.8.10.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking irssi-0.8.10.tar.bz2 to /var/tmp/portage/irssi-0.8.10-r3/work * Applying irssi-0.8.10-dcc-segv.patch ... [ ok ] >>> Source unpacked. >>> Compiling source in /var/tmp/portage/irssi-0.8.10-r3/work/irssi-0.8.10 ... true * econf: updating irssi-0.8.10/config.sub with /usr/share/gnuconfig/config.sub * econf: updating irssi-0.8.10/config.guess with /usr/share/gnuconfig/config.guess ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --with-proxy --with-ncurses --with-perl-lib=vendor --enable-ssl --with-perl --disable-ipv6 --without-socks --build=i686-pc-linux-gnu checking for a BSD-compatible install... /bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking for style of include used by make... GNU checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details. !!! Please attach the following file when filing a report to bugs.gentoo.org: !!! /var/tmp/portage/irssi-0.8.10-r3/work/irssi-0.8.10/config.log !!! ERROR: net-irc/irssi-0.8.10-r3 failed. Call stack: ebuild.sh, line 1527: Called dyn_compile ebuild.sh, line 931: Called src_compile irssi-0.8.10-r3.ebuild, line 37: Called econf '--with-proxy' '--with-ncurses' '--with-perl-lib=vendor' '--enable-ssl' '--with-perl' '--disable-ipv6' '--without-socks' ebuild.sh, line 533: Called die !!! econf failed !!! If you need support, post the topmost build error, and the call stack if relevant. *** and this is happen with all programs, with the same error.
Created attachment 87740 [details] config.log attachment is the config.log from irssi /var/tmp/portage/irssi-0.8.10-r3/work/irssi-0.8.10/config.log
Please run: binutils-config -l You are probably using binutils-2.15 and not 2.16. Switch to 2.16 and everything should be fine.
Thanks a lot. That helped me.
re-open to dupe properly
*** This bug has been marked as a duplicate of 126032 ***