Closed Bug 2000737 Opened 8 months ago Closed 6 months ago

Simplify freebl.gyp

Categories

(NSS :: Build, enhancement, P3)

enhancement

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jschanck, Assigned: jschanck)

References

Details

Attachments

(10 files, 2 obsolete files)

48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review
48 bytes, text/x-phabricator-request
Details | Review

freebl.gyp is too complex. We should refactor it into several gyp files that build smaller static libraries. Let's start by pulling out a GCM library.

Example usage:
CC=powerpc64le-linux-gnu-gcc CXX=powerpc64le-linux-gnu-g++ ./build.sh -t ppc64le --build-tools-cc=clang

Summary: factor a gcm library out of freebl.gyp → Simplify freebl.gyp

Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/7a67fcb48ad8
fix logic for disabling altivec in gyp builds. r=nss-reviewers,nkulatova

Status: ASSIGNED → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/projects/nss/rev/7b3624db83a1 remove unused MP_IS_LITTLE_ENDIAN defines. r=nss-reviewers,keeler
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/projects/nss/rev/07ddcc93331a simplify cross-compilation from build.sh. r=nss-reviewers,nkulatova https://hg.mozilla.org/projects/nss/rev/a8334be4667f separate ppc sha512 library from ppc gcm library. r=nss-reviewers,nkulatova https://hg.mozilla.org/projects/nss/rev/5c71d78a242b use hardware x64 GCM in static builds. r=nss-reviewers,nkulatova
Attachment #9527955 - Attachment is obsolete: true
Pushed by jschanck@mozilla.com: https://hg.mozilla.org/projects/nss/rev/fb4c6085975d fix compilation failure on ia32. r=nss-reviewers,rrelyea
Attachment #9527313 - Attachment is obsolete: true

A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)

Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by jschanck@mozilla.com:
https://hg.mozilla.org/projects/nss/rev/e528f499968a
simplify compilation of platform-specific GCM and GHASH. r=nss-reviewers,keeler
https://hg.mozilla.org/projects/nss/rev/a6c7b50c0b1f
rename C files for platform-specific ghash implementations. r=nss-reviewers,keeler
https://hg.mozilla.org/projects/nss/rev/351b0cdf9b84
rename intel-{aes,gcm}.s to .S. r=nss-reviewers,keeler
https://hg.mozilla.org/projects/nss/rev/c3eaddbd1b12
Darwin compatibility for intel-aes.S and intel-gcm.S. r=nss-reviewers,keeler

Status: REOPENED → RESOLVED
Closed: 8 months ago6 months ago
Resolution: --- → FIXED
Regressions: 2014474

We probably should update all the references in the Makefile from intel-.s to intel-.S just for sanity rather than depend on some automated translation of those in the Makefile.

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: