On Tue, Sep 9, 2008 at 5:28 PM, Wan-Teh Chang <[EMAIL PROTECTED]> wrote: > On Tue, Sep 9, 2008 at 4:52 PM, Paul Hoffman <[EMAIL PROTECTED]> wrote: >> >> I nuked mozilla/* and used the two cvs commands above. The make now ends >> with: >> >> /usr/bin/ld: cannot find -lnssutil3 >> gmake[3]: *** >> [FreeBSD7.0_DBG.OBJ/FreeBSD_SINGLE_SHLIB/libfreebl3.so.1.0] Error 1 >> gmake[3]: Leaving directory >> `/usr/home/phoffman/NSS-312/mozilla/security/nss/lib/freebl' > > This is the same problem. We need to track this down. > > http://mxr.mozilla.org/security/source/security/coreconf/FreeBSD.mk#68 > > 68 MOZ_OBJFORMAT := $(shell test -x /usr/bin/objformat && > /usr/bin/objformat || echo elf) > 69 > 70 ifeq ($(MOZ_OBJFORMAT),elf) > 71 DLL_SUFFIX = so > 72 else > 73 DLL_SUFFIX = so.1.0 > 74 endif > > Let's focus on line 68. On your FreeBSD 7.0 system, /usr/bin/objformat > doesn't exist. So we expect that in line 68, "test -x /usr/bin/objformat" > should fail, and therefore we short-circuit "&& /usr/bin/objformat" and > execute "echo elf". But this is not happening. > > I don't have a FreeBSD system, so I tested this makefile fragment > on Linux, and it works.
Paul and I exchanged email today and tracked this down. FreeBSD 7.0 needs a change to mozilla/security/coreconf/FreeBSD.mk that was checked in in July, so it is not in NSS_3_12_RTM: https://bugzilla.mozilla.org/show_bug.cgi?id=436806#c11 However, the fix will be in the upcoming NSS 3.12.1. For now, you can check out NSS with the NSS_3_12_1_RC2 tag: cvs co -r NSS_3_12_1_RC2 NSS Wan-Teh _______________________________________________ dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto