wiki:nss

NSS

Old notes, retained in case still useful

ppc64

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.

Test Suite: CRL tests

cert.sh uses the local time when creating revocation lists. This can cause a number of tests (130 out of 800) to fail.

Fix:

cd mozilla/security/nss/tests/cert/ &&
sed 's/date "*+%Y%m%d%H%M%SZ"*/date -u "+%Y%m%d%H%M%SZ"/g' < cert.sh \
    > cert.sh.tmp && mv cert.sh.tmp cert.sh

x86

NSS is unlikely to compile with MAKEFLAGS set to "-j 2". The build process relies on files that it creates for itself very early in the process, so make sure to turn off multi-threaded builds for this one (though it is not recommended that you use the "-j 2" option at all).

Up
Top

Last modified 19 months ago Last modified on 01/10/2020 03:13:31 AM
Note: See TracWiki for help on using the wiki.