Closed
Bug 228621
Opened 21 years ago
Closed 21 years ago
nsprpub/configure doesn't work with Solaris/gcc 2.95
Categories
(NSPR :: NSPR, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
4.5
People
(Reporter: dbaron, Assigned: wtc)
Details
Attachments
(1 file)
44.03 KB,
patch
|
Details | Diff | Splinter Review |
I just got the Solaris tinderboxes running again, and it seems that nsprpub/configure is being generated using a version of autoconf that has an extended version of AC_PROG_CXX that doesn't work correctly on Solaris. In particular, it generates command lines like: gcc -o now.o -c -Wall -pthreads -O -fPIC -UDEBUG -DMOZILLA_CLIENT=1 -DNDEBUG=1 #ifdef\ __cplusplus void\ exit\ \(int\)\; #endif -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_LARGEFILE64_SOURCE=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 now.c (Notice the extra #ifdef...#endif) I suspect generating the configure using a standard autoconf 2.13 (plus adding the one modification you make manually afterwards for the MKS Korn Shell) would fix this problem, although my build to test that this is the case is still going (it's on the worms tinderbox on SeaMonkey-Ports). This change to configure landed in: * trunk: revision 1.151 (2003-11-24) * NSPRPUB_PRE_4_2_CLIENT_BRANCH: revision 1.78.2.73 (2003-12-15) This does not look like a problem on MOZILLA_1_4_BRANCH (pkw landed the patch there).
Reporter | ||
Updated•21 years ago
|
Summary: nsprpub/configure doesn't work on Solaris → nsprpub/configure doesn't work with Solaris/gcc 2.95
Reporter | ||
Updated•21 years ago
|
Flags: blocking1.6?
Assignee | ||
Comment 1•21 years ago
|
||
David, I ran autoconf on Red Hat Linux 7.2. If you can attach the configure file generated by the right version of autoconf, I will check it in. (I can take care of the MKS fixup.) Thanks.
Reporter | ||
Comment 2•21 years ago
|
||
Assignee | ||
Comment 3•21 years ago
|
||
Fixed checked in. Thanks for the patch, David.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Target Milestone: --- → 4.5
Version: other → 4.5
Comment 4•21 years ago
|
||
Is this resolved for SeaMonkey? (I'd like to remove the blocking1.6? flag if it is). If not, what needs to happen for SeaMonkey to get this fix?
Assignee | ||
Comment 5•21 years ago
|
||
This is resolved for SeaMonkey. Removed the blocking1.6? flag.
Flags: blocking1.6?
You need to log in
before you can comment on or make changes to this bug.
Description
•