Summary: | gcc-3.4.4 "Bootstrap comparison failure!" | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Daniel Black (RETIRED) <dragonheart> |
Component: | [OLD] Development | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | ||
Priority: | High | ||
Version: | 2005.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Daniel Black (RETIRED)
2005-06-07 07:48:08 UTC
Try 3.4.2 or merge gcc with -fno-stack-protector. Merging with -fno should still yield a hardened compiler. Just not one built with all hardened features enabled which is not really a big deal as gcc itself is rarely if every used as an attack vector. There appears to be a bug due to recent eclass/ebuild changes that break the toolchain for some of us. And sad to say but I'm really lacking the free time to directly investigate what has gone wrong in the ebuild process so any help investigating on this front would be greatly appreciated. with -fno-stack-protector libgcc/./_fixunsdfdi.o ( ` if [ -f ./nm ] ; then echo ./nm ; elif [ -f /var/tmp/portage/gcc-3.4.4/work/build/gcc/../binutils/nm-new ] ; then echo /var/tm p/portage/gcc-3.4.4/work/build/gcc/../binutils/nm-new ; else if [ "i686-pc-linux-gnu" = "i686-pc-linux-gnu" ] ; then echo nm; else t='s,y,y,'; echo nm | sed -e ; fi; fi` -pg libgcc/./_fixunsdfdi.o | gawk 'NF == 3 && $2 !~ /^[UN]$/ { print "\t.hidden", $3 }'; cat libgcc//stacknote.s ) | ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686- pc-linux-gnu/sys-include -L/var/tmp/portage/gcc-3.4.4/work/build/gcc/../ld -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prot otypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D __GCC_FLOAT_NOT_NEEDED -D_LIBC_PROVIDES_SSP_ -r -nostdinc -nostdlib -o libgcc/./_fixunsdfdi.oS libgcc/./_fixunsdfdi.o -xassemble r - Inconsistency detected by ld.so: rtld.c: 1075: dl_main: Assertion `_rtld_local._dl_rtld_map.l_libname' failed! make[3]: *** [libgcc/./_fixunsdfdi.oS] Error 127 make[3]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc' make[2]: *** [libgcc.a] Error 2 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4/work/build/gcc' make: *** [bootstrap-lean] Error 2 !!! ERROR: sys-devel/gcc-3.4.4 failed. !!! Function gcc_do_make, Line 1204, Exitcode 2 !!! emake failed with bootstrap-lean !!! If you need support, post the topmost build error, NOT this status message. will try again later. |