Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 45035 - Emerge of glibc-2.3.2-r9 fails
Summary: Emerge of glibc-2.3.2-r9 fails
Status: RESOLVED DUPLICATE of bug 43276
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-18 09:33 UTC by Raj
Modified: 2005-07-17 13:06 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 Raj 2004-03-18 09:33:26 UTC
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)
Comment 1 Ciaran McCreesh 2004-03-18 09:35:55 UTC
How much RAM/swap do you have?
Comment 2 Raj 2004-03-18 10:20:06 UTC
I have 256MB of RAM and 177MB of swap.
Comment 3 Ciaran McCreesh 2004-03-18 10:24:29 UTC
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?
Comment 4 Raj 2004-03-18 10:50:50 UTC
* 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
Comment 5 Raj 2004-03-18 13:22:41 UTC
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)
Comment 6 Ciaran McCreesh 2004-03-20 16:59:26 UTC
Ok, next up, can you reproduce this on an identical setup with known good hardware?
Comment 7 Sven Blumenstein (RETIRED) gentoo-dev 2004-03-21 23:44:03 UTC
Dupe.

*** This bug has been marked as a duplicate of 43276 ***