Closed Bug 219727 Opened 21 years ago Closed 21 years ago

Problems building in /mozilla/security/coreconf/nsinstall

Categories

(NSS :: Build, defect)

Sun
SunOS
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: mkhusid, Assigned: wtc)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

gmake[3]: Entering directory `/mozilla/security/manager'
/usr/athena/bin/gmake -C ../../security/coreconf MAKE="/usr/athena/bin/gmake
-j1" -j1 MOZILLA_INCLUDES="-I/mozilla/dist/include/nspr
-I/mozilla/dist/include/dbm" SOURCE_MD_DIR=/mozilla/dist DIST=/mozilla/dist
MOZILLA_CLIENT=1 NO_MDUPDATE=1 BUILD_OPT=1 NS_USE_GCC=1 NS_USE_NATIVE=
gmake[4]: Entering directory `/mozilla/security/coreconf'
cd nsinstall; /usr/athena/bin/gmake -j1 export
gmake[5]: Entering directory `/mozilla/security/coreconf/nsinstall'
gmake[5]: Nothing to be done for `export'.
gmake[5]: Leaving directory `/mozilla/security/coreconf/nsinstall'
cd nsinstall; /usr/athena/bin/gmake -j1 libs
gmake[5]: Entering directory `/mozilla/security/coreconf/nsinstall'
gcc -o SunOS5.9_64_OPT.OBJ/nsinstall.o -c -O -Wall -Wno-format -fPIC -DSVR4
-DSYSV -D__svr4 -D__svr4__ -DSOLARIS -DSOLARIS2_9 -D_SVID_GETTOD UNKNOWN 
-DXP_UNIX -UDEBUG -DNDEBUG -I/usr/dt/include -I/usr/openwin/include
-I/mozilla/dist/include  -I../../../dist/public/coreconf
-I../../../dist/private/coreconf -I../../../dist/include
-I/mozilla/dist/include/nspr -I/mozilla/dist/include/dbm  nsinstall.c
gcc: cannot specify -o with -c or -S and multiple compilations
gmake[5]: *** [SunOS5.9_64_OPT.OBJ/nsinstall.o] Error 1
gmake[5]: Leaving directory `/mozilla/security/coreconf/nsinstall'
gmake[4]: *** [libs] Error 2


Reproducible: Always

Steps to Reproduce:
1. gmake -f client.mk build_all

NOTE:
setenv USE_64 1 
setenv NS_USE_GCC 1
setenv NO_MDUPDATE 1
setenv CVSROOT :pserver:anonymous@cvs-mirror.mozilla.org:/cvsroot
setenv MOZ_THUNDERBIRD 1
//read Bug 219458 for more details
setenv CC 'gcc -B/usr/ccs/bin/'
setenv CXX 'g++ -B/usr/ccs/bin/'

Actual Results:  
Build error.

Expected Results:  
The problem is likely related to the 64-bit requested architecture. 



Computer configuration:
CPU Type is               sparcv9+vis2
App Architecture is       sparc
Kernel Architecture is    sun4u
OS Name is                SunOS
OS Version is             5.9
OS Distribution is        Solaris 9 12/02 s9s_u2wos_10 SPARC
Kernel Version is         SunOS Release 5.9 Version Generic_112233-05 64-bit
    cpu0 is a "Sun UltraSPARC-III" 750 MHz CPU
    cpu1 is a "Sun UltraSPARC-III" 750 MHz CPU
OS: other → SunOS
Hardware: Other → Sun
-> NSS

You should not be setting USE_64, NS_USE_GCC or NO_MDUPDATE by hand.  The error
is caused by setting USE_64 and building with gcc which appears to be an
unsupported combination.   See
http://lxr.mozilla.org/mozilla/source/security/coreconf/SunOS5.mk#48 .
Assignee: mozbugs-build → wchang0222
Status: UNCONFIRMED → NEW
Component: Build Config → Build
Ever confirmed: true
Product: Browser → NSS
QA Contact: wchang0222
Version: Trunk → 3.8
Remove USE_64, NS_USE_GCC, and NO_MDUPDATE from your
environment, and you will get past this build failure.
They should not be set manually.  The one that's causing
trouble here is USE_64.  We do not support building for
64-bit Solaris with gcc.  Either nobody has contributed
that patch, or gcc doesn't support that, or the support is
buggy.

(I know the build will fail later in
mozilla/security/nss/lib/freebl, which is a different
problem.)
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.