gcc ../sysdeps/generic/libc-start.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=pentium2 -pipe -mpreferred-stack-boundary=4 -fPIC -I../nptl -I../include -I. -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu -I.. -I../libio -I../nptl -I/var/tmp/portage/glibc-2.3.4.20040808-r1/work/build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -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 -nostdinc -isystem /usr/lib/gcc/i686-pc-linux-gnu/3.4.0/include -isystem //usr/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DPIC -DSHARED -DHAVE_INITFINI -o /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/libc-start.os -MD -MP -MF /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/libc-start.os.dt -MT /var/tmp/portage/glibc-2.3.4.20040808-r1/work/build/csu/libc-start.os ../sysdeps/generic/libc-start.c: In function `__libc_start_main': ../sysdeps/generic/libc-start.c:192: warning: implicit declaration of function `__guard_setup' ../sysdeps/generic/libc-start.c: At top level: ../sysdeps/generic/libc-start.c:244: internal compiler error: Aborted Reproducible: Always Steps to Reproduce: 1. 2. 3. gcc --version: gcc (GCC) 3.4.0 (Gentoo Linux 3.4.0, pie-8.5.3) Copyright (C) 2004 Free Software Foundation, Inc. emerge info: Portage 2.0.51_rc9 (default-x86-1.4, gcc-3.4.0, glibc-2.3.3.20040420-r2, 2.6.8-win4lin i686) ================================================================= System uname: 2.6.8-win4lin i686 Celeron (Mendocino) Gentoo Base System version 1.4.3.13 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux26-headers-2.6.8.1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -DNDEBUG -march=pentium2 -funroll-loops -fpeel-loops -funswitch-loops -fweb -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" 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/env.d" CXXFLAGS="-O3 -DNDEBUG -march=pentium2 -funroll-loops -fpeel-loops -funswitch-loops -fweb -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs distlocks sandbox" GENTOO_MIRRORS="ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://194.149.10.102/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X aalib alsa apm avi berkdb bitmap-fonts cdr crypt cups directfb doc dvd encode esd evo f77 flac foomaticdb gdbm gif gnome gpm gtk gtk2 imlib jpeg libg++ libwww mad mikmod mmx motif mozilla mpeg ncurses network nls nptl oggvorbis opengl oss pam pdflib perl png postgres python qt quicktime readline sdl slang spell ssl svga tcltk tcpd truetype unicode x86 xml2 xmms xprint xv zlib"
Upgrading to gcc 3.4.2 solved the problem. (gcc (GCC) 3.4.2 (Gentoo Linux 3.4.2-r2, ssp-3.4.1-1, pie-8.7.6.5))