[Bug 242521] security/nss: fix build on powerpc*
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed Dec 11 00:06:27 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242521
--- Comment #2 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
It's another, unrelated issue, but there's a problem with building on elfv1.
Newer GCC is now necessary than base has, due to the usage of -mcrypto.
However, GCC9 complains:
certdb.c: In function 'CERT_UnlockCertRefCount':
../../../dist/public/nss/secport.h:127:24: error: implicit declaration of
function 'PR_ASSERT_ARG'; did you mean 'PR_ASSERT'?
[-Werror=implicit-function-declaration]
127 | #define PORT_AssertArg PR_ASSERT_ARG
| ^~~~~~~~~~~~~
It seems to be in the code that was introduced recently in
https://bugzilla.mozilla.org/show_bug.cgi?id=1589073. Strangely, clang on elfv2
can compile it.
I tried to build with -Wno-error=implicit-function-declaration, but then
there's an issue about PR_ASSERT_ARG being unfound symbol.
Still investigating.
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the freebsd-gecko
mailing list