I am installing a stage 1 hardened with nptl and gcc 3.4.x and did the things unter "steps to reproduce". Now because i just followed the guides to get nptl and gcc 3.4.x "running" i'm a bit stuck... The strange thing is that the bootstrap seems to compile gcc without problems those two times. I'm sure i did something awfully dumb... but i really wanted those nptl inside the server... (this is a headless server that's only accessible over ssh) If nobody knowes how to fix it i would also take the non-nptl style. But only as a last resort... Reproducible: Always Steps to Reproduce: - i followed the handbook instructions until the chroot, with the following differences: - /etc/make.conf: http://pub.cyberworldz.org/up/make.conf - /etc/portage/package.use contains "sys-libs/glibc userlocales" - /etc/portage/package.keywords contains: sys-devel/gcc ~x86 sys-devel/gcc-config ~x86 sys-libs/libstdc++-v3 ~x86 sys-libs/glibc ~x86 - then i ran teh following commands - env-update - source /etc/profile - emerge --oneshot --nodeps gcc-config - USE="-* build bootstrap" emerge linux-headers - /usr/portage/scripts/bootstrap.sh - /usr/portage/scripts/bootstrap.sh (yes. 2 full times) - emerge -e system (as seen in http://gentoo-wiki.com/HOWTO_Install_Gentoo_-_The_Gentoo_Developers_Method_with_NPTL_and_2.6_from_Stage1#Selecting_a_Locale) (this could be reproduced 2 times by doing a backup before the chroot and after the modification of the make/portage files, and restoring it to go for the second try) Actual Results: These are the last lines of the emerge -e system: gcc -c -DEFAULT_PIE_SSP -DEFAULT_RELRO -DEFAULT_BIND_NOW -O -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/. -I/var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/../include /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/hashtable.c -o hashtable.o /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/hashtable.c: In function `approx_sqrt': /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/gcc/hashtable.c:310: internal compiler error: in try_split, at emit-rtl.c:3343 Please submit a full bug report, with preprocessed source if appropriate. See <URL:http://bugs.gentoo.org/> for instructions. Preprocessed source stored into /var/tmp/portage/gcc-3.4.4-r1/temp/ccnPBTCQ.out file, please attach this to your bugreport. make[2]: *** [hashtable.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make[1]: *** [stage1_build] Error 2 make[1]: Leaving directory `/var/tmp/portage/gcc-3.4.4-r1/work/build/gcc' make: *** [profiledbootstrap] Error 2 !!! ERROR: sys-devel/gcc-3.4.4-r1 failed. !!! Function gcc_do_make, Line 1214, Exitcode 2 !!! emake failed with profiledbootstrap !!! If you need support, post the topmost build error, NOT this status message. Expected Results: compile successfully emerge --info: Portage 2.0.51.22-r2 (hardened/x86/2.6, gcc-3.4.4, glibc-2.3.5-r1, 2.4.27 i686) ================================================================= System uname: 2.4.27 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.6.13 dev-lang/python: 2.3.5 sys-apps/sandbox: 1.2.11 sys-devel/autoconf: [Not Present] sys-devel/automake: [Not Present] sys-devel/binutils: 2.15.92.0.2-r10 sys-devel/libtool: [Not Present] virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -falign-functions=4 -fweb" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe -falign-functions=4 -fweb" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mir.zyrianes.net/gentoo/ http://www.gigaload.org/gentoo.org/" LANG="de_DE.utf8" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage/" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.de.gentoo.org/gentoo-portage" USE="3dnow aalib acl acpi apache2 bash-completion berkdb bzip2 clamav clamd cluster crypt curl curlwrappers dbm dedicated dio dlloader doc examples exif fastcgi fftw flac flash flatfile ftp gd gif hardened hardenedphp idn imagemagick imap inifile innodb ithreads java javascript jikes jpeg junit justify libcaca lm_sensors maildir matroska memlimit milter mime ming mmap mmx mng mysql mysqli nagios-dns nagios-game nagios-ntp nagios-ping nagios-ssh ncurses nhc98 nls nocd nptl ocaml offensive ogg pam pcre pdflib pear perl php pic png posix postgres prelude python qmail readline ruby sdl sensord session sharedmem snmp soap sockets spamassassin spell spl sse ssl subject-rewrite svg tcpd threads tidy tiff tokenizer truetype unicode userlocales utf8 vhosts vim-pager virus-scan vorbis x86 xml2 xsl zip zlib linguas_de userland_GNU kernel_linux elibc_glibc" Unset: ASFLAGS, CTARGET, LC_ALL, LDFLAGS
*** This bug has been marked as a duplicate of 79852 ***