Closed Bug 200974 Opened 22 years ago Closed 22 years ago

NetBSD build failure - complains about libnss3.so

Categories

(NSS :: Build, defect)

x86
NetBSD
defect
Not set
blocker

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: chris, Assigned: wtc)

Details

Attachments

(1 file)

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
*** This bug has been marked as a duplicate of 200179 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
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
Changed product to NSS.
Assignee: seawood → wtc
Status: UNCONFIRMED → NEW
Ever confirmed: true
QA Contact: granrose → wtc
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%
Attached patch Proposed patchSplinter Review
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.
That appears to have fixed the problem. It built just fine, and I'm running 1.4a now. Thanks!
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 ago22 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: