2004.0 Stage 1 install stops with: cc1: internal compiler error: Segmentation fault make[3]: *** [relocatable.lo] Error 1 make[3]: Leaving directory '/var/tmp/portage/gettext-0.12.1/work/gettext-0.12.1/gettext-runtime/intl' make[3]: *** [all recusive] Error 1 make[3]: Leaving directory '/var/.../gettext-runtime' make[1]: *** [all] Error2 make[1]: Leaving directory '/var/.../gettext-runtime' make: *** [all-recursive] Error 1 ERROR: sys-devel/gettext-0.12.1 failed. Function src_compile, Line 50, Exitcode 2 (no error message) The /etc/make.conf file: CFLAGS="-02 -mcpu=K6-2 -fomit-frame-pointer" CHOST="i586-pc-linux-gnu" USE="3dfx gnome gtk X" CXXFLAGS="${CFLAGS}" Reproducible: Always Steps to Reproduce: 1.Stage 1 install following Handbook instructions. 2. 3. Actual Results: Fails on gettext during bootstrap. This box has 512M memory and had been working with Windows 2000.
Have you tried 2004.1?
Yes, I tried 2004.1, but it wouldn't recognize the NIC.
Did you try to manually load your NIC module? I'm just trying to find out if this had been fixed by the last CD or not... because, well, 2004.0 was a while ago and I"m working on 2004.2, so if it had been fixed by 2004.1, then it isn't an issue at all anymore.
change your CFLAGS to have either "-mcpu=K6-2" "-fomit-frame-pointer" but not both, i.e. CFLAGS="-02 -mcpu=K6-2" CFLAGS="-02 -mcpu=i586 -fomit-frame-pointer" then try again
I take a look at your CFLAGS again and realize it is *zero_two*, not O2. Is that a typo?
I initially tried 2004.1 but it wouldn't recognize any of the several NIC's I tried and wouldn't load the relevant NIC modules manually either. I tried this earlier in the week before I knew I'd need to refer back and so I didn't take any notes at the time. Yes, sorry, the zero in CHOSTS is a typo on my part; I manually typed in the error listing over to a working Gentoo box. Using CFLAGS="-02 -mcpu=K6-2" stops gettext earlier with: checking for C compiler default output... configure:error: C compiler cannot create executables. configure: error: /bin/sh './configure' failed for autoconf-lib-link Using CFLAGS="-02 -mcpu=i586 -fomit-frame-pointer" yields the same error sequence as earlier, except it stops at dgettext.lo.
> Using CFLAGS="-02 -mcpu=K6-2" stops gettext earlier with: > checking for C compiler default output... configure:error: C compiler cannot create executables. Please *make sure* that you put in O2 not zero_two in your CFLAGS . "C compiler cannot create executables" is because of the errors in CFLAGS (most of the time)
I just checked it again: it's definitely Capital O two. To rerun the bootstrap script with make.conf changes, should I be doing anything other than "source /etc/profile" after making make.conf changes and before running bootstrap.sh?
I was able to get 2004.1 to work with a NIC on this box, w/ the following results: Using stage 1 w/ CFLAGS="-O2 -mcpu=k6-2" bootstrap stops w/ a gettext error: bindtextdom.lo Error 1 cc1 internal compiler error Using stage 1 w/ CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer" bootstrap stops w/ a gettext error: Function econf, line 365, Exitcode 1 econf failed Using stage 3 w/ CFLAGS="-O2 -mcpu=i586 -fomit-frame-pointer" bootstrap stops w/ an error in texinfo-4.6: terminal.c: In function 'terminal_begin_using_terminal': terminal.c:151: internal compiler error: Segmentation fault make[3]: *** [terminal.o] Error 1 ... ERROR: sys-apps/texinfo-4.6 failed. Function src_compile, Line 44, Exitcode 2
could you please post the output of `free -mo`? May be memory/swap issue?
free -mo: Mem: total 502 used 467 free 34 shared 0 buffers 168 cached 202 Swap: total 1913 used 3 free 1910
have you run memtest86? (i am not sure if it is on livecd 2004.1 or not). If possible, setup a ssh install, that way you can "copy & paste" the errors exactly as the appearred. It is easier to search for known problems that way.
looks like a hardware problem, closing.