I can't upgrade my glibc because it fails on compiling. I tried to remove the "nptl" and "nptlonly" flags of my USE variable, but still appears the same error. I even tried to compile without optimizations flags on my CFLAGS,CXXFLAGS and LDFLAGS but nothing has changed.Also tried to downgrade to the 2.3.4 version but it has the same error. I don't think it's a hardware problem, because the compilation fails everytime in the same point (on iconv/skeleton.c). Only left to try recompiling gcc :( Reproducible: Always Steps to Reproduce: 1. add to USE variable: "nptl nptlonly pic" 2. emerge glibc Actual Results: Download the sources and starts compiling. After a long time appears the following message: make[2]: *** [/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/dec-mcs.os] Segmentation fault make[2]: *** Waiting for unfinished jobs.... *** glibc detected *** free(): invalid pointer: 0x0000000000c9fbf0 *** ../iconv/skeleton.c: In function `gconv': ../iconv/skeleton.c:801: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. The bug is not reproducible, so it is likely a hardware or OS problem. make[2]: *** [/var/tmp/portage/glibc-2.3.5/work/build-x86-x86_64-pc-linux-gnu-nptl/iconvdata/iso-2022-jp.os] Error 1 make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5/iconvdata' make[1]: *** [iconvdata/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.5/work/glibc-2.3.5' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.5 failed. !!! Function toolchain-glibc_src_compile, Line 244, Exitcode 2 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. My emerge info Portage 2.0.51.19 (default-linux/amd64/2005.0, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.11-gentoo-r3 x86_64) ================================================================= System uname: 2.6.11-gentoo-r3 x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Mar 4 2005, 20:56:19)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4-r1 sys-apps/sandbox: [Not Present] sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.5, 1.7.9-r1, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.6.8.1-r4 ACCEPT_KEYWORDS="amd64" AUTOCLEAN="yes" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.caliu.info/pub/gentoo/ ftp://ftp.caliu.info/pub/gentoo/ http://linuv.uv.es/mirror/gentoo/" LDFLAGS="-W1,-O1" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.es.gentoo.org/gentoo-portage" USE="amd64 X alsa avi berkdb bitmap-fonts cdr crypt cups dvd dvdr eds encode esd fam foomaticdb fortran gif gnome gpm gstreamer gtk gtk2 imlib imlib2 ipv6 jabber java jpeg kde lzw lzw-tiff motif mp3 mpeg msn ncurses nls nptl nptlonly nvidia ogg opengl pam pdflib perl pic png python qt quicktime readline sdl spell ssl tcpd tiff truetype truetype-fonts type1-fonts usb userlocales vorbis xml xml2 xmms xpm xv yahoo zlib userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LINGUAS If you need anything else just tell me
Are youu *SURE* your memory is alright? Try gcc-3.4.4.
i confirm it's a bug. take a look at: http://forums.gentoo.org/viewtopic-p-2628619.html#2628619 i've posted this bug there. bigger compiler output than here. also a lot of system info.
Is this still an issue with the newest stable version of gcc?