2009/11/22 Maciej Bliziński <[email protected]>: > > I've also built it with debugging symbols and ran it under a debugger. > Here's where it's aborting: > > [1] 0xff3db7b0(0xffbfe220, 0xa3, 0x1, 0x6, 0x0, 0x6), at 0xff3db7b0 > [2] 0xff3d7ff4(0x1, 0x6, 0x0, 0xfefbc000, 0xff166000, 0x0), at 0xff3d7ff4 > [3] 0xff3db710(0x1, 0x6, 0x0, 0xfefbc000, 0xff166000, 0x0), at 0xff3db710 > [4] raise(0x6, 0x0, 0x0, 0xffffffff, 0xfefc03cc, 0x29010), at 0xfef4bd1c > [5] abort(0xfefbc000, 0xff1b3e18, 0xff1b2984, 0x1494, 0x1e90c, > 0x1400), at 0xfef35a34 > =>[6] PR_NewLock_stub(), line 429 in "stubs.c" > [7] rng_init(), line 391 in "drbg.c" > [8] PR_CallOnce(0x1494, 0xfec3ac08, 0x1400, 0x27c24, 0xfecbdcfc, > 0xff1b2984), at 0xff18adcc > [9] PR_CallOnce_stub(once = 0xfecbdcfc, func = 0xfec3ac08 = > &`libfreebl_32fpu_3.so`drbg.c`rng_init()), line 463 in "stubs.c" > [10] RNG_RNGInit(), line 469 in "drbg.c" > [11] RNG_RNGInit(), line 834 in "loader.c" > [12] nsc_CommonInitialize(pReserved = 0xffbfe8f4, isFIPS = 0), line > 2582 in "pkcs11.c" > [13] NSC_Initialize(pReserved = 0xffbfe8f4), line 2710 in "pkcs11.c" > [14] softokn_Init(pFunctionList = 0xfee59224, configDir = (nil), > dbPrefix = (nil)), line 474 in "shlibsign.c" > [15] main(argc = 4, argv = 0xffbff314), line 802 in "shlibsign.c" > > It looks like the stubs from stubs.c don't get overriden by real > functions.
You should not define FREEBL_NO_DEPEND when building NSS on Solaris. The FREEBL_NO_DEPEND build configuration supports only Linux. Wan-Teh -- dev-tech-crypto mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-crypto

