https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242521

--- Comment #2 from Piotr Kubaj <pku...@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.
_______________________________________________
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"

Reply via email to