emerge --info Portage 2.1 (default-linux/amd64/2006.0/no-multilib, gcc-4.1.1, glibc-2.4-r3, 2. 6.15-gentoo-r5 x86_64) ================================================================= 800+ ccache version 2.3 [enabled] dev-lang/python: 2.4.2 dev-python/pycrypto: 2.0.1-r5 sys-apps/sandbox: 1.2.17 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/gcc-config: 1.3.13-r2 CBUILD="x86_64-pc-linux-gnu" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-march=k8 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig buildpkg ccache confcache distlocks metadata-transfer paral lel-fetch sandbox sfperms strict" GENTOO_MIRRORS="ftp://ftp.ecc.u-tokyo.ac.jp/GENTOO http://gentoo.gg3.net/ ftp:// gg3.net/pub/linux/gentoo/" 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='/d istfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 acpi apache2 bzip2 cjk cli crypt dbx dri fam fortran ftp glibc-omitfp isdnlog ithreads lm_sensors logrotate mysql mysqli ncurses nls nptl nptlonly pa m pcre perl posix pppd python readline reflection session sharedext simplexml sn mp sockets spl sqlite ssl symlink tcpd threads tokenizer unicode verbose xml xml rpc xorg zlib elibc_glibc kernel_linux userland_GNU" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGU AS, PORTAGE_RSYNC_EXTRA_OPTS Error Message emerge mdadm Calculating dependencies... done! >>> checking ebuild checksums ;-) >>> checking miscfile checksums ;-) >>> checking mdadm-1.12.0.tar.bz2 ;-) >>> Unpacking source... >>> Unpacking mdadm-1.12.0.tar.bz2 to /var/tmp/portage/mdadm-1.12.0/work * Applying mdadm-1.9.0-dont-make-man.patch ... [ ok ] >>> Compiling source in /var/tmp/portage/mdadm-1.12.0/work/mdadm-1.12.0 ... O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o mda dm.o mdadm.c O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o con gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -march=k8 - O2 -pipe -fomit-frame-pointer -DSendmail=\""/usr/sbin/sendmail -t"\" -c -o mds gcc -Wall -Werror -Wstrict-prototypes -DCONFFILE=\"/etc/mdadm.conf\" -march=k8 - dMe.o ReadMe.c cc1: warnings being treated as errors mdstat.c:161: warning: dereferencing type-punned pointer will break strict-alias mdstat.c:161: warning: dereferencing type-punned pointer will break strict-alias ing rules make: *** Waiting for unfinished jobs.... config.c: In function 'free_line': config.c:192: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c:192: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c: In function 'devline': config.c:245: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c:245: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c:279: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c:279: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c: In function 'mailline': config.c:384: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c:384: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c: In function 'programline': config.c:399: warning: dereferencing type-punned pointer will break strict-alias ing rules config.c:399: warning: dereferencing type-punned pointer will break strict-alias ing rules make: *** [config.o] Error 1 !!! ERROR: sys-fs/mdadm-1.12.0 failed. Call stack: ebuild.sh, line 1539: Called dyn_compile ebuild.sh, line 939: Called src_compile mdadm-1.12.0.ebuild, line 32: Called die !!! emake failed !!! If you need support, post the topmost build error, and the call stack if rel evant.
I can confirm same error here
Sorry for duplicate bug BTW it compiles with mdadm 2.5 and gcc 4.1.1
Expecting stable versions to compile w/ latest unstable gcc does not match reality pretty often. *** This bug has been marked as a duplicate of 136064 ***