when emerging system perl-5.8.6-r1 bail out with the following error (last lines in screen): If you compile perl5 on a different machine or from a different object directory, copy the Policy.sh file from this object directory to the new one before you run Configure -- this will help you with most of the policy defaults. `sh cflags "optimize='-march=k6-3 -O3 -pipe'" miniperlmain.o` -fPIC miniperlmain.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=k6-3 -O3 -pipe -Wall `sh cflags "optimize='-march=k6-3 -O3 -pipe'" perl.o` -fPIC perl.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=k6-3 -O3 -pipe -Wall `sh cflags "optimize='-march=k6-3 -O3 -pipe'" gv.o` -fPIC gv.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=k6-3 -O3 -pipe -Wall `sh cflags "optimize='-march=k6-3 -O3 -pipe'" toke.o` -fPIC toke.c CCCMD = gcc -DPERL_CORE -c -fno-strict-aliasing -pipe -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -march=k6-3 -O3 -pipe -Wall toke.c: In function `Perl_yylex': toke.c:5263: internal compiler error: Segmentation fault 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/perl-5.8.6-r1/temp/ccfFI9xo.out file, please attach this to your bugreport. make: *** [toke.o] Error 1 Reproducible: Always Steps to Reproduce: 1. #emerge -uDa system 2. 3. Actual Results: compile error segfault Expected Results: successful compile # emerge info Portage 2.0.51-r8 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.4.28-gentoo-r1 i586) ================================================================= System uname: 2.4.28-gentoo-r1 i586 AMD-K6(tm) 3D+ Processor Gentoo Base System version 1.6.7 Python: dev-lang/python-2.1.3-r1,dev-lang/python-2.2.3-r5,dev-lang/python-2.3.4 [2.3.4 (#1, Nov 23 2004, 17:12:29)] dev-lang/python: 2.1.3-r1, 2.2.3-r5, 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.8.5-r2, 1.5, 1.4_p6, 1.6.3, 1.7.9, 1.9.3 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.2-r7 virtual/os-headers: 2.4.21, 2.4.22, 2.4.19-r1 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=k6-3 -O3 -pipe" CHOST="i586-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/bind /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=k6-3 -O3 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms" GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo http://gentoo.mirror.icd.hu/ ftp://mir.zyrianes.net/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="aalib apache2 avi berkdb bitmap-fonts crypt encode f77 foomaticdb fortran gd gdbm geoip ggi gif gpm gtk2 imagemagick imap imlib jpeg libg++ libwww mad maildir mpeg mysql ncurses nls pam pdflib perl png python quicktime readline sasl sdl slang spell sqlite ssl tcpd tiff truetype usb vhosts virus-scan wmf x86 xml xml2 zeo zlib"
Created attachment 45418 [details] Preprocessed source the Preprocessed source created by emerge attached. I compacted it with a tarball
I have encountered exactly the same error with gcc 3.4.3 and 3.4.3-r1. Switching back to gcc 3.3.4 solved the problem instantly. I'd advise you to do the same and report your results.
Going back to 3.3.4? never, that's not a solution, that's sweaping the dirt under the carpet :-) Thanks for doing the test though, I think that indicate it's related to 3.4.3 and maybe can help the devs. I will test on an other, completely new bootstrapped box and see if it gives the same result. I figure it "might" have to do with this a 586 box with a K-6 CPU. I havent had 1 segfault on compile before though, during 2 years and I have compiled a lot!
Mass re-assign.
This works for me with the current stable version, 3.4.4. Please test and let me know.