Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Seg fault on glibc in bootstrap.sh with AMD K6-2
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
adamtheo
Tux's lil' helper
Tux's lil' helper


Joined: 03 Sep 2002
Posts: 123
Location: Tallahassee, Florida USA

PostPosted: Fri Aug 22, 2003 8:21 pm    Post subject: Seg fault on glibc in bootstrap.sh with AMD K6-2 Reply with quote

Getting a seg fault error repeatedly when trying to bootstrap.sh a new box. When it gets to glibc 2.3.2-r1, it spits this out:

Code:

gcc xdr_float.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=k6-2 -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -D_RPC_THREAD_SAFE_ -o /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xdr_float.os
gcc xdr_mem.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -freorder-blocks -march=k6-2 -pipe   -fPIC    -I../include -I. -I/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc -I.. -I../libio  -I/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere -I../sysdeps/i386/elf -I../linuxthreads/sysdeps/unix/sysv/linux/i386 -I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread -I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv -I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i586 -I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i586 -I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -nostdinc -isystem /usr/lib/gcc-lib/i586-pc-linux-gnu/3.2.3/include -isystem /usr/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h  -DPIC -DSHARED     -D_RPC_THREAD_SAFE_ -o /var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xdr_mem.os
In file included from ../inet/netinet/in.h:212,
                 from ../include/netinet/in.h:3,
                 from ../sunrpc/rpc/types.h:90,
                 from ../include/rpc/types.h:1,
                 from xdr_float.c:47:
../sysdeps/unix/sysv/linux/bits/socket.h:302: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
make[2]: *** [/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/buildhere/sunrpc/xdr_float.os] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2/sunrpc'
make[1]: *** [sunrpc/subdir_lib] Error 2
make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r1/work/glibc-2.3.2'
make: *** [all] Error 2

!!! ERROR: sys-libs/glibc-2.3.2-r1 failed.
!!! Function src_compile, Line 409, Exitcode 2
!!! (no error message)


My system uses AMD K6-2 @ 475 MHz (actually a 500 MHz CPU that I had to "underclock" to get working with the old motherboard I have in it). It has ~300 MB of RAM.

I had Gentoo 1.2 installed on it in the past without trouble (other than not being able to get ALSA to work), but wiped it and put Gentoo 1.4_rc4 on it to use as a server for my website.

I am doing this remotely, via SSH.

Here is my make.conf file:

Code:

USE="-alsa apache2 crypt -esd -gnome -gtk imap ipv6 java -kde ldap libwww maildir mcal memlimit mysql ncurses -oss pam -pcmcia perl python -qt readline ruby sasl spell sse -ssl -tcltk usb -X xml xml2 x86"

CHOST="i586-pc-linux-gnu"
CFLAGS="-march=k6-2 -O3 -pipe -fomit-frame-pointer"
CXXFLAGS="${CFLAGS}"

_________________
* Theoretic Solutions "The Internet's Open Think-Tank" - http://www.theoretic.com
Back to top
View user's profile Send private message
cyrillic
Watchman
Watchman


Joined: 19 Feb 2003
Posts: 7313
Location: Groton, Massachusetts USA

PostPosted: Sat Aug 23, 2003 2:53 am    Post subject: Reply with quote

You might need to underclock more than that. Try underclocking your memory too, it may get rid of the Segmentation faults.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum