Closed Bug 1115944 Opened 5 years ago Closed 3 years ago
Cannot make libnssutil3 : unix
.c:3049: undefined reference to `clock _gettime'
58 bytes, text/x-review-board-request
User Agent: Mozilla/5.0 (X11; Linux i686; rv:22.0) Gecko/20100101 Firefox/22.0 SeaMonkey/2.19 Build ID: 20130714085432 Steps to reproduce: - download seamonkey-2.32b2.source.tar.bz2 - untar - ./configure --disable-gstreamer - make Actual results: make doesnt work /root/comm-beta/dist/lib/libnspr4.a(unix.o): In function `_PR_UNIX_GetInterval2': /root/comm-beta/mozilla/nsprpub/pr/src/md/unix/unix.c:3049: undefined reference to `clock_gettime' collect2: ld returned 1 exit status make: *** [/root/comm-beta/security/nss/lib/util/libnssutil3.so] Error 1 make: Leaving directory `/root/comm-beta/mozilla/security/nss/lib/util' make: *** [libs] Error 2 make: Leaving directory `/root/comm-beta/mozilla/security/nss/lib' make: *** [libs-nss/lib] Error 2 make: Leaving directory `/root/comm-beta/config/external/nss' make: *** [config/external/nss/target] Error 2 make: Leaving directory `/root/comm-beta' make: *** [compile] Error 2 make: Leaving directory `/root/comm-beta' make: *** [default] Error 2
This can be closed, it was a bug in the OS.
Status: UNCONFIRMED → RESOLVED
Closed: 4 years ago
Resolution: --- → INVALID
This is actually a real bug. It was first described (afaik) in https://groups.google.com/d/msg/mozilla.dev.builds/Q2NgFd9l0PY/trT50kl0EeMJ And, in fact, I just figured today why it's happening: there's a missing dependency between nss and nspr in root-deps.mk.
Status: RESOLVED → REOPENED
Ever confirmed: true
Product: SeaMonkey → Core
Resolution: INVALID → ---
Version: SeaMonkey 2.32 Branch → unspecified
Presumably the patches in bug 1295937 would also fix this, then.
Comment on attachment 8807449 [details] Bug 1115944 - Work around race condition between building NSPR and NSS. https://reviewboard.mozilla.org/r/90582/#review90408 LGTM - ted, can you verify that bug 1295937 maintains this behavior if it fixes it in a different way? I didn't see this same change in your patches, but I might have missed it.
Attachment #8807449 - Flags: review?(mshal) → review+
ni?ted just so you see #c5.
Pushed by email@example.com: https://hg.mozilla.org/integration/autoland/rev/b439e504fc3e Work around race condition between building NSPR and NSS. r=mshal
mshal: it works with those patches because the NSS build is no longer external--it emits Library objects for everything it builds, so the build system can order the dependencies appropriately.
You need to log in before you can comment on or make changes to this bug.