Closed Bug 241162 Opened 20 years ago Closed 20 years ago

tip NSPR build broken on Solaris 64-bit

Categories

(NSPR :: NSPR, defect)

Sun
Solaris
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: julien.pierre, Assigned: wtc)

Details

When I set USE_64=1 in my environment and build the NSPR tip, I get :

cc -xarch=v9 -o md/unix/./os_SunOS_sparcv9.o     -xstrconst -xs -g -KPIC 
-UNDEBUG -DDEBUG_jp96085 -DDEBUG=1 -DXP_UNIX=1 -DSVR4=1 -DSYSV=1 -D__svr4=1
-D__svr4__=1 -DSOLARIS=1 -DHAVE_FCNTL_FILE_LOCKING=1 -D_PR_HAVE_OFF64_T=1
-D_PR_INET6=1 -DHAVE_LCHOWN=1 -DHAVE_STRERROR=1 -D_REENTRANT=1
-DHAVE_POINTER_LOCALTIME_R=1  -DFORCE_PR_LOG -D_PR_PTHREADS
-UHAVE_CVAR_BUILT_ON_SEM -D_NSPR_BUILD_
-I/usr/local/nss/tip/mozilla/security/nss/../../dist/SunOS5.9_64_DBG.OBJ/include
-I../../../pr/include -I../../../pr/include/private  -Wa,-P -c
../../../pr/src/md/unix/./os_SunOS_sparcv9.s
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 33: error: unknown opcode "typedef"
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 33: error: invalid character (0x7b)
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 33: error: statement syntax
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 33: error: invalid character (0x7d)
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 33: error: unknown opcode "label_t"
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 33: error: statement syntax
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 37: error: unknown opcode "typedef"
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/machtypes.h", line 37: error: statement syntax
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/int_types.h", line 62: error: unknown opcode "typedef"
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/int_types.h", line 62: error: statement syntax
/usr/dist/pkgs/forte_dev,v6.2/SUNWspro/bin/../WS6U2/bin/fbe:
"/usr/include/sys/int_types.h", line 68: error: unknown opcode "typedef"

This does not happen with NSPR_4_4_1_RTM
This works for me.  I think you applied the incorrect
parallel-make patch to NSPR.
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
OS: SunOS → Solaris
You are right. That pach was causing the problem. Sorry about that.
You need to log in before you can comment on or make changes to this bug.