Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 18911 - build of phoneix-cvs failed
Summary: build of phoneix-cvs failed
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: Sparc Linux
: High normal (vote)
Assignee: Sparc Porters
Depends on:
Reported: 2003-04-07 13:58 UTC by Gerrit Padgham
Modified: 2006-02-04 06:05 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Gerrit Padgham 2003-04-07 13:58:41 UTC
tried to emerge phoenix-cvs, part way through the compile, I got this error:
gcc -o e_sqrt.o -c -DOSTYPE=\"Linux2.4\" -DOSARCH=\"Linux\"  
-I../../../dist/include/js -I../../../dist/include
-I/usr/X11R6/include   -fPIC -I/usr/X11R6/include  -W -Wno-unused
-Wpointer-arith -Wcast-align -Wno-long-long -mcpu=ultrasparc -O3 -pipe
-Wno-return-type -w -Wno-return-type -w -Wno-return-type -w -s -pthread -pipe 
-DNDEBUG -DTRIMMED -ffunction-sections -D_IEEE_LIBM  -I/usr/X11R6/include
-include ../../../mozilla-config.h -DMOZILLA_CLIENT -Wp,-MD,.deps/e_sqrt.pp e_sqrt.c
e_pow.c: In function `__ieee754_pow':
e_pow.c:376: internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:> for instructions.
make[3]: *** [e_pow.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
make[2]: *** [libs] Error 2
make[2]: Leaving directory `/var/tmp/portage/phoenix-cvs-0.5-r2/work/mozilla/js'
make[1]: *** [tier_2] Error 2
make[1]: Leaving directory `/var/tmp/portage/phoenix-cvs-0.5-r2/work/mozilla'
make: *** [default] Error 2

!!! ERROR: net-www/phoenix-cvs-0.5-r2 failed.
!!! Function src_compile, Line 134, Exitcode 2
!!! (no error message)

Reproducible: Always
Steps to Reproduce:
1. emerge phoenix-cvs

Actual Results:  
build failed to compile.

Expected Results:  
It should have finished compiling and installed, or, if its known not to build
on the sparc platform, then the apropriate keyword should be removed.

I am attempting to build this on a sunblade 100
Comment 1 Jason Wever (RETIRED) gentoo-dev 2003-04-30 12:52:31 UTC
I can replicate this, but as cvs is a constantly changing monster and it doesn't necessarily seem that this is a Gentoo problem.  I'm going to mark it as Resolved:WontFix and change the keyword to -sparc until such a time that it builds .
Comment 2 Joshua Kinard gentoo-dev 2003-04-30 13:27:04 UTC
Actually, the problem is -mcpu=ultrasparc.  This is the same problem as Mozilla, -mcpu=ultrasparc triggers a segfault in this very file.  The workaround is to use -mcpu=v8, although it is safe to use -mtune=v9.  The optimum solution for this is to add a replace-sparc64-flags() into the phoenix-cvs ebuild to catch any and all instances of -mcpu=ultrasparc and change them accordingly to the save 'v8' value.
Comment 3 Jason Wever (RETIRED) gentoo-dev 2003-04-30 14:19:58 UTC
Re-opening, will test replacing the flags as Kumba suggests
Comment 4 Jason Wever (RETIRED) gentoo-dev 2003-05-01 13:05:53 UTC
Adding replace-sparc64-flags fixes the problem.  I've added it into the ebuilds and marked then as ~sparc again.
Comment 5 Jason Wever (RETIRED) gentoo-dev 2003-08-17 07:36:39 UTC