Closed
Bug 100556
Opened 24 years ago
Closed 24 years ago
crypto fails to build under solaris
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
3.4
People
(Reporter: klierman, Assigned: nelson)
Details
From Bugzilla Helper:
User-Agent: Mozilla/4.78 [en] (X11; U; SunOS 5.6 sun4u)
BuildID: 0.9.4
on my solaris 2.6 system:
SunOS beta1 5.6 Generic_105181-20 sun4u sparc SUNW,Ultra-60
mozilla builds and runs fine w/out crypto, but when i add it, the build fails
at:
make[4]: Entering directory
`/net/beta40/export/usr1/beta40/ltmp/tmpspace/mozilla/security/nss/lib/freebl/SunOS5.6_OPT.OBJ/SunOSpure32'
rm -f SunOS5.6_OPT.OBJ/libfreebl_pure32_3.so
gcc -G -h libfreebl_pure32_3.so -shared
-Wl,-B,symbolic,-z,defs,-z,now,-z,text,-M,mapfile.Solaris -o
SunOS5.6_OPT.OBJ/libfreebl_pure32_3.so SunOS5.6_OPT.OBJ/ldvector.o
SunOS5.6_OPT.OBJ/prng_fips1861.o SunOS5.6_OPT.OBJ/sha_fast.o
SunOS5.6_OPT.OBJ/md2.o SunOS5.6_OPT.OBJ/md5.o SunOS5.6_OPT.OBJ/alg2268.o
SunOS5.6_OPT.OBJ/arcfour.o SunOS5.6_OPT.OBJ/arcfive.o
SunOS5.6_OPT.OBJ/desblapi.o SunOS5.6_OPT.OBJ/des.o SunOS5.6_OPT.OBJ/rijndael.o
SunOS5.6_OPT.OBJ/dh.o SunOS5.6_OPT.OBJ/pqg.o SunOS5.6_OPT.OBJ/dsa.o
SunOS5.6_OPT.OBJ/rsa.o SunOS5.6_OPT.OBJ/mpprime.o SunOS5.6_OPT.OBJ/mpmontg.o
SunOS5.6_OPT.OBJ/mplogic.o SunOS5.6_OPT.OBJ/mpi.o
/net/beta40/export/usr1/beta40/ltmp/tmpspace/mozilla/dist/lib/libsecutil.a
-L/net/beta40/export/usr1/beta40/ltmp/tmpspace/mozilla/dist/lib/ -lplc4 -lplds4
-lnspr4 -lc
Undefined first referenced
symbol in file
s_mpv_mul_d SunOS5.6_OPT.OBJ/mpmontg.o
conv_i32_to_d32_and_d16 SunOS5.6_OPT.OBJ/mpmontg.o
s_mpv_mul_d_add SunOS5.6_OPT.OBJ/mpi.o
mont_mulf_noconv SunOS5.6_OPT.OBJ/mpmontg.o
s_mpv_mul_d_add_prop SunOS5.6_OPT.OBJ/mpmontg.o
conv_i32_to_d32 SunOS5.6_OPT.OBJ/mpmontg.o
conv_i32_to_d16 SunOS5.6_OPT.OBJ/mpmontg.o
ld: fatal: Symbol referencing errors. No output written to
SunOS5.6_OPT.OBJ/libfreebl_pure32_3.so
collect2: ld returned 1 exit status
make[4]: *** [SunOS5.6_OPT.OBJ/libfreebl_pure32_3.so] Error 1
make[4]: Leaving directory
`/net/beta40/export/usr1/beta40/ltmp/tmpspace/mozilla/security/nss/lib/freebl/SunOS5.6_OPT.OBJ/SunOSpure32'
make[3]: *** [libs] Error 2
i looked at it enough to see that some of those undefined functions are actually
defined in:
security/nss/lib/freebl/mpi/*
but we don't seem to have built in that directory, or be including the library
it builds....
Reproducible: Always
Steps to Reproduce:
build with .mozconfig of:
ac_add_options --prefix=$HOME/bradHD/gnome/
ac_add_options --disable-tests
ac_add_options --disable-debug
# doesn't work on sun
#ac_add_options --enable-strip-libs
ac_add_options --disable-mailnews
ac_add_options --enable-optimize
ac_add_options --with-default-mozilla-five-home=$HOME/bradHD/gnome/bin/mozilla
ac_add_options --disable-ldap
ac_add_options --with-zlib=$HOME/bradHD/gnome
ac_add_options --enable-crypto
MOZILLA_OFFICIAL=1
export MOZILLA_OFFICIAL
BUILD_OFFICIAL=1
export BUILD_OFFICIAL
Actual Results: build fails as listed in desc.
Expected Results: build clean :)
i have the complete output of the build, which the directories that were
recursed into, etc, if that would help.
-> build config
Assignee: asa → cls
Component: Browser-General → Build Config
QA Contact: doronr → granrose
This looks like the same problem edburns was having a couple of weeks ago. I
thought it was fixed? Reassiging to NSS.
Assignee: cls → wtc
Status: UNCONFIRMED → NEW
Component: Build Config → Build
Ever confirmed: true
Product: Browser → NSS
QA Contact: granrose → wtc
Target Milestone: --- → 3.4
Version: other → 3.3.1
Comment 3•24 years ago
|
||
This is a duplicate. We didn't fix this bug.
This problem is caused by having CFLAGS set in
your environment.
The workaround is to not set CFLAGS as an
environment variable. Instead, specify CFLAGS
when you run configure. For example, in Bourne
shell:
CFLAGS=-xO2 ./configure
In csh:
env CFLAGS=-xO2 ./configure
Nelson, could you look up the original bug and
mark this bug as a duplicate? Thanks.
Assignee: wtc → nelsonb
Assignee | ||
Comment 4•24 years ago
|
||
*** This bug has been marked as a duplicate of 77788 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy, annoying isn't it?
URL: http://none
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•