Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Dec 2019 00:06:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        gecko@FreeBSD.org
Subject:   [Bug 242521] security/nss: fix build on powerpc*
Message-ID:  <bug-242521-21738-EbzYKvDasF@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-242521-21738@https.bugs.freebsd.org/bugzilla/>
References:  <bug-242521-21738@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D242521

--- Comment #2 from Piotr Kubaj <pkubaj@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=3Dimplicit-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=3D1589073. Strangely, clang on=
 elfv2
can compile it.

I tried to build with -Wno-error=3Dimplicit-function-declaration, but then
there's an issue about PR_ASSERT_ARG being unfound symbol.

Still investigating.

--=20
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-242521-21738-EbzYKvDasF>