Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34677 - gcc-3.2.3-r3 will not compile on PII x86. emerge -u system exits with compiler error
Summary: gcc-3.2.3-r3 will not compile on PII x86. emerge -u system exits with compile...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Please assign to toolchain
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-11-29 01:19 UTC by Eric Muehlstein
Modified: 2003-11-29 20:41 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Muehlstein 2003-11-29 01:19:37 UTC
I am unable to emerge -u system because sys-devel/gcc-3.2.3-r3 will not 
compile. 

Reproducible: Always
Steps to Reproduce:
1.emerge sync 
2.emerge -u system 
3. 
Actual Results:  
cd /var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc && makeinfo   -I doc -I 
doc/include -o doc/gcc.info doc/gcc.texi 
make[2]: *** [/var/tmp/portage/gcc-3.2.3-r3/work/gcc-3.2.3/gcc/doc/gcc.info] 
Error 132 
make[2]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc' 
make[1]: *** [stage1_build] Error 2 
make[1]: Leaving directory `/var/tmp/portage/gcc-3.2.3-r3/work/build/gcc' 
make: *** [bootstrap-lean] Error 2 
 
!!! ERROR: sys-devel/gcc-3.2.3-r3 failed. 
!!! Function src_compile, Line 406, Exitcode 2 
!!! (no error message) 
 
 


www gcc # emerge info 
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 
2.4.20-gentoo-r6) 
================================================================= 
System uname: 2.4.20-gentoo-r6 i686 Pentium II (Deschutes) 
Gentoo Base System version 1.4.3.10 
ACCEPT_KEYWORDS="x86" 
AUTOCLEAN="yes" 
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" 
CHOST="i686-pc-linux-gnu" 
COMPILER="gcc3" 
CONFIG_PROTECT="/etc /var/qmail/control /usr/share/config /usr/kde/2/share/
config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb" 
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" 
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" 
DISTDIR="/usr/portage/distfiles" 
FEATURES="sandbox ccache autoaddcvs" 
GENTOO_MIRRORS="http://gentoo.seren.com/gentoo ftp://gentoo.noved.org/ http://
gentoo.noved.org/ ftp://ftp.ussg.iu.edu/pub/linux/gentoo" 
MAKEOPTS="-j2" 
PKGDIR="/usr/portage/packages" 
PORTAGE_TMPDIR="/var/tmp" 
PORTDIR="/usr/portage" 
PORTDIR_OVERLAY="" 
SYNC="rsync://rsync.gentoo.org/gentoo-portage" 
USE="x86 oss apm arts avi crypt cups encode foomaticdb gif gtk imlib jpeg kde 
gnome libg++ libwww mad mikmod motif mpeg ncurses nls oggvorbis pdflib png qt 
quicktime sdl slang spell truetype xml2 xmms xv zlib gdbm berkdb readline svga 
java X gpm tcpd pam ssl perl python opengl"
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-29 02:32:12 UTC
mr_bones please assign gcc & glibc bugs to gcc-porting
Comment 2 Andrew Bevitt 2003-11-29 04:35:00 UTC
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe" 

This is a pentium2 system according to the topic and your emerge info
-march=pentium3 kinda will break things on a pentium2...

Clarification needed...
Comment 3 Eric Muehlstein 2003-11-29 15:17:32 UTC
Thanks Andrew... I am infact running a PII - I must have done a careless etc-update.  I've updated my make.conf and will know if gcc compiles sucessfully.
Comment 4 Eric Muehlstein 2003-11-29 20:41:11 UTC
Chalk this one up to user error.

Suggested Workaround:

1) Increase caffeine doseage for late night emerges.
2) Check config files if you have a problem (especially if you're posting them with a bug)
3) Decrease marijuana consumption in the A.M.