wiki:nss

Version 6 (modified by voidbeast, 14 years ago) ( diff )

--

NSS

x86_64

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

make USE_64=1 nss_build_all

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

Note: See TracWiki for help on using the wiki.