Closed
Bug 98578
Opened 24 years ago
Closed 24 years ago
Can't build freebl on Solaris 8
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
People
(Reporter: edburns, Assigned: nelson)
Details
Attachments
(1 file)
3.43 KB,
patch
|
Details | Diff | Splinter Review |
For a very long time I have been unable to build the trunk on Solaris due to
this problem:
http://groups.google.com/groups?as_umsgid=7cb3d61v2sj.fsf@sun.com
I can't for the life of me get a trunk build on Solaris 8 with Forte to
complete. When the build descends into mozilla/security/nss/lib/freebl,
I get these undefined symbols:
Undefined first referenced
symbol in file
s_mpv_mul_d SunOS5.8_DBG.OBJ/mpmontg.o
conv_i32_to_d32_and_d16 SunOS5.8_DBG.OBJ/mpmontg.o
s_mpv_mul_d_add SunOS5.8_DBG.OBJ/mpi.o
mont_mulf_noconv SunOS5.8_DBG.OBJ/mpmontg.o
s_mpv_mul_d_add_prop SunOS5.8_DBG.OBJ/mpmontg.o
conv_i32_to_d32 SunOS5.8_DBG.OBJ/mpmontg.o
conv_i32_to_d16 SunOS5.8_DBG.OBJ/mpmontg.o
After hacking on it, I have determined that these .o files needed to be added
to the link line for libfreebl_pure32_3.so:
SunOS5.8_DBG.OBJ/mpi_sparc.o SunOS5.8_DBG.OBJ/mpv_sparcv8.o
SunOS5.8_DBG.OBJ/montmulfv8.o
I've hacked around this in my build, but I'd like a real fix.
Comment 2•24 years ago
|
||
Changed product to NSS and assigned the bug to Nelson.
Assignee: wtc → nelsonb
Component: Build Config → Build
Product: Browser → NSS
Version: other → 3.3
Updated•24 years ago
|
QA Contact: granrose → sonmi
Comment 3•24 years ago
|
||
Ed,
I believe that this bug is a duplicate of bug 77788.
Do you have CFLAGS set in your environment? If so,
the workaround is to specify CFLAGS on the configure
command line as opposed to having it set in your
environment.
wtc: thanks for your prompt reply.
I've never set an env var during my configure run. How does one do this?
Thanks,
Ed
Assignee | ||
Comment 5•24 years ago
|
||
This bug is clearly the same symtom as bug 77788.
Ed, I suggest you look at
http://bugzilla.mozilla.org/attachment.cgi?id=32377&action=view
(an attachment to bug 77788 that shows a good build) and compare your own
build log to it. The two should be the same except for directory names.
In particular, the command line arguments to cc and ld must be the same,
especially the -D_something options. If they are not, then you've got a
problem with environment variables or make variables.
One other possibility: are you pulling NSS with the right tag?
This code does build OK on Solaris 8 when the right version of the code
is pulled and the environment variables are correct for that version.
*** This bug has been marked as a duplicate of 77788 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Comment 6•24 years ago
|
||
Ed:
If you use csh or tcsh, do this:
env CFLAGS=-xO2 ./configure
If you use sh, ksh, or bash, do this:
CFLAGS=-xO2 ./configure
This will set CFLAGS *only* in the environment for ./configure.
CFLAGS won't be set in your environment for other processes.
Comment 7•24 years ago
|
||
Ed:
You may want to check with Shirley Woo on this particular build problem.
You need to log in
before you can comment on or make changes to this bug.
Description
•