Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 2631 - Compile fault when bootstrapping stage1
Summary: Compile fault when bootstrapping stage1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High blocker (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-05-10 05:44 UTC by eivinh
Modified: 2004-04-18 04:30 UTC (History)
1 user (show)

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 eivinh 2002-05-10 05:44:47 UTC
I get a compile fault when executing the scripts/bootstrap.sh script on my Cyrix
6x86 PC, 64MB RAM. I am building the system from the 1.1a CD-ROM with only stage1.

Details:
wcsncmp.c: In function `wcsncmp':
wcsncmp.c:71: Internal compiler error in `gen_rtx_combine', at combine.c:9383
Please submit a full bug report.
See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
make[2]: ***
[/var/tmp/portage/glibc-2.2.5-r2/work/glibc-2.2.5/buildhere/wcsmbs/wcsncmp.os]
Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r2/work/glibc-2.2.5/wcsmbs'
make[1]: *** [wcsmbs/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.2.5-r2/work/glibc-2.2.5'
make: *** [all] Error 2

!!! ERROR: The ebuild did not complete successfully.
!!! Function src_compile, Line 14, Exitcode 2
!!! (no error message)

!!! emerge aborting on  /usr/portage/sys-libs/glibc/glibc-2.2.5-r2.ebuild .

I think this error was different yesterday (9th May) with yesterday's portage list.
When I tried (yesterday) to go on to stage2 it compiled a lot before halting
when there was no working C++ compiler.  Today I gave it another go, and it
stopped again.

Anyway, it CAN be a hardware bug, but the computer is stable under normal use.
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-05-10 12:39:47 UTC
Pretty sure it's a hardware (RAM, CPU) problem.  Probably RAM.  Use
memtest86/cpuburn and find the problem. (see freshmeat)
Comment 2 Matthew Sherborne 2004-04-18 04:30:53 UTC
I got the same error on my pentium-mmx 160Mhz. On the 18 April 2004.

----- 8< -------
/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/.././libjava/../gcc -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -mcpu=pentium-mmx -pipe -O2 -D_GNU_SOURCE -Wp,-MD,.deps/interpret.pp -c /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/interpret.cc  -fPIC -DPIC -o .libs/interpret.o
include/java-signal.h:125: warning: `void restore()' declared `static' but
   never defined
/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i586-pc-linux-gnu/bin/ -B/usr/i586-pc-linux-gnu/lib/ -isystem /usr/i586-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava -I./include -I./gcj -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava -Iinclude -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/include -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/libltdl -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/libltdl -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/.././libjava/../gcc -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -mcpu=pentium-mmx -pipe -O2 -D_GNU_SOURCE -Wp,-MD,.deps/interpret.pp -c /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/interpret.cc -o interpret.o >/dev/null 2>&1
/bin/sh ./libtool --tag=CXX --mode=compile /var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/ -nostdinc++  -L/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i586-pc-linux-gnu/bin/ -B/usr/i586-pc-linux-gnu/lib/ -isystem /usr/i586-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava -I./include -I./gcj -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava -Iinclude -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/include -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../boehm-gc/include  -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1   -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/libltdl -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/libltdl  -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/.././libjava/../gcc  -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../libffi/include -I../libffi/include   -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D__NO_MATH_INLINES  -ffloat-store  -W -Wall -D_GNU_SOURCE -DPREFIX="\"/usr\"" -mcpu=pentium-mmx -pipe -O2 -D_GNU_SOURCE -c /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/verify.cc
/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/xgcc -shared-libgcc -B/var/tmp/portage/gcc-3.3.2-r5/work/build/gcc/ -nostdinc++ -L/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libstdc++-v3/src -L/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libstdc++-v3/src/.libs -B/usr/i586-pc-linux-gnu/bin/ -B/usr/i586-pc-linux-gnu/lib/ -isystem /usr/i586-pc-linux-gnu/include -DHAVE_CONFIG_H -I. -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava -I./include -I./gcj -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava -Iinclude -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/include -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/libltdl -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/libltdl -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/.././libjava/../gcc -I/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/../libffi/include -I../libffi/include -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -D__NO_MATH_INLINES -ffloat-store -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -mcpu=pentium-mmx -pipe -O2 -D_GNU_SOURCE -Wp,-MD,.deps/verify.pp -c /var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/verify.cc  -fPIC -DPIC -o .libs/verify.o
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/verify.cc: In function `
   void debug_print(const char*, ...)':
/var/tmp/portage/gcc-3.3.2-r5/work/gcc-3.3.2/libjava/verify.cc:40: warning: unused
   parameter `const char*fmt'
xgcc: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [verify.lo] Error 1
make[3]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libjava'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build/i586-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.2-r5/work/build'
make: *** [bootstrap-lean] Error 2

!!! ERROR: sys-devel/gcc-3.3.2-r5 failed.
!!! Function src_compile, Line 435, Exitcode 2
!!! (no error message)
-------- 8< ---------