Closed Bug 220843 Opened 21 years ago Closed 17 years ago

Build Process Dies Using GCC 3.3, Solaris (i386) 5.9 (112234-03)

Categories

(NSPR :: NSPR, defect)

4.2.2
x86
SunOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: technofiend, Assigned: julien.pierre)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:1.3b) Gecko/20030206
Build Identifier: Current CVS (gmake -f client.mk checkout), CVSROOT=:pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot


Using GCC 3.3 and building the Mozilla executable by doing a gmake -f client.mk
build,
the process dies with an error message from as.  I am using GCC 3.3 downloaded
from sunfreeware
(ftp://ftp.sunfreeware.com/pub/freeware/intel/9/gcc-3.3-sol9-intel-local.gz),
which appears to invoke the native as found in /usr/ccs/bin.

cd unix; /usr/local/bin/gmake export
gmake[7]: Entering directory
`/export/home/tmp/mozilla/mozilla/nsprpub/pr/src/md/unix'
gcc -o os_SunOS_x86.o     -Wall -pthreads -gstabs -Wa,-s -fPIC  -UNDEBUG -DDEBUG
_root  -DMOZILLA_CLIENT=1 -DDEBUG=1 -DXP_UNIX=1 -DSVR4=1 -DSYSV=1 -D__svr4=1 -D_
_svr4__=1 -DSOLARIS=1 -DHAVE_FCNTL_FILE_LOCKING=1 -Di386=1 -D_PR_HAVE_OFF64_T=1 
-D_LARGEFILE64_SOURCE=1 -D_PR_INET6=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENT
RANT=1 -DHAVE_POINTER_LOCALTIME_R=1  -DFORCE_PR_LOG -D_PR_PTHREADS -UHAVE_CVAR_B
UILT_ON_SEM -D_NSPR_BUILD_ -I/export/home/tmp/mozilla/mozilla/dist/include/nspr 
-I../../../../pr/include -I../../../../pr/include/private  -Wa,-P -c os_SunOS_x8
6.s
Assembler: 
	"", line 1 : Warning: Illegal flag (-) - ignored
	"", line 1 : Warning: Illegal flag (g) - ignored
	"", line 1 : Warning: Illegal flag (t) - ignored
	"", line 1 : Warning: Illegal flag (a) - ignored
gcc: Internal error: Segmentation Fault (program as)
Please submit a full bug report.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
gmake[7]: *** [os_SunOS_x86.o] Error 1
gmake[7]: Leaving directory `/export/home/tmp/mozilla/mozilla/nsprpub/pr/src/md/
unix'
gmake[6]: *** [export] Error 2
gmake[6]: Leaving directory `/export/home/tmp/mozilla/mozilla/nsprpub/pr/src/md'
gmake[5]: *** [export] Error 2
gmake[5]: Leaving directory `/export/home/tmp/mozilla/mozilla/nsprpub/pr/src'
gmake[4]: *** [export] Error 2
gmake[4]: Leaving directory `/export/home/tmp/mozilla/mozilla/nsprpub/pr'
gmake[3]: *** [export] Error 2
gmake[3]: Leaving directory `/export/home/tmp/mozilla/mozilla/nsprpub'
gmake[2]: *** [nspr] Error 2
gmake[2]: Leaving directory `/export/home/tmp/mozilla/mozilla'
gmake[1]: *** [default] Error 2
gmake[1]: Leaving directory `/export/home/tmp/mozilla/mozilla'
gmake: *** [build] Error 2

Changing out the as for gnu's as results in an similar failure,
with a complaint about a different flag not being understood.


Reproducible: Always

Steps to Reproduce:
1.Usual build process on Solaris i386 using GCC 3.3.
2.
3.




I realise you guys may not be able to do anything about this,
but at least felt you should be advised as to the problem.
Did gcc drop support for stabs?
-> NSPR
Assignee: mozbugs-build → wchang0222
Component: Build Config → NSPR
Product: Browser → NSPR
QA Contact: wchang0222
Version: Trunk → 4.2.2
QA Contact: wtchang → nspr
Assignee: wtc → julien.pierre.boogz
The current versions of NSPR, 4.6.7, builds correctly on current gcc 3.4.3 on current Solaris 10 x86. Marking WORKSFORME.
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
This bug may have been fixed by the patch in bug 259001.
See the discussion on the -P option in and around bug 259001
comment 10.
You need to log in before you can comment on or make changes to this bug.