Building glibc-2.7 fails on my hardened system (2.6.23-hardened-r1 #1 SMP i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ AuthenticAMD GNU/Linux). See below for exact error message. Reproducible: Always Steps to Reproduce: emerge -DNu sys-libs/glibc Actual Results: make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/warning-nop.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7/debug' make[1]: *** [debug/subdir_lib] Error 2 make[1]: Leaving directory `/var/tmp/portage/sys-libs/glibc-2.7/work/glibc-2.7' make: *** [all] Error 2 * * ERROR: sys-libs/glibc-2.7 failed. * Call stack: * ebuild.sh, line 1701: Called dyn_compile * ebuild.sh, line 1039: Called qa_call 'src_compile' * ebuild.sh, line 44: Called src_compile * glibc-2.7.ebuild, line 156: Called eblit-run 'src_compile' * glibc-2.7.ebuild, line 151: Called eblit-glibc-src_compile * src_compile.eblit, line 179: Called toolchain-glibc_src_compile * src_compile.eblit, line 122: Called die * The specific snippet of code: * make PARALLELMFLAGS="${MAKEOPTS}" || die "make for ${ABI} failed" * The die message: * make for default failed * * If you need support, post the topmost build error, and the call stack if relevant. * A complete build log is located at '/var/log/portage/sys-libs:glibc-2.7:20071114-205823.log'. * Portage 2.1.3.19 (hardened/x86/2.6, gcc-3.4.6, glibc-2.6.1-r0, 2.6.23-hardened-r1 i686) ================================================================= System uname: 2.6.23-hardened-r1 i686 AMD Athlon(tm) 64 X2 Dual Core Processor 4200+ Timestamp of tree: Wed, 14 Nov 2007 20:30:01 +0000 app-shells/bash: 3.2_p17-r1 dev-lang/python: 2.5.1-r3 sys-apps/baselayout: 1.12.10-r5 sys-apps/sandbox: 1.2.18.1-r2 sys-devel/autoconf: 2.13, 2.61-r1 sys-devel/automake: 1.5, 1.10 sys-devel/binutils: 2.18-r1 sys-devel/gcc-config: 1.4.0-r4 sys-devel/libtool: 1.5.24 virtual/os-headers: 2.6.23-r1 ACCEPT_KEYWORDS="x86 ~x86" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -pipe -march=k8 -fomit-frame-pointer -fforce-addr -ftracer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d" CXXFLAGS="-O2 -pipe -march=k8 -fomit-frame-pointer -fforce-addr -ftracer -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch" GENTOO_MIRRORS="ftp://ftp.mesh-solutions.com/gentoo ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://distfiles.gentoo.org" LANG="en_US.utf8" LC_ALL="en_US.utf8" LDFLAGS="-Wl,-O1" LINGUAS="en" MAKEOPTS="-j3" 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 --filter=H_**/files/digest-*" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="acl berkdb bzip2 caps cgi cli cracklib crypt dlloader erandom expat fam fastcgi ftp gd geoip glibc-omitfp gmp gzip hardened hash iconv idn imap ithreads jpeg libwww logrotate maildir md5sum memlimit mhash mime mmap mysql mysqli ncurses nls no-old-linux nocd nptl nptlonly pam pcre perl pic png posix pwdb python readline sasl sharedmem sockets sse2 ssl symlink sysfs sysvipc tcl tcpd threads tiff truetype ucs2 udev unicode urandom userlocales utf8 x86 xml xml2 xmlrpc xsl 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 mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="apm ark chips cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga neomagic nsc nv r128 radeon rendition s3 s3virge savage siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via vmware voodoo" Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
> * If you need support, post the topmost build error
i686-pc-linux-gnu-gcc warning-nop.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-stack-protector -fno-strict-aliasing -march=k8 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DPIC -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/warning-nop.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/warning-nop.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/warning-nop.o In file included from ../include/bits/string3.h:1, from ../string/string.h:428, from ../include/string.h:49, from warning-nop.c:53: ../string/bits/string3.h:58: error: redefinition of 'memmove' ../string/bits/string3.h:58: error: redefinition of 'memmove' ../string/string.h:59: warning: 'memset' declared inline after being called i686-pc-linux-gnu-gcc stack_chk_fail_local.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-stack-protector -fno-strict-aliasing -march=k8 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2 -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DPIC -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/stack_chk_fail_local.o -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/stack_chk_fail_local.o.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/stack_chk_fail_local.o i686-pc-linux-gnu-gcc ../sysdeps/i386/backtrace.c -c -std=gnu99 -O2 -Wall -Winline -Wwrite-strings -fmerge-all-constants -fno-stack-protector -fno-strict-aliasing -march=k8 -pipe -Wstrict-prototypes -mpreferred-stack-boundary=2 -fPIC -g0 -O99 -fomit-frame-pointer -D__USE_STRING_INLINES -fno-omit-frame-pointer -fexceptions -I../include -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug -I/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../ports/sysdeps/unix/sysv/linux -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../ports/sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv/i386 -I../nptl/sysdeps/unix/sysv -I../ports/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../nptl/sysdeps/unix -I../ports/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I../nptl -I../ports -I.. -I../libio -I. -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.6/include-fixed -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DPIC -DPIC -o /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/backtrace.os -MD -MP -MF /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/backtrace.os.dt -MT /var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/backtrace.os make[2]: *** [/var/tmp/portage/sys-libs/glibc-2.7/work/build-default-i686-pc-linux-gnu-nptl/debug/warning-nop.o] Error 1 make[2]: *** Waiting for unfinished jobs.... ## snip ## The rest has already been described. Hope I got far enough back now in the build log... (if not, I've postet a URL where the whole build log can be viewed)
*** This bug has been marked as a duplicate of bug 196926 ***