Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 45680

Summary: gcc 3.3.3 crashed
Product: Gentoo Linux Reporter: Frank Hollenbach <Frank>
Component: [OLD] GCC PortingAssignee: Please assign to toolchain <gcc-porting>
Status: RESOLVED FIXED    
Severity: normal CC: sparc
Priority: High    
Version: unspecified   
Hardware: Sparc   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Frank Hollenbach 2004-03-24 23:54:54 UTC
xgcc: Internal error: Illegal instruction (program cc1)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [gtype-desc.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3/work/build/gcc'
make[1]: *** [stage2_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3/work/build/gcc'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.3 failed.
!!! Function src_compile, Line 464, Exitcode 2
!!! (no error message)
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2004-03-25 10:33:14 UTC
Can you give us additional info?
Like "emerge --info" and what hardware you're using.
Or also at which point/file it failed, since it's missing.
gcc internal errors usually point to flaky hardware.
Comment 2 Frank Hollenbach 2004-03-25 15:28:00 UTC
yes, sorry, shure :
its a sparc station 4, an old box.
I modified the make jobs downto one (due to some build errors when using 2 for parallism) and, as the box is used as a webserver, to minimize resource consumption (for me its more important the box will accept web-requests then compiling gcc or whatever a day faster or not).


emerge --info
Portage 2.0.50-r1 (default-sparc-1.4, gcc-3.2.3, glibc-2.3.3_pre20040207-r0, 2.4.23-sparc-r1)
=================================================================
System uname: 2.4.23-sparc-r1 sparc sun4m
Gentoo Base System version 1.4.3.13p1
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="sparc ~sparc"
AUTOCLEAN="yes"
CFLAGS=" -pipe"
CHOST="sparc-unknown-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /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=" -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache"
GENTOO_MIRRORS="http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ ftp://ftp.uninett.no/pub/linux/Gentoo http://gentoo.linux.no/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.mirror.sdv.fr  http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j1"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X arts berkdb crypt cups fbcon foomaticdb gdbm gtk2 imlib jpeg libwww mad mikmod motif mpeg mysql ncurses nls opengl pam perl png python qt readline slang sparc spell ssl tcpd truetype xv zlib"

I will provide a more exactly point where the build of gcc fail, when qt 3.3.1 will be finished on this box, which could take a while on this old slow box, to be honest.
When its finished I will do an emerge of the gcc again. I expect qt could be finished at saturday.

krgds,
Frank
Comment 3 Sven Blumenstein (RETIRED) gentoo-dev 2004-03-30 02:35:24 UTC
Just curious, how much ram and swap in this box?
Comment 4 Frank Hollenbach 2004-03-30 11:50:52 UTC
First, I like to answer the question,
this Box got 96mb Ram and 50MB Swap.
Its just used as a dedicated webserver with php-nuke, thats all and the box performs as you can expect it from an old box like this, good enaugh.
Form time to time I increase the swap upto 256MB by adding a swapfile.
Anyway, why ever,
I reemerged the gcc, and, don't know why, it does as it should do.
It's now build and I use it.
Sorry, sounds like vodoo, I know....
I didn't add the a.m. swapspace.
I just reemerged it to got the error again, but it builds ok.
Comment 5 SpanKY gentoo-dev 2004-04-18 22:56:51 UTC
well reporter said it seems to have worked a second time around ...