I am trying to emerge glibc-2.3.2-r9 on a SPARC64 system. The emerhe fails with the following error. My CFLAGS is CFLAGS="-mcpu=v8 -mtune=v9 -O2 -pipe" make[2]: *** [/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/rpcsvc/bootparam_prot.stmp] Segmentation fault make[2]: *** Waiting for unfinished jobs.... /bin/sh ../scripts/move-if-change /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.T /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.c make[2]: *** Waiting for unfinished jobs.... touch /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/xbootparam_prot.stmp make[2]: *** Waiting for unfinished jobs.... make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/sunrpc' make[1]: *** [sunrpc/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.2-r9 failed. !!! Function src_compile, Line 497, Exitcode 2 !!! (no error message)
How much RAM/swap do you have?
I have 256MB of RAM and 177MB of swap.
Hrm. That's possibly not enough for glibc to compile if you have other things running on the box. * Does it always fail in exactly the same place? * Are you on an SMP system? * What kernel (uname -a)? * Any chance you could retry with maybe 512MBytes swap active?
* Does it always fail in exactly the same place? -Yes it fails at the same place all the time * Are you on an SMP system? -Yes its an dual 300MHz UltraSparc II * What kernel (uname -a)? - Output: Linux xxxxx.chem.uga.edu 2.4.24-sparc #2 SMP Tue Feb 3 13:30:12 EST 2004 sparc64 sun4u TI UltraSparc II (BlackBird) GNU/Linux * Any chance you could retry with maybe 512MBytes swap active? - I will try that
I tried it again after increasing the swap to 512MB and it crashed again, but not at the same place. Here is the output for the last try. 2.3.2/buildhere/crypt:/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/linuxthreads /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/rpcgen -Y ../scripts -h rpcsvc/key_prot.x -o /var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/rpcsvc/key_prot.T make[2]: *** [/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/buildhere/sunrpc/rpcsvc/key_prot.stmp] Floating point exception make[2]: *** Waiting for unfinished jobs.... stdout: Broken pipe make[2]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2/sunrpc' make[1]: *** [sunrpc/others] Error 2 make[1]: Leaving directory `/var/tmp/portage/glibc-2.3.2-r9/work/glibc-2.3.2' make: *** [all] Error 2 !!! ERROR: sys-libs/glibc-2.3.2-r9 failed. !!! Function src_compile, Line 497, Exitcode 2 !!! (no error message)
Ok, next up, can you reproduce this on an identical setup with known good hardware?
Dupe. *** This bug has been marked as a duplicate of 43276 ***