maintainer-approval requested: [Bug 242521] security/nss: fix build on powerpc* : [Attachment 209861] patch

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Dec 11 11:43:15 UTC 2019


Piotr Kubaj <pkubaj at FreeBSD.org> has asked freebsd-gecko mailing list
<gecko at FreeBSD.org> for maintainer-approval:
Bug 242521: security/nss: fix build on powerpc*
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242521

Attachment 209861: patch
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209861&action=edit



--- Comment #4 from Piotr Kubaj <pkubaj at FreeBSD.org> ---
Created attachment 209861
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=209861&action=edit
patch

Is that ok?

New compiler is needed due to usage of -mcrypto and -mvsx. -mcrypto is added in
nss's code and -mvsx is added by me because nss won't build otherwise:
altivec-types.h:19:1: error: use of 'long long' in AltiVec types is invalid
without '-mvsx'

I also removed i386 section since it has C++14 capable compiler on all versions
already.


More information about the freebsd-gecko mailing list