[Bug 242523] security/nss 3.48 doesn't build on PowerPC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523 --- Comment #25 from canardo --- Error when building security/nss on Powerbook G4 powerpc 32 bit : FreeBSD 13.0-CURRENT (GENERIC) #0 r360211: Thu Apr 23 05:00:07 UTC 2020 /usr/ports/security/nss # make -DBATCH install clean ===> Building for nss-3.51.1_1 pqg.c:345:16: error: result of 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[4]: *** [../../coreconf/rules.mk:393: FreeBSD13.0_OPT.OBJ/FreeBSD_SINGLE_SHLIB/pqg.o] Error 1 gmake[4]: Leaving directory '/usr/ports/security/nss/work/nss-3.51.1/nss/lib/freebl' gmake[3]: *** [Makefile:639: libs] Error 2 Is it related to the problem above ? (If not, I can open a new PR) Does the error message help ? -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ freebsd-gecko@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"
[Bug 242523] security/nss 3.48 doesn't build on PowerPC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523 --- Comment #26 from commit-h...@freebsd.org --- A commit references this bug: Author: jbeich Date: Fri May 1 19:45:37 UTC 2020 New revision: 533584 URL: https://svnweb.freebsd.org/changeset/ports/533584 Log: security/nss: disable -Werror due to -Wall mine blinit.c:122:24: error: unused variable 'getauxval' [-Werror,-Wunused-variable] static unsigned long (*getauxval)(unsigned long) = NULL; ^ 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) { ~~ ^ PR: 242523 Changes: head/security/nss/Makefile -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ freebsd-gecko@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"
[Bug 242523] security/nss 3.48 doesn't build on PowerPC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523 --- Comment #27 from commit-h...@freebsd.org --- A commit references this bug: Author: jbeich Date: Fri May 1 19:46:12 UTC 2020 New revision: 533585 URL: https://svnweb.freebsd.org/changeset/ports/533585 Log: MFH: r533584 security/nss: disable -Werror due to -Wall mine blinit.c:122:24: error: unused variable 'getauxval' [-Werror,-Wunused-variable] static unsigned long (*getauxval)(unsigned long) = NULL; ^ 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) { ~~ ^ PR: 242523 Approved by: ports-secteam blanket Changes: _U branches/2020Q2/ branches/2020Q2/security/nss/Makefile -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. ___ freebsd-gecko@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"
[Bug 242523] security/nss 3.48 doesn't build on PowerPC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523 --- Comment #28 from Jan Beich --- (In reply to canardo from comment #25) Fixed. -Wall -Werror by default is recipe for wasting time due to -Wall changing between compiler vendors and compiler versions. https://bugzilla.mozilla.org/show_bug.cgi?id=1384827 -- You are receiving this mail because: You are on the CC list for the bug. You are the assignee for the bug. ___ freebsd-gecko@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-gecko To unsubscribe, send any mail to "freebsd-gecko-unsubscr...@freebsd.org"