View previous topic :: View next topic |
Author |
Message |
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Jun 24, 2004 4:00 am Post subject: bootstrap wont finish - fails on GCC-3.3.3-r6 |
|
|
I've tried bootstrapping SEVERAL times but it always fails on GCC-3.3.3-r6
anyone have a clue why this could be? |
|
Back to top |
|
|
Shan Guru
Joined: 04 Nov 2003 Posts: 558 Location: /dev/null
|
Posted: Thu Jun 24, 2004 4:10 am Post subject: Re: bootstrap wont finish - fails on GCC-3.3.3-r6 |
|
|
edudlive wrote: | I've tried bootstrapping SEVERAL times but it always fails on GCC-3.3.3-r6
anyone have a clue why this could be? |
Error messages starting from the last few lines of 'gcc' onward would help. _________________ { NO -U } { STRIP }
{ TINY } |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Jun 24, 2004 4:21 am Post subject: |
|
|
Well the errors are so long that I can't even see what is causing the error. (the scroll doesnt go that far) |
|
Back to top |
|
|
HydroSan l33t
Joined: 04 Mar 2004 Posts: 764 Location: The Kremlin (aka Canada)
|
Posted: Thu Jun 24, 2004 4:38 am Post subject: |
|
|
Here's the generic answer to Bootstrapping problems:
First: Check your CFLAGS. It compiles GCC twice, so if the first compile went all right with cross-compiling, it may be screwing up on the second go. Reduce the flags.
Second: Media. Make sure your hard drive is good.
Third: RAM. Any small, insignificant piece of bad RAM can kill compiles dead. Use something like MEMTEST to see if there are errors. _________________ I was a Gangster for Capitalism, by Major General Smedley Butler.
Server status: Currently down, being replaced with fresh install - 20% completed. |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Jun 24, 2004 4:42 am Post subject: |
|
|
Code: |
CFLAGS="-O2 -march=athlon-xp -pipe -fomit-frame-pointer -ftracer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="3dnow alsa arts avi cdr dvd dvdr emacs esd gif gtk gtk2 java jpeg kde mozilla mysql oggvorbis opengl oss pdflib perl png tiff X xmms x86 -gnome"
MAKEOPTS="-j2"
|
I have an Athlon Xp 3200+, anything wrong with the flags? |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Jun 24, 2004 4:53 am Post subject: |
|
|
Code: |
In file included from /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:157:
configargs.h:2: warning: string length `835' is greater than the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:727: warning: string length `564' is greater than the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:747: warning: string length `524' is greater than the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:774: warning: string length `558' is greater than the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:896: warning: string length `523' is greater than the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:1481: warning: string length `733' is greater than the length `509' ISO C89 compilers are required to support
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c: In function `retry_ice':
/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gcc.c:5906: warning: `fd' might be used uninitialized in this function
(SHLIB_LINK=' ./xgcc -B./ -B/usr/i686-pc-linux-gnu/bin/ -isystem /usr/i686-pc-linux-gnu/include -isystem /usr/i686-pc-linux-gnu/sys-include -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem ./include -fPIC -DHAVE_SYSLOG -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fno-stack-protector -fno-stack-protector-all -D_LIBC_PROVIDES_SSP_ -shared -nodefaultlibs -Wl,--soname=@shlib_so_name@.so.1 -Wl,--version-script=@shlib_map_file@ -o @shlib_dir@@shlib_so_name@.so.1 @multilib_flags@ @shlib_objs@ -lc && rm -f @shlib_base_name@.so && ln -s @shlib_dir@@shlib_so_name@.so.1 @shlib_base_name@.so' \
SHLIB_MULTILIB=''; \
gcc -O -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -DHAVE_CONFIG_H -I. -I. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/. -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/config -I/var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/../include \
-DSTANDARD_STARTFILE_PREFIX=\"../../../\" -DSTANDARD_EXEC_PREFIX=\"/usr/lib/gcc-lib/\" -DDEFAULT_TARGET_VERSION=\"3.3.3\" -DDEFAULT_TARGET_MACHINE=\"i686-pc-linux-gnu\" -DSTANDARD_BINDIR_PREFIX=\"/usr/i686-pc-linux-gnu/gcc-bin/3.3/\" -DTOOLDIR_BASE_PREFIX=\"../../../../\" `test "X${SHLIB_LINK}" = "X" || test "yes" != "yes" || echo "-DENABLE_SHARED_LIBGCC"` `test "X${SHLIB_MULTILIB}" = "X" || echo "-DNO_SHARED_LIBGCC_MULTILIB"` \
-c /var/tmp/portage/gcc-3.3.3-r6/work/gcc-3.3.3/gcc/gccspec.c -o gccspec.o)
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s: Assembler messages:
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:19: Error: missing or invalid immediate expression `' taken as 0
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:19: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:19: Warning: rest of line ignored; first ignored character is `,'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:22: Warning: rest of line ignored; first ignored character is `('
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:35: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:35: Warning: rest of line ignored; first ignored character is `,'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:60: Error: missing or invalid immediate expression `' taken as 0
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:60: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:60: Warning: rest of line ignored; first ignored character is `,'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:70: Error: suffix or operands invalid for `cmp'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:70: Warning: rest of line ignored; first ignored character is `9'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:79: Error: suffix or operands invalid for `cmp'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:79: Warning: rest of line ignored; first ignored character is `9'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:81: Error: suffix or operands invalid for `cmp'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:81: Warning: rest of line ignored; first ignored character is `5'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:87: Error: suffix or operands invalid for `cmp'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:87: Warning: rest of line ignored; first ignored character is `('
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:90: Error: missing or invalid immediate expression `' taken as 0
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:90: Error: suffix or operands invalid for `cmp'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:90: Warning: rest of line ignored; first ignored character is `,'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:93: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:93: Warning: rest of line ignored; first ignored character is `('
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:98: Error: missing or invalid immediate expression `' taken as 0
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:98: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:98: Warning: rest of line ignored; first ignored character is `,'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:105: Error: suffix or operands invalid for `cmp'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:105: Warning: rest of line ignored; first ignored character is `('
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:109: Error: missing or invalid immediate expression `' taken as 0
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:109: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:109: Warning: rest of line ignored; first ignored character is `,'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:127: Error: missing or invalid immediate expression `' taken as 0
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:127: Error: suffix or operands invalid for `mov'
/var/tmp/portage/gcc-3.3.3-r6/temp/ccGwtQqw.s:127: Warning: rest of line ignored; first ignored character is `,'
make[2]: *** [gccspec.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/var/tmp/portage/gcc-3.3.3-r6/work/build/gcc'
make: *** [bootstrap-lean] Error 2
!!! ERROR: sys-devel/gcc-3.3.3-r6 failed.
!!! Function src_compile, Line 553, Exitcode 2
!!! (no error message)
|
I think I got it all in there |
|
Back to top |
|
|
thechris Veteran
Joined: 12 Oct 2003 Posts: 1203
|
Posted: Thu Jun 24, 2004 5:40 am Post subject: |
|
|
i think i saw a reference to this error in the 3.4 gcc docs under stuff that are known bugs. i don't know if there in 3.3 as well. there was an error for commas under certian circumstances. |
|
Back to top |
|
|
HydroSan l33t
Joined: 04 Mar 2004 Posts: 764 Location: The Kremlin (aka Canada)
|
Posted: Thu Jun 24, 2004 7:10 am Post subject: |
|
|
Hmmm. The compile problem seems similar to when my machine was overheating. Attempt to open up the case, or perhaps clean it out a little or add another fan. _________________ I was a Gangster for Capitalism, by Major General Smedley Butler.
Server status: Currently down, being replaced with fresh install - 20% completed. |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Jun 24, 2004 3:43 pm Post subject: |
|
|
I ran Memtest, it came back fine. My HDD is fine. My temp is only 36C. |
|
Back to top |
|
|
Jack Flushell n00b
Joined: 27 Oct 2003 Posts: 18 Location: Groningen, The Netherlands
|
Posted: Thu Jun 24, 2004 4:21 pm Post subject: me2 |
|
|
I have exactly the same problem!
- I have deleted all my CFLAGS (wondering what's the point in doing a stage-1 install)
- my hd is ok
- my mem is ok
i think this was gentoo for me |
|
Back to top |
|
|
edudlive Guru
Joined: 06 Jan 2004 Posts: 557
|
Posted: Thu Jun 24, 2004 10:06 pm Post subject: |
|
|
It was my overclock. |
|
Back to top |
|
|
Jack Flushell n00b
Joined: 27 Oct 2003 Posts: 18 Location: Groningen, The Netherlands
|
Posted: Fri Jun 25, 2004 9:39 am Post subject: disable SDRAM 1T COMMAND |
|
|
Had the same problem. It was solved when I disabled the ' SDRAM 1T COMMAND' in the BIOS! |
|
Back to top |
|
|
Deathwing00 Bodhisattva
Joined: 13 Jun 2003 Posts: 4087 Location: Dresden, Germany
|
|
Back to top |
|
|
|