[Bug 242523] security/nss 3.48 doesn't build on PowerPC

[email protected]
Newsgroups gmane.os.freebsd.devel.ppc
Message-ID <[email protected]/bugzilla/>
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=242523

Piotr Kubaj <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
 Attachment #209971|0                           |1
        is obsolete|                            |
 Attachment #210548|                            |maintainer-approval?(gecko@
              Flags|                            |FreeBSD.org)

--- Comment #17 from Piotr Kubaj <[email protected]> ---
Created attachment 210548
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=210548&action=edit
v2

- Fix build without AltiVec, Crypto and VSX by moving altivec-types.h include
to USE_PPC_CRYPTO's ifdef -this header is not necessary without USE_PPC_CRYPTO
enabled,
- Enable USE_PPC_CRYPTO on BE as well if VSX and Crypto are supported,
- Add non-default VSX option for adding -mvsx -mcrypto to set USE_PPC_CRYPTO,
- since we don't need new GCC now, don't set USES=compiler:c11 by default.

This fixes powerpc and powerpc64 build without AltiVec, Crypto and VSX and
makes it possible to use USE_PPC_CRYPTO which should accelerate things.

make test output without this patch:
Passed:             14415
Failed:             58
Failed with core:   0
ASan failures:      0
Unknown status:     52
TinderboxPrint:Unknown: 52

And with:
Passed:             14471
Failed:             2
Failed with core:   0
ASan failures:      0
Unknown status:     52
TinderboxPrint:Unknown: 52

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ppc
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.