Just filed a bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1326368
Additionally, I commented the below line for nss/lib/certhigh/ocsp.c, #pragma GCC diagnostic ignored "-Wvarargs" and tried to build again. The new building finished. Thanks! 2016-12-30 10:43 GMT+08:00 Martin Thomson <m...@mozilla.com>: > Hi John, > > Could you open a bug? > https://bugzilla.mozilla.org/enter_bug.cgi?product=NSS&component=Libraries > > On Thu, Dec 29, 2016 at 5:19 PM, John Jiang <john.sha.ji...@gmail.com> > wrote: > > Hi, > > I tried to build NSS 3.27.1 [1] on Mac OS X 10.10, but the building ended > > with the following message: > > ocsp.c:2200:32: error: unknown warning group '-Wvarargs', ignored > > [-Werror,-Wunknown-pragmas] > > #pragma GCC diagnostic ignored "-Wvarargs" > > ^ > > 1 error generated. > > make[2]: *** [Darwin14.1.0_64_OPT.OBJ/ocsp.o] Error 1 > > make[1]: *** [libs] Error 2 > > make: *** [libs] Error 2 > > > > How to resolve this issue? > > Thanks! > > > > [1] > > https://ftp.mozilla.org/pub/security/nss/releases/NSS_3_ > 27_1_RTM/src/nss-3.27.1-with-nspr-4.13.tar.gz > > -- > > dev-tech-crypto mailing list > > dev-tech-crypto@lists.mozilla.org > > https://lists.mozilla.org/listinfo/dev-tech-crypto > -- > dev-tech-crypto mailing list > dev-tech-crypto@lists.mozilla.org > https://lists.mozilla.org/listinfo/dev-tech-crypto > -- dev-tech-crypto mailing list dev-tech-crypto@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-tech-crypto