On Thu, Jul 27, 2017 at 12:25:50AM +0100, Stuart Henderson wrote:
> cc -o OpenBSD6.1_OPT.OBJ/OpenBSD_SINGLE_SHLIB/pqg.o -c -O -fPIC -DPIC -Di386 
> -Wall -Wno-switch -pipe -DOPENBSD -Wall -Qunused-arguments 
> -Wno-parentheses-equality -Wno-array-bounds -Wno-unevaluated-expression 
> -Werror -DXP_UNIX -DSHLIB_SUFFIX=\"so.48.0\" -DSHLIB_PREFIX=\"lib\" 
> -DSHLIB_VERSION=\"3\" -DSOFTOKEN_SHLIB_VERSION=\"3\" 
> -DRIJNDAEL_INCLUDE_TABLES -UDEBUG -DNDEBUG -pthread -DNSS_NO_INIT_SUPPORT 
> -DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT 
> -DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES -DNSS_X86_OR_X64 -DNSS_X86 
> -DMP_API_COMPATIBLE -I/usr/local/include/nspr 
> -I../../../dist/OpenBSD6.1_OPT.OBJ/include -I../../../dist/public/nss 
> -I../../../dist/private/nss -Impi -Iecl -I/usr/local/include -O2 -pipe   pqg.c
> pqg.c:345:16: error: comparison of constant 18446744073709551615 with 
> expression of type 'unsigned long' is always true 
> [-Werror,-Wtautological-constant-out-of-range-compare]
>     if (addend < MP_DIGIT_MAX) {
>         ~~~~~~ ^ ~~~~~~~~~~~~
> 1 error generated.
> gmake[3]: *** [../../coreconf/rules.mk:393: 
> OpenBSD6.1_OPT.OBJ/OpenBSD_SINGLE_SHLIB/pqg.o] Error 1

There was a similar bug on mips in breakpad:
https://bugzilla.mozilla.org/show_bug.cgi?id=1316159

But there doesnt seem to be an upstream bug for nss, so i filed
https://bugzilla.mozilla.org/show_bug.cgi?id=1384827

Reply via email to