Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 52990 - gettext seg fault error on 2004.0 Stage 1 install w/ K6-2 550
Summary: gettext seg fault error on 2004.0 Stage 1 install w/ K6-2 550
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Everything (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo LiveCD Package Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-04 10:03 UTC by Andrew Dumas
Modified: 2004-06-13 21:27 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 Andrew Dumas 2004-06-04 10:03:55 UTC
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.
Comment 1 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-04 10:18:59 UTC
Have you tried 2004.1?
Comment 2 Andrew Dumas 2004-06-04 11:15:01 UTC
Yes, I tried 2004.1, but it wouldn't recognize the NIC.
Comment 3 Chris Gianelloni (RETIRED) gentoo-dev 2004-06-04 11:24:53 UTC
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.
Comment 4 Tuan Van (RETIRED) gentoo-dev 2004-06-04 11:45:20 UTC
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
Comment 5 Tuan Van (RETIRED) gentoo-dev 2004-06-04 11:52:12 UTC
I take a look at your CFLAGS again and realize it is *zero_two*, not O2. Is that a typo?
Comment 6 Andrew Dumas 2004-06-04 13:06:47 UTC
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.

Comment 7 Tuan Van (RETIRED) gentoo-dev 2004-06-04 13:19:22 UTC
> 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)
Comment 8 Andrew Dumas 2004-06-04 13:48:26 UTC
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?
Comment 9 Andrew Dumas 2004-06-07 11:21:36 UTC
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
Comment 10 Tuan Van (RETIRED) gentoo-dev 2004-06-07 12:43:46 UTC
could you please post the output of `free -mo`? May be memory/swap issue?
Comment 11 Andrew Dumas 2004-06-07 12:51:40 UTC
free -mo:
Mem:  total  502   used 467   free   34   shared 0   buffers 168   cached 202
Swap: total 1913   used   3   free 1910  
Comment 12 Tuan Van (RETIRED) gentoo-dev 2004-06-07 21:58:58 UTC
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.
Comment 13 John Davis (zhen) (RETIRED) gentoo-dev 2004-06-13 21:27:28 UTC
looks like a hardware problem, closing.