Changes between Version 6 and Version 7 of nss
- Timestamp:
- 12/16/2018 08:50:37 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
nss
v6 v7 1 1 = NSS = 2 2 3 == x86_64 == 4 On x86_64 the build will default to 32-bit. In multilib, this may be exactly what you want. In pure64, it will fail to build. You can get around this with 3 == The testsuite in modern versions of nss == 4 5 The current testsuite is designed to catch regressions in new additions, 6 so every new addiiton should come with one or more tests (I noticed from 7 the diff between 3.40 and 3.40.1 that there ''were'' tests, although the 8 book said there was not a testsuite). 9 10 Unfortunately, it needs to be run with nspr and nss directories side by 11 side in the top-level directory (which is how combined nspr+nss tarballs 12 present things), and built unoptimized (BUILD_OPT=0). 13 14 For further details, see [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Sources_Building_Testing] 15 16 I managed to get that process working on 4.19+3.40 but not with 3.40.1. 5 17 {{{ 6 make USE_64=1 nss_build_all18 make -C nss nss_build_all USE64=1 7 19 }}} 20 That took almost 25 minutes, I don't think the particular CPU makes a lot of difference. 21 For that run, 6 tests failed (look for ' FAILED' in the output), all reporting that a 22 peer's certificate has expired. 8 23 9 == ppc64 == 24 Unless you intend to hack on nss/nspr, running the tests on a released version is not recommended. 25 26 == Old notes, retained in case still useful == 27 28 === ppc64 === 10 29 On ppc64, building 32-bit barfs on -z defs when CC is overridden to "gcc -m32". Use the patch at [http://www.linuxfromscratch.org/patches/downloads/nss/nss-3.11-zdefs-1.patch] and read the instructions in it. 11 30 12 == Test Suite: CRL tests==31 === Test Suite: CRL tests === 13 32 cert.sh uses the local time when creating revocation lists. This can cause 14 33 a number of tests (130 out of 800) to fail.