Changes between Version 6 and Version 7 of nss


Ignore:
Timestamp:
12/16/2018 08:50:37 PM (5 years ago)
Author:
ken@…
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • nss

    v6 v7  
    11= NSS =
    22
    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
     5The current testsuite is designed to catch regressions in new additions,
     6so every new addiiton should come with one or more tests (I noticed from
     7the diff between 3.40 and 3.40.1 that there ''were'' tests, although the
     8book said there was not a testsuite).
     9
     10Unfortunately, it needs to be run with nspr and nss directories side by
     11side in the top-level directory (which is how combined nspr+nss tarballs
     12present things), and built unoptimized (BUILD_OPT=0).
     13
     14For further details, see [https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/NSS_Sources_Building_Testing]
     15
     16I managed to get that process working on 4.19+3.40 but not with 3.40.1.
    517{{{
    6 make USE_64=1 nss_build_all
     18make -C nss nss_build_all USE64=1
    719}}}
     20That took almost 25 minutes, I don't think the particular CPU makes a lot of difference.
     21For that run, 6 tests failed (look for ' FAILED' in the output), all reporting that a
     22peer's certificate has expired.
    823
    9 == ppc64 ==
     24Unless 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 ===
    1029 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.
    1130
    12 == Test Suite: CRL tests ==
     31=== Test Suite: CRL tests ===
    1332cert.sh uses the local time when creating revocation lists. This can cause
    1433a number of tests (130 out of 800) to fail.