Hi Milan Jurik wrote: > Hi, > > "C. Bergstr?m" p??e v ?t 30. 12. 2008 v 14:50 +0100: > >> Milan Jurik wrote: >> >>> Hi, >>> >>> "C. Bergstr?m" p??e v ?t 30. 12. 2008 v 14:25 +0100: >>> >>> >>>> There's a few external deps in onnv-gate and I'm trying to track them >>>> down.. In this process nss/nspr came up.. >>>> >>>> 1) I'm not going to build firefox so I can build onnv-gate >>>> 2) nspr builds fine as 32/64bit >>>> 3) nss builds fine as 64bit and dumps core as 32bit.. (yes I could >>>> debug, but this must have been done before) >>>> >>>> /usr/local/src/nss-3.11.9/mozilla/security/nss/cmd/shlibsign/SunOS5.11_i86pc_OPT.OBJ/shlibsign >>>> >>>> -v -i >>>> /usr/local/src/nss-3.11.9/mozilla/security/nss/cmd/shlibsign/../../../../dist/SunOS5.11_i86pc_OPT.OBJ/lib/libsoftokn3.so >>>> make[2]: *** >>>> [../../../../dist/SunOS5.11_i86pc_OPT.OBJ/lib/libsoftokn3.chk] >>>> Segmentation Fault (core dumped) >>>> >>>> So anyone with any build scripts, patches and exact known good versions >>>> is appreciated.. (spec file maybe?) >>>> >>>> Thanks >>>> >>>> >>>> >>> I built nspr and nss several times during autumn, usually from CVS. What >>> core dumped? cc? dmake? >>> >>> >> You can see from above what dumped core.. >> >> > > I'm sorry, it was a bit cryptographical to read it for me. Do you have > core file? > > >> nss-3.11.9 vanilla >> >> /usr/gnu/bin/make 'BUILD_OPT=1' 'XCFLAGS= -I/usr/include/mps' >> 'CC=/opt/SUNWspro/prod/bin/cc' >> >> > > SS12 patched, SXCE b105, CVS log indicates 3.11.10 + few additional > commits. I don't remember because I lost interest in it, so it survived > on my disk only because enough empty space. > > BUILD_OPT=1 gmake nss_build_all > > cc is selected > > [...] > /home/mj162486/Projekty/mozilla-ldap/mozilla/security/nss/cmd/shlibsign/SunOS5.11_i86pc_OPT.OBJ/shlibsign > -v -i > /home/mj162486/Projekty/mozilla-ldap/mozilla/dist/SunOS5.11_i86pc_OPT.OBJ/lib/libsoftokn3.so > Generating DSA Key Pair....done > [...] > > >> Same result for SSX latest and SS12 patched >> >> cc -V >> cc: Sun Ceres C 5.10 SunOS_i386 2008/10/22 >> >> 64bit is fine, but if I build a 64bit nss/nspr/libsqlite3.. then I'm >> going to cross my fingers and start fixing bugs when the whole onnv-gate >> is 64bit clean.. (which I started, but it's a lot of work) So. which >> CVS version/branch? 3.12 added a dep to sqlite3 which would force me to >> redo that build cause then I'd need multilib >> >> > > I can't reproduce your issue, so it could be specific for your setup. > I can't reproduce your environment.. Would you be so kind as to give which CVS revision/branch you've got?
http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/ NSS_3_11_9_RTM/ <http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_11_9_RTM/> and then jumps to NSS_3_12_RTM/ <http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_RTM/> As a middle solution I'm trying to resolve multilib sqlite, but that requires readline and other things to be multilib as well.. Can you also confirm you're using sun cc and not gcc.. I just noticed this may have something to do with it, but not sure.. (since I can work around with custom LDFLAGS and it still produces the core.. (I'll enable debugging and drop the core somewhere if someone is interested..) ldd cmd/shlibsign/SunOS5.11_i86pc_OPT.OBJ/shlibsign libssl3.so => (file not found) libsmime3.so => (file not found) libnss3.so => (file not found) Google also mentioned something about -B symbolic for a BSD related OS, but...
