Trying to emerge gcc-4.6.0 leads to compilation failure due to "double free or corruption" Reproducible: Always Steps to Reproduce: 1. echo '~sys-devel/gcc-4.6.0' >> /etc/portage/package.unmask 2. ACCEPT_KEYWORDS="**" emerge -av1 sys-devel/gcc:4.6 Actual Results: Part of build log: checking for i686-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include *** glibc detected *** /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1: double free or corruption (out): 0x4025c6c0 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6b6d1)[0x401856d1] /lib/libc.so.6(+0x6cf38)[0x40186f38] /lib/libc.so.6(cfree+0x6d)[0x4018a03d] /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1(empty_alloc_pool+0x24)[0x814d434] ======= Memory map: ======== 08048000-089ef000 r-xp 00000000 08:16 10325457 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089ef000-089f0000 r--p 009a6000 08:16 10325457 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089f0000-089f7000 rw-p 009a7000 08:16 10325457 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089f7000-08af8000 rw-p 00000000 00:00 0 08cd4000-08d37000 rw-p 00000000 00:00 0 [heap] 40000000-4001c000 r-xp 00000000 08:16 23856553 /lib/ld-2.11.2.so 4001c000-4001d000 r--p 0001b000 08:16 23856553 /lib/ld-2.11.2.so 4001d000-4001e000 rw-p 0001c000 08:16 23856553 /lib/ld-2.11.2.so 4001e000-4001f000 r-xp 00000000 00:00 0 [vdso] 4001f000-40040000 rw-p 00000000 00:00 0 40040000-4004e000 r-xp 00000000 08:16 10307444 /usr/lib/libsandbox.so 4004e000-4004f000 ---p 0000e000 08:16 10307444 /usr/lib/libsandbox.so 4004f000-40050000 r--p 0000e000 08:16 10307444 /usr/lib/libsandbox.so 40050000-40051000 rw-p 0000f000 08:16 10307444 /usr/lib/libsandbox.so 40051000-40053000 rw-p 00000000 00:00 0 40053000-40067000 r-xp 00000000 08:16 48316692 /usr/lib/libmpc.so.2.0.0 40067000-40068000 r--p 00013000 08:16 48316692 /usr/lib/libmpc.so.2.0.0 40068000-40069000 rw-p 00014000 08:16 48316692 /usr/lib/libmpc.so.2.0.0 40069000-400b3000 r-xp 00000000 08:16 13616222 /usr/lib/libmpfr.so.1.2.2 400b3000-400b4000 r--p 00049000 08:16 13616222 /usr/lib/libmpfr.so.1.2.2 400b4000-400b5000 rw-p 0004a000 08:16 13616222 /usr/lib/libmpfr.so.1.2.2 400b5000-400b6000 rw-p 00000000 00:00 0 400b6000-40101000 r-xp 00000000 08:16 16696812 /usr/lib/libgmp.so.3.5.2 40101000-40102000 r--p 0004a000 08:16 16696812 /usr/lib/libgmp.so.3.5.2 40102000-40103000 rw-p 0004b000 08:16 16696812 /usr/lib/libgmp.so.3.5.2 40103000-40105000 r-xp 00000000 08:16 23860782 /lib/libdl-2.11.2.so 40105000-40106000 r--p 00001000 08:16 23860782 /lib/libdl-2.11.2.so 40106000-40107000 rw-p 00002000 08:16 23860782 /lib/libdl-2.11.2.so 40107000-40118000 r-xp 00000000 08:16 3621244 /lib/libz.so.1.2.3 40118000-40119000 r--p 00010000 08:16 3621244 /lib/libz.so.1.2.3 40119000-4011a000 rw-p 00011000 08:16 3621244 /lib/libz.so.1.2.3 4011a000-40259000 r-xp 00000000 08:16 23860786 /lib/libc-2.11.2.so 40259000-4025b000 r--p 0013f000 08:16 23860786 /lib/libc-2.11.2.so 4025b000-4025c000 rw-p 00141000 08:16 23860786 /lib/libc-2.11.2.so 4025c000-403ce000 rw-p 00000000 00:00 0 403ce000-403e8000 r-xp 00000000 08:16 9699514 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 403e8000-403e9000 r--p 00019000 08:16 9699514 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 403e9000-403ea000 rw-p 0001a000 08:16 9699514 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 40400000-40421000 rw-p 00000000 00:00 0 40421000-40500000 ---p 00000000 00:00 0 bfb9a000-bfbc0000 rw-p 00000000 00:00 0 [stack] checking for suffix of object files... *** glibc detected *** /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1: double free or corruption (out): 0x4025c6c0 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6b6d1)[0x401856d1] /lib/libc.so.6(+0x6cf38)[0x40186f38] /lib/libc.so.6(cfree+0x6d)[0x4018a03d] /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1(empty_alloc_pool+0x24)[0x814d434] ======= Memory map: ======== 08048000-089ef000 r-xp 00000000 08:16 10325457 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089ef000-089f0000 r--p 009a6000 08:16 10325457 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089f0000-089f7000 rw-p 009a7000 08:16 10325457 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089f7000-08af8000 rw-p 00000000 00:00 0 091d4000-09237000 rw-p 00000000 00:00 0 [heap] 40000000-4001c000 r-xp 00000000 08:16 23856553 /lib/ld-2.11.2.so 4001c000-4001d000 r--p 0001b000 08:16 23856553 /lib/ld-2.11.2.so 4001d000-4001e000 rw-p 0001c000 08:16 23856553 /lib/ld-2.11.2.so 4001e000-4001f000 r-xp 00000000 00:00 0 [vdso] 4001f000-40040000 rw-p 00000000 00:00 0 40040000-4004e000 r-xp 00000000 08:16 10307444 /usr/lib/libsandbox.so 4004e000-4004f000 ---p 0000e000 08:16 10307444 /usr/lib/libsandbox.so 4004f000-40050000 r--p 0000e000 08:16 10307444 /usr/lib/libsandbox.so 40050000-40051000 rw-p 0000f000 08:16 10307444 /usr/lib/libsandbox.so 40051000-40053000 rw-p 00000000 00:00 0 40053000-40067000 r-xp 00000000 08:16 48316692 /usr/lib/libmpc.so.2.0.0 40067000-40068000 r--p 00013000 08:16 48316692 /usr/lib/libmpc.so.2.0.0 40068000-40069000 rw-p 00014000 08:16 48316692 /usr/lib/libmpc.so.2.0.0 40069000-400b3000 r-xp 00000000 08:16 13616222 /usr/lib/libmpfr.so.1.2.2 400b3000-400b4000 r--p 00049000 08:16 13616222 /usr/lib/libmpfr.so.1.2.2 400b4000-400b5000 rw-p 0004a000 08:16 13616222 /usr/lib/libmpfr.so.1.2.2 400b5000-400b6000 rw-p 00000000 00:00 0 400b6000-40101000 r-xp 00000000 08:16 16696812 /usr/lib/libgmp.so.3.5.2 40101000-40102000 r--p 0004a000 08:16 16696812 /usr/lib/libgmp.so.3.5.2 40102000-40103000 rw-p 0004b000 08:16 16696812 /usr/lib/libgmp.so.3.5.2 40103000-40105000 r-xp 00000000 08:16 23860782 /lib/libdl-2.11.2.so 40105000-40106000 r--p 00001000 08:16 23860782 /lib/libdl-2.11.2.so 40106000-40107000 rw-p 00002000 08:16 23860782 /lib/libdl-2.11.2.so 40107000-40118000 r-xp 00000000 08:16 3621244 /lib/libz.so.1.2.3 40118000-40119000 r--p 00010000 08:16 3621244 /lib/libz.so.1.2.3 40119000-4011a000 rw-p 00011000 08:16 3621244 /lib/libz.so.1.2.3 4011a000-40259000 r-xp 00000000 08:16 23860786 /lib/libc-2.11.2.so 40259000-4025b000 r--p 0013f000 08:16 23860786 /lib/libc-2.11.2.so 4025b000-4025c000 rw-p 00141000 08:16 23860786 /lib/libc-2.11.2.so 4025c000-403ce000 rw-p 00000000 00:00 0 403ce000-403e8000 r-xp 00000000 08:16 9699514 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 403e8000-403e9000 r--p 00019000 08:16 9699514 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 403e9000-403ea000 rw-p 0001a000 08:16 9699514 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 40400000-40421000 rw-p 00000000 00:00 0 40421000-40500000 ---p 00000000 00:00 0 bfa28000-bfa4e000 rw-p 00000000 00:00 0 [stack] configure: error: in `/var/tmp/portage/sys-devel/gcc-4.6.0/work/build/i686-pc-linux-gnu/libgcc': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage3-target-libgcc] Error 1 Expected Results: Successful compilation. Gcc-4.6.0 ebuild version: 1.2 # $Header: /var/cvsroot/gentoo-x86/sys-devel/gcc/gcc-4.6.0.ebuild,v 1.2 2011/04/04 00:56:31 dirtyepic Exp $
Created attachment 269447 [details] Full build log
Created attachment 269449 [details] emerge --info
turn off ccache and try again
(In reply to comment #3) > turn off ccache and try again Tried with FEATURES="-ccache" -- the result is the same.
checking whether ln -s works... yes checking for i686-pc-linux-gnu-gcc... /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4. 6.0/work/build/./gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -isystem / usr/i686-pc-linux-gnu/sys-include checking for suffix of object files... configure: error: in `/var/tmp/portage/sys-devel/gcc-4.6.0/work/build/i686-pc-linux-gnu/libgc c': configure: error: cannot compute suffix of object files: cannot compile See `config.log' for more details. make[2]: *** [configure-stage3-target-libgcc] Error 1 make[2]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.0/work/build' make[1]: *** [stage3-bubble] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-devel/gcc-4.6.0/work/build' make: *** [bootstrap-lean] Error 2 emake failed Please attach the mentioned <config.log>. Also, I cannot find the output in the Description anywhere in the attached build log.
Created attachment 269693 [details] build/i686-pc-linux-gnu/libgcc/config.log
what if you use a vanilla kernel ? or use CFLAGS=-O2 ? or upgrade your gcc to 4.4.5 first and then try emerging 4.6.0 ?
(In reply to comment #7) > what if you use a vanilla kernel ? or use CFLAGS=-O2 ? or upgrade your gcc to > 4.4.5 first and then try emerging 4.6.0 ? The same behavior with gcc-4.4.5. Other kernel/cflags not tested yet.
Same symptom here. The produced gcc 4.6.0 crashes during ./configure on the follow-up "libgcc", while compiling this little test program: ------------------------------------------------ /* confdefs.h */ #define PACKAGE_NAME "GNU C Runtime Library" #define PACKAGE_TARNAME "libgcc" #define PACKAGE_VERSION "1.0" #define PACKAGE_STRING "GNU C Runtime Library 1.0" #define PACKAGE_BUGREPORT "" #define PACKAGE_URL "http://www.gnu.org/software/libgcc/" /* end confdefs.h. */ int main () { ; return 0; } --------------------------------------------------- Manual call, using default compiler flags: foobar libgcc # /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/xgcc -B/var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/ -c conftest.c *** glibc detected *** /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1: free(): invalid pointer: 0xb76d8728 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6b6d1)[0xb76006d1] /lib/libc.so.6(+0x6cf38)[0xb7601f38] /lib/libc.so.6(cfree+0x6d)[0xb760503d] /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1(empty_alloc_pool+0x24)[0x814a794] ======= Memory map: ======== 08048000-089ab000 r-xp 00000000 fe:01 5204431 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089ac000-089ad000 r--p 00963000 fe:01 5204431 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089ad000-089b4000 rw-p 00964000 fe:01 5204431 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 089b4000-08af7000 rw-p 00000000 00:00 0 [heap] b7300000-b7321000 rw-p 00000000 00:00 0 b7321000-b7400000 ---p 00000000 00:00 0 b7468000-b7484000 r-xp 00000000 fe:01 4672220 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1 b7484000-b7485000 r--p 0001c000 fe:01 4672220 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1 b7485000-b7486000 rw-p 0001d000 fe:01 4672220 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libgcc_s.so.1 b748c000-b7595000 rw-p 00000000 00:00 0 b7595000-b76d5000 r-xp 00000000 fe:01 5179803 /lib/libc-2.11.3.so b76d5000-b76d7000 r--p 00140000 fe:01 5179803 /lib/libc-2.11.3.so b76d7000-b76d8000 rw-p 00142000 fe:01 5179803 /lib/libc-2.11.3.so b76d8000-b76db000 rw-p 00000000 00:00 0 b76db000-b76ee000 r-xp 00000000 fe:01 4555265 /lib/libz.so.1.2.5 b76ee000-b76ef000 r--p 00012000 fe:01 4555265 /lib/libz.so.1.2.5 b76ef000-b76f0000 rw-p 00013000 fe:01 4555265 /lib/libz.so.1.2.5 b76f0000-b76f1000 rw-p 00000000 00:00 0 b76f1000-b76f3000 r-xp 00000000 fe:01 5180072 /lib/libdl-2.11.3.so b76f3000-b76f4000 r--p 00001000 fe:01 5180072 /lib/libdl-2.11.3.so b76f4000-b76f5000 rw-p 00002000 fe:01 5180072 /lib/libdl-2.11.3.so b76f5000-b7740000 r-xp 00000000 fe:01 5448560 /usr/lib/libgmp.so.3.5.2 b7740000-b7741000 r--p 0004a000 fe:01 5448560 /usr/lib/libgmp.so.3.5.2 b7741000-b7742000 rw-p 0004b000 fe:01 5448560 /usr/lib/libgmp.so.3.5.2 b7742000-b7792000 r-xp 00000000 fe:01 5234998 /usr/lib/libmpfr.so.4.0.0 b7792000-b7793000 r--p 0004f000 fe:01 5234998 /usr/lib/libmpfr.so.4.0.0 b7793000-b7794000 rw-p 00050000 fe:01 5234998 /usr/lib/libmpfr.so.4.0.0 b7794000-b77a6000 r-xp 00000000 fe:01 5243239 /usr/lib/libmpc.so.2.0.0 b77a6000-b77a7000 r--p 00011000 fe:01 5243239 /usr/lib/libmpc.so.2.0.0 b77a7000-b77a8000 rw-p 00012000 fe:01 5243239 /usr/lib/libmpc.so.2.0.0 b77a8000-b77af000 rw-p 00000000 00:00 0 b77af000-b77b0000 r-xp 00000000 00:00 0 [vdso] b77b0000-b77cc000 r-xp 00000000 fe:01 5180050 /lib/ld-2.11.3.so b77cc000-b77cd000 r--p 0001b000 fe:01 5180050 /lib/ld-2.11.3.so b77cd000-b77ce000 rw-p 0001c000 fe:01 5180050 /lib/ld-2.11.3.so bfe20000-bfe41000 rw-p 00000000 00:00 0 [stack] conftest.c: In function 'main': conftest.c:11:1: internal compiler error: Aborted Please submit a full bug report, with preprocessed source if appropriate. See <http://bugs.gentoo.org/> for instructions.
post your emerge --info too
Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.5, glibc-2.11.3-r0, 2.6.38-gentoo-r1 i686) ================================================================= System uname: Linux-2.6.38-gentoo-r1-i686-QEMU_Virtual_CPU_version_0.12.5-with-gentoo-1.12.14 Timestamp of tree: Sat, 09 Apr 2011 08:30:01 +0000 app-shells/bash: 4.1_p9 dev-lang/python: 2.4.4-r6, 2.5.4-r3, 2.6.6-r2, 3.1.3-r1 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 1.12.14-r1 sys-apps/sandbox: 2.4 sys-devel/autoconf: 2.65-r1 sys-devel/automake: 1.9.6-r2, 1.10.2, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.5 sys-devel/gcc-config: 1.5-r1 sys-devel/libtool: 2.2.10 sys-devel/make: 3.81-r2 virtual/os-headers: 2.6.36.1 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" FFLAGS="" GENTOO_MIRRORS="ftp://ftp.uni-erlangen.de/pub/mirrors/gentoo" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap mysql ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="cgi cgid actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
>>> Jobs: 3 of 4 complete, 1 running Load avg: 3.89, 3.86, 2.73*** glibc detected *** /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1: double free or corruption (out): 0x5e2be6a0 *** ======= Backtrace: ========= /lib/libc.so.6(+0x6b931)[0x5e1e5931] /lib/libc.so.6(+0x6d198)[0x5e1e7198] /lib/libc.so.6(cfree+0x6d)[0x5e1ea29d] /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/./gcc/cc1(empty_alloc_pool+0x2c)[0x815844c] ======= Memory map: ======== 08048000-08a7d000 r-xp 00000000 08:15 276939 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 08a7d000-08a7f000 r--p 00a34000 08:15 276939 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 08a7f000-08a85000 rw-p 00a36000 08:15 276939 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/gcc/cc1 08a85000-08bee000 rw-p 00000000 00:00 0 [heap] 5da83000-5da9f000 r-xp 00000000 08:15 786521 /lib/ld-2.11.3.so 5da9f000-5daa0000 r--p 0001b000 08:15 786521 /lib/ld-2.11.3.so 5daa0000-5daa1000 rw-p 0001c000 08:15 786521 /lib/ld-2.11.3.so 5daa1000-5daa2000 r-xp 00000000 00:00 0 [vdso] 5daa2000-5daa7000 rw-p 00000000 00:00 0 5daa7000-5dab7000 r-xp 00000000 08:15 1712964 /usr/lib/libsandbox.so 5dab7000-5dab8000 ---p 00010000 08:15 1712964 /usr/lib/libsandbox.so 5dab8000-5dab9000 r--p 00010000 08:15 1712964 /usr/lib/libsandbox.so 5dab9000-5daba000 rw-p 00011000 08:15 1712964 /usr/lib/libsandbox.so 5daba000-5dabc000 rw-p 00000000 00:00 0 5dabc000-5dadc000 r-xp 00000000 08:15 137324 /usr/lib/libcloog.so.0.0.0 5dadc000-5dadd000 r--p 0001f000 08:15 137324 /usr/lib/libcloog.so.0.0.0 5dadd000-5dade000 rw-p 00020000 08:15 137324 /usr/lib/libcloog.so.0.0.0 5dade000-5dadf000 rw-p 00000000 00:00 0 5dadf000-5df9d000 r-xp 00000000 08:15 143671 /usr/lib/libppl_c.so.4.0.0 5df9d000-5dfa0000 r--p 004bd000 08:15 143671 /usr/lib/libppl_c.so.4.0.0 5dfa0000-5dfa1000 rw-p 004c0000 08:15 143671 /usr/lib/libppl_c.so.4.0.0 5dfa1000-5dfa2000 rw-p 00000000 00:00 0 5dfa2000-5e099000 r-xp 00000000 08:15 143691 /usr/lib/libppl.so.9.0.0 5e099000-5e09b000 r--p 000f6000 08:15 143691 /usr/lib/libppl.so.9.0.0 5e09b000-5e09c000 rw-p 000f8000 08:15 143691 /usr/lib/libppl.so.9.0.0 5e09c000-5e09f000 r-xp 00000000 08:15 1712348 /usr/lib/libgmpxx.so.4.1.2 5e09f000-5e0a0000 r--p 00003000 08:15 1712348 /usr/lib/libgmpxx.so.4.1.2 5e0a0000-5e0a1000 rw-p 00004000 08:15 1712348 /usr/lib/libgmpxx.so.4.1.2 5e0a1000-5e0b5000 r-xp 00000000 08:15 139828 /usr/lib/libmpc.so.2.0.0 5e0b5000-5e0b6000 r--p 00014000 08:15 139828 /usr/lib/libmpc.so.2.0.0 5e0b6000-5e0b7000 rw-p 00015000 08:15 139828 /usr/lib/libmpc.so.2.0.0 5e0b7000-5e10b000 r-xp 00000000 08:15 1706138 /usr/lib/libmpfr.so.4.0.0 5e10b000-5e10c000 r--p 00054000 08:15 1706138 /usr/lib/libmpfr.so.4.0.0 5e10c000-5e10d000 rw-p 00055000 08:15 1706138 /usr/lib/libmpfr.so.4.0.0 5e10d000-5e15d000 r-xp 00000000 08:15 1712398 /usr/lib/libgmp.so.3.5.2 5e15d000-5e15e000 r--p 00050000 08:15 1712398 /usr/lib/libgmp.so.3.5.2 5e15e000-5e15f000 rw-p 00051000 08:15 1712398 /usr/lib/libgmp.so.3.5.2 5e15f000-5e161000 r-xp 00000000 08:15 786462 /lib/libdl-2.11.3.so 5e161000-5e162000 r--p 00001000 08:15 786462 /lib/libdl-2.11.3.so 5e162000-5e163000 rw-p 00002000 08:15 786462 /lib/libdl-2.11.3.so 5e163000-5e164000 rw-p 00000000 00:00 0 5e164000-5e178000 r-xp 00000000 08:15 786586 /lib/libz.so.1.2.5 5e178000-5e179000 r--p 00013000 08:15 786586 /lib/libz.so.1.2.5 5e179000-5e17a000 rw-p 00014000 08:15 786586 /lib/libz.so.1.2.5 5e17a000-5e2bb000 r-xp 00000000 08:15 786579 /lib/libc-2.11.3.so 5e2bb000-5e2bd000 r--p 00141000 08:15 786579 /lib/libc-2.11.3.so 5e2bd000-5e2be000 rw-p 00143000 08:15 786579 /lib/libc-2.11.3.so 5e2be000-5e2c1000 rw-p 00000000 00:00 0 5e2c1000-5e3c0000 r-xp 00000000 08:15 1712039 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6.0.13 5e3c0000-5e3c5000 r--p 000fe000 08:15 1712039 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6.0.13 5e3c5000-5e3c6000 rw-p 00103000 08:15 1712039 /usr/lib/gcc/i686-pc-linux-gnu/4.4.5/libstdc++.so.6.0.13 5e3c6000-5e3cc000 rw-p 00000000 00:00 0 5e3cc000-5e3f0000 r-xp 00000000 08:15 786592 /lib/libm-2.11.3.so 5e3f0000-5e3f1000 r--p 00023000 08:15 786592 /lib/libm-2.11.3.so 5e3f1000-5e3f2000 rw-p 00024000 08:15 786592 /lib/libm-2.11.3.so 5e3f2000-5e40d000 r-xp 00000000 08:15 275964 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 5e40d000-5e40e000 r--p 0001a000 08:15 275964 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 5e40e000-5e40f000 rw-p 0001b000 08:15 275964 /var/tmp/portage/sys-devel/gcc-4.6.0/work/build/prev-gcc/libgcc_s.so.1 5e40f000-5e580000 rw-p 00000000 00:00 0 5e600000-5e621000 rw-p 00000000 00:00 0 5e621000-5e700000 ---p 00000000 00:00 0 f8ecd000-f8ef4000 rw-p 00000000 00:00 0 [stack]
but after switch to 4.5.2 & upgrade glibc & emerge -uDN @world got 4.6.0 ________________________________________________________________________ Portage 2.2.0_alpha29 (hardened/linux/x86, gcc-4.6.0, glibc-2.13-r2, 2.6.38-hardened i686) ================================================================= System uname: Linux-2.6.38-hardened-i686-AMD_Phenom-tm-_II_X4_925_Processor-with-gentoo-2.0.2 Timestamp of tree: Wed, 13 Apr 2011 17:15:01 +0000 app-shells/bash: 4.2_p8 dev-lang/python: 2.6.6-r2, 3.1.3-r1 sys-apps/baselayout: 2.0.2 sys-apps/openrc: 0.8.1 sys-apps/sandbox: 2.5 sys-devel/autoconf: 2.68 sys-devel/automake: 1.11.1-r1 sys-devel/binutils: 2.21 sys-devel/gcc: 4.4.5, 4.5.2, 4.6.0::hardened-dev sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.4-r1 sys-devel/make: 3.82 virtual/os-headers: 2.6.38 (sys-kernel/linux-headers) Repositories: gentoo location: /usr/portage sync: rsync://portage.org.ua/gentoo-portage priority: -1000 sunrise location: /var/lib/layman/sunrise masters: gentoo priority: 0 hardened-dev location: /var/lib/layman/hardened-development masters: gentoo priority: 1 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 2 taaroa location: /var/lib/layman/taaroa masters: gentoo priority: 3 Installed sets: ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA" ACCEPT_PROPERTIES="*" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ARCH="x86" AUTOCLEAN="yes" CAMERAS="ptp2" CBUILD="i686-pc-linux-gnu" CCACHE_DIR="/var/tmp/ccache" CCACHE_SIZE="3G" CFLAGS="-march=native -O2 -pipe -msse4a -mfpmath=sse -g0 -Wno-all" CHOST="i686-pc-linux-gnu" CLEAN_DELAY="7" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" COLLISION_IGNORE="/lib/modules" CONFIG_PROTECT="/etc /usr/share/openvpn/easy-rsa" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/skel /etc/terminfo" CUSTOM_PROFILE="yes" CVS_RSH="ssh" CXXFLAGS="-march=native -O2 -pipe -msse4a -mfpmath=sse -g0 -Wno-all" DISPLAY=":0" DISTDIR="/usr/portage/distfiles" EDITOR="/bin/nano" ELIBC="glibc" EMERGE_DEFAULT_OPTS="--ask --ask-enter-invalid --backtrack=40 --binpkg-respect-use=y --complete-graph --jobs 3 --keep-going --quiet-build --tree --unordered-display --verbose --with-bdeps=y" EMERGE_WARNING_DELAY="10" EPREFIX="" EROOT="/" FCFLAGS="" FEATURES="assume-digests binpkg-logs buildpkg collision-protect distlocks fixlafiles fixpackages metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox severe sfperms strict suidctl unknown-features-warn unmerge-logs unmerge-orphans userfetch usersandbox usersync" FETCHCOMMAND="/usr/bin/wget -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" FETCHCOMMAND_SFTP="bash -c "x=\${2#sftp://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec sftp -P \${port} \"\${host}:/\${x#*/}\" \"\$1\"" sftp "${DISTDIR}/${FILE}" "${URI}"" FETCHCOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" FFLAGS="" GCC_SPECS="" GDK_USE_XFT="1" GDM_LANG="ru_RU.UTF-8" GENTOO_MIRRORS="http://ftp.kspu.ru/gentoo-distfiles/ http://mirror.yandex.ru/gentoo-distfiles/ http://mirror.opteamax.de/gentoo/distfiles/" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" GSETTINGS_BACKEND="gconf" GUILE_LOAD_PATH="/usr/share/guile/1.8" HG="/usr/bin/hg" HOME="/root" INFOPATH="/usr/share/info:/usr/share/binutils-data/i686-pc-linux-gnu/2.21/info:/usr/share/gcc-data/i686-pc-linux-gnu/4.6.0/info" INPUT_DEVICES="evdev keyboard mouse" I_PROMISE_TO_SUPPLY_PATCHES_WITH_BUGS="1" KERNEL="linux" LANG="en_US.UTF-8" LANGUAGE="ru_RU.UTF-8" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LC_ALL="" LDFLAGS="-Wl,--as-needed -Wl,-O1 -Wl,--sort-common -Wl,--warn-once -Wl,--hash-style=gnu" LESS="-R -M --shift 5" LESSOPEN="|lesspipe.sh %s" LINGUAS="ru" LOCAL_LAYMAN="/usr/local/portage/layman" LOGNAME="root" MAIL="/var/mail/root" MAKEOPTS="-s -j5 -l5" MANPATH="/usr/local/share/man:/usr/share/man:/usr/share/binutils-data/i686-pc-linux-gnu/2.21/man:/usr/share/gcc-data/i686-pc-linux-gnu/4.6.0/man" NETBEANS="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" NGINX_MODULES_HTTP="access addition auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached perl proxy random_index referer rewrite scgi split_clients ssi secure_link stub_status sub upstream_ip_hash userid uwsgi" NGINX_MODULES_MAIL="imap" OLDPWD="/" OPENGL_PROFILE="xorg-x11" PAGER="/usr/bin/less" PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.6.0" PHP_TARGETS="php5-3" PKGDIR="/usr/portage/pkg" PORTAGE_ARCHLIST="ppc sparc64-freebsd ppc-openbsd x86-openbsd ppc64 x86-winnt x86-fbsd ppc-aix alpha arm x86-freebsd s390 amd64 arm-linux x86-macos x64-openbsd ia64-hpux hppa x86-netbsd x86-cygwin amd64-linux ia64-linux x86 sparc-solaris x64-freebsd sparc64-solaris x86-linux x64-macos sparc m68k-mint ia64 mips ppc-macos x86-interix hppa-hpux amd64-fbsd x64-solaris mips-irix m68k sh x86-solaris sparc-fbsd" PORTAGE_BINHOST_CHUNKSIZE="3000" PORTAGE_BIN_PATH="/usr/lib/portage/bin" PORTAGE_COMPRESS_EXCLUDE_SUFFIXES="css gif htm[l]? jp[e]?g js pdf png" PORTAGE_CONFIGROOT="/" PORTAGE_DEBUG="0" PORTAGE_DEPCACHEDIR="/var/cache/edb/dep" PORTAGE_ECLASS_WARNING_ENABLE="1" PORTAGE_ELOG_CLASSES="warn error info log qa" PORTAGE_ELOG_MAILFROM="portage@localhost" PORTAGE_ELOG_MAILSUBJECT="[portage] ebuild log for ${PACKAGE} on ${HOST}" PORTAGE_ELOG_MAILURI="root" PORTAGE_ELOG_SYSTEM="echo save" PORTAGE_FETCH_CHECKSUM_TRY_MIRRORS="5" PORTAGE_FETCH_RESUME_MIN_SIZE="350K" PORTAGE_GID="250" PORTAGE_INST_GID="0" PORTAGE_INST_UID="0" PORTAGE_IONICE_COMMAND="ionice -c 3 -p ${PID}" PORTAGE_NICENESS="10" PORTAGE_PATCHDIR="/etc/portage/patches" PORTAGE_PYM_PATH="/usr/lib/portage/pym" PORTAGE_QUIET="1" PORTAGE_RSYNC_EXTRA_OPTS="-6" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_RSYNC_RETRIES="-1" PORTAGE_SANDBOX_COMPAT_LEVEL="22" PORTAGE_SYNC_STALE="30" PORTAGE_TMPDIR="/var/tmp" PORTAGE_VERBOSE="1" PORTAGE_WORKDIR_MODE="0700" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/hardened-development /var/lib/layman/zugaina /var/lib/layman/taaroa" PORT_LOGDIR="/var/lib/portage/logs" PRELINK_PATH_MASK="/usr/lib64/libfreebl3.so:/usr/lib64/libnssdbm3.so:/usr/lib64/libsoftokn3.so" PROFILE_ONLY_VARIABLES="ARCH ELIBC KERNEL USERLAND" PWD="/" PYTHONDONTWRITEBYTECODE="1" RESUMECOMMAND="/usr/bin/wget -c -t 3 -T 60 --passive-ftp -O "${DISTDIR}/${FILE}" "${URI}"" RESUMECOMMAND_RSYNC="rsync -avP "${URI}" "${DISTDIR}/${FILE}"" RESUMECOMMAND_SSH="bash -c "x=\${2#ssh://} ; host=\${x%%/*} ; port=\${host##*:} ; host=\${host%:*} ; [[ \${host} = \${port} ]] && port=22 ; exec rsync --rsh=\"ssh -p\${port}\" -avP \"\${host}:/\${x#*/}\" \"\$1\"" rsync "${DISTDIR}/${FILE}" "${URI}"" ROOT="/" ROOTPATH="/opt/bin:/usr/i686-pc-linux-gnu/gcc-bin/4.6.0" RPMDIR="/usr/portage/rpm" RUBY_TARGETS="ruby18" SHELL="/bin/zsh" SHLVL="2" STAGE1_USE="hardened nptl nptlonly pic" STY="5605.pts-0.taaroa" SUDO_COMMAND="/usr/bin/screen" SUDO_GID="1005" SUDO_UID="1000" SUDO_USER="ra" SYNC="rsync://portage.org.ua/gentoo-portage" SYSFONT="ter-u20n" TERM="screen" USE="X acl alsa berkdb bzip2 caps cleartype cli cracklib crypt cxx directfb dlv dri drm fbcon fbdev gallium gdbm gmp gpm hardened iconv idn ipv6 lzma mmx mmxext modules mudflap ncurses nls nouveau nptl nptlonly nsec3 opengl openmp pam pcre perl pic pppd readline session smp sse sse2 sse3 sse4 ssl sysfs tcpd threads truetype unicode urandom x86 xattr xorg zlib zsh-completion" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="ru" NGINX_MODULES_HTTP="access addition auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_req limit_zone map memcached perl proxy random_index referer rewrite scgi split_clients ssi secure_link stub_status sub upstream_ip_hash userid uwsgi" NGINX_MODULES_MAIL="imap" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nouveau" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip gradm iface ipmark ipp2p ipset ipv4options length2 logmark lscan pknock psd quota2 rawnat steal tarpit tee" USER="root" USERLAND="GNU" USERNAME="root" USE_EXPAND="ALSA_CARDS ALSA_PCM_PLUGINS APACHE2_MODULES APACHE2_MPMS CAMERAS COLLECTD_PLUGINS CROSSCOMPILE_OPTS DRACUT_MODULES DVB_CARDS ELIBC FCDSL_CARDS FOO2ZJS_DEVICES FRITZCAPI_CARDS GPSD_PROTOCOLS INPUT_DEVICES KERNEL LCD_DEVICES LINGUAS LIRC_DEVICES MISDN_CARDS NETBEANS_MODULES NGINX_MODULES_HTTP NGINX_MODULES_MAIL PHP_TARGETS QEMU_SOFTMMU_TARGETS QEMU_USER_TARGETS RUBY_TARGETS SANE_BACKENDS USERLAND VIDEO_CARDS XFCE_PLUGINS XTABLES_ADDONS" USE_EXPAND_HIDDEN="CROSSCOMPILE_OPTS ELIBC KERNEL USERLAND" USE_ORDER="env:pkg:conf:defaults:pkginternal:env.d" VIDEO_CARDS="nouveau" WINDOW="0" XAUTHORITY="/home/ra/.Xauthority" XDG_CONFIG_DIRS="/etc/xdg" XDG_DATA_DIRS="/usr/local/share:/usr/share:/usr/share/gdm" XTABLES_ADDONS="account chaos condition delude dhcpmac fuzzy geoip gradm iface ipmark ipp2p ipset ipv4options length2 logmark lscan pknock psd quota2 rawnat steal tarpit tee" _="/usr/bin/emerge"
It seems like glibc-2.11 causes all kinds of trouble with gcc-4.6. I don't suppose anyone wants to try 2.12? Note that you can't downgrade glibc after you install it.
(In reply to comment #14) > It seems like glibc-2.11 causes all kinds of trouble with gcc-4.6. I don't > suppose anyone wants to try 2.12? Note that you can't downgrade glibc after > you install it. I've upgraded to linux-headers-2.6.36.1 (from 2.6.32) and glibc-2.12.2 (from 2.11.2-r3) and now gcc-4.6.0 compiles smoothly. So the bug must really be caused by =glibc-2.11*.
Confirmed, upgrading to glibc 2.12+ fixes the problem.
lovely, another circular dep loop between gcc/glibc that we probably cant do anything about ...
Dropping the FORTIFY_SOURCE line from gcc/gcc.c after src_unpack (as in bug#362315) does help here even with glibc-2.10: Portage 2.1.9.25 (hardened/linux/x86, gcc-4.3.4, glibc-2.10.1-r1, 2.6.32-hardened-r22 i686) ================================================================= System uname: Linux-2.6.32-hardened-r22-i686-Intel-R-_Xeon-R-_CPU_E5530_@_2.40GHz-with-gentoo-1.12.13 Timestamp of tree: Fri, 29 Apr 2011 07:15:01 +0000 app-shells/bash: 4.0_p35 dev-lang/python: 2.6.4 sys-apps/baselayout: 1.12.13 sys-apps/sandbox: 1.6-r2 sys-devel/autoconf: 2.63-r1 sys-devel/automake: 1.9.6-r2, 1.10.2 sys-devel/binutils: 2.18-r3 sys-devel/gcc: 4.3.4, 4.6.0 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.6b sys-devel/make: 3.81 sys-kernel/linux-headers: 2.6.27-r2 sys-libs/glibc: 2.10.1-r1 virtual/os-headers: 2.6.27-r2 (sys-kernel/linux-headers) ACCEPT_KEYWORDS="x86" ACCEPT_LICENSE="* -@EULA" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=i686 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -march=i686 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://gentoo.inode.at http://gentoo.ynet.sk/pub ftp://gentoo.inf.elte.hu" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j16" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/gentoo-x86" SYNC="rsync://rsync.at.gentoo.org/gentoo-portage" USE="acl bash-completion berkdb bzip2 cgi cli cracklib crypt cups curl cvs cxx dri gdbm gpm hardened iconv jpeg modules mudflap ncurses nptl nptlonly openmp pam pcre perl pic png pppd python readline session ssl subversion sysfs tcpd threads unicode urandom webdav x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 intel mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa via vmware nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
i guess for the sake of upgraders, we could add 10_all_default-fortify-source.patch to the epatch exclude and ewarn when the how glibc is <glibc-2.12.
I'd like to see someone test the patch I linked to in https://bugs.gentoo.org/show_bug.cgi?id=362315#c21 and see if it doesn't fix at least one of these issues.
*** This bug has been marked as a duplicate of bug 362315 ***