Closed
Bug 200974
Opened 22 years ago
Closed 22 years ago
NetBSD build failure - complains about libnss3.so
Categories
(NSS :: Build, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
3.8.1
People
(Reporter: chris, Assigned: wtc)
Details
Attachments
(1 file)
1.41 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.3) Gecko/20030314
Build Identifier: Mozilla/5.0 (X11; U; NetBSD i386; en-US; rv:1.3) Gecko/20030314
Every time that I attempt to build Mozilla 1.4alpha, I get the following error:
gmake[4]: Entering directory
`/usr/chris/compile/mozilla/security/nss/cmd/shlibsign/mangle'
gmake[4]: Nothing to be done for `export'.
gmake[4]: Leaving directory
`/usr/chris/compile/mozilla/security/nss/cmd/shlibsign/mangle'
gcc -o NetBSD1.6_OPT.OBJ/shlibsign.o -c -O -fPIC -DPIC -Di386 -ansi -Wall -pipe
-DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -DSHLIB_SUFFIX=\"so\"
-DSHLIB_PREFIX=\"lib\" -UDEBUG -DNDEBUG -I/usr/X11R6/include
-I/usr/chris/compile/mozilla/dist/include -I../../../../dist/public/nss
-I../../../../dist/private/nss -I../../../../dist/include
-I/usr/chris/compile/mozilla/dist/include/nspr
-I/usr/chris/compile/mozilla/dist/include/dbm -I../../../../dist/public/dbm
-I../../../../dist/public/seccmd shlibsign.c
gcc -o NetBSD1.6_OPT.OBJ/shlibsign -O -fPIC -DPIC -Di386 -ansi -Wall -pipe
-DNETBSD -Dunix -DHAVE_STRERROR -DHAVE_BSD_FLOCK -DXP_UNIX -DSHLIB_SUFFIX=\"so\"
-DSHLIB_PREFIX=\"lib\" -UDEBUG -DNDEBUG -I/usr/X11R6/include
-I/usr/chris/compile/mozilla/dist/include -I../../../../dist/public/nss
-I../../../../dist/private/nss -I../../../../dist/include
-I/usr/chris/compile/mozilla/dist/include/nspr
-I/usr/chris/compile/mozilla/dist/include/dbm -I../../../../dist/public/dbm
-I../../../../dist/public/seccmd NetBSD1.6_OPT.OBJ/shlibsign.o
/usr/chris/compile/mozilla/dist/lib/libsectool.a
-L/usr/chris/compile/mozilla/dist/lib -lssl3 -lsmime3 -lnss3 -lplc4 -lplds4
-lnspr4 -lcompat
ld: warning: libsoftokn3.so, needed by
/usr/chris/compile/mozilla/dist/lib/libnss3.so, not found (try using -rpath or
-rpath-link)
/usr/chris/compile/mozilla/dist/lib/libnss3.so: undefined reference to
`NSC_GetFunctionList'
/usr/chris/compile/mozilla/dist/lib/libnss3.so: undefined reference to
`FC_GetFunctionList'
/usr/chris/compile/mozilla/dist/lib/libnss3.so: undefined reference to
`NSC_ModuleDBFunc'
gmake[3]: *** [NetBSD1.6_OPT.OBJ/shlibsign] Error 1
gmake[3]: Leaving directory `/usr/chris/compile/mozilla/security/nss/cmd/shlibsign'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory `/usr/chris/compile/mozilla/security/manager'
gmake[1]: *** [tier_95] Error 2
gmake[1]: Leaving directory `/usr/chris/compile/mozilla'
gmake: *** [default] Error 2
My .mozconfig is the default:
ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-optimize
ac_add_options --without-system-nspr
ac_add_options --without-system-zlib
ac_add_options --without-system-jpeg
ac_add_options --without-system-png
ac_add_options --without-system-mng
ac_add_options --enable-crypto #comment to disable PSM/SSL support
Reproducible: Always
Steps to Reproduce:
1. Download, create .mozconfig
2. gmake
3. Get error message
Actual Results:
Didn't compile properly
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 200179 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 2•22 years ago
|
||
This bug is not a duplicate of bug 200179. This bug is the NetBSD
version of bug 199134.
Mr. Ewert, could you post the output of the following commands on
your NetBSD system?
% which ld
% ld -v
% gcc -print-prog-name=ld
% `gcc -print-prog-name=ld` -v
Thanks.
Status: RESOLVED → UNCONFIRMED
Component: Build Config → Build
Product: Browser → NSS
Resolution: DUPLICATE → ---
Target Milestone: --- → 3.8.1
Version: Trunk → 3.8
Assignee | ||
Comment 3•22 years ago
|
||
Changed product to NSS.
Assignee: seawood → wtc
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: granrose → wtc
Reporter | ||
Comment 4•22 years ago
|
||
rn-16-23% which ld
/usr/bin/ld
rn-16-23% ld -v
GNU ld version 2.11.2 (with BFD 2.11.2nb1)
rn-16-23% gcc -print-prog-name=ld
ld
rn-16-23% `gcc -print-prog-name=ld` -v
GNU ld version 2.11.2 (with BFD 2.11.2nb1)
rn-16-23%
Assignee | ||
Comment 5•22 years ago
|
||
Thanks for the info. Could you give this patch a try?
Save this patch as gnuld.diff in the parent directory of
your mozilla source tree. (That is, gnuld.diff and mozilla
should be at the same level.) Then say
% patch < gnuld.diff
to apply the patch. Then try your build again.
Reporter | ||
Comment 6•22 years ago
|
||
That appears to have fixed the problem. It built just fine, and I'm running
1.4a now.
Thanks!
Assignee | ||
Comment 7•22 years ago
|
||
Thank you for testing the fix.
I've checked in the fix on the NSS trunk (NSS 3.9),
NSS_3_8_BRANCH (NSS 3.8.1), and NSS_CLIENT_TAG
(mozilla 1.4 beta).
Status: NEW → RESOLVED
Closed: 22 years ago → 22 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•