Allow to build using clang's integrated assembler
Categories
(NSS :: Build, task)
Tracking
(Not tracked)
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file)
This is related to bug 1724353, but I'm not going to go with a full fix for reasons that will be enunciated in the phabricator summary.
Assignee | ||
Comment 1•2 years ago
|
||
Since clang 9, NSS can build for x86_64 without the -fno-integrated-as
flag.
The tricky part is that clang versions are unreliable. For instance, a
check for "clang version 9 or more" would break building with Xcode
versions between 9.0 and 11.3.1 (because clang in those say it has
version >= 9, but they are actually clang versions between 4.0 and 8.0;
the clang version reflects the Xcode version, not the real clang version).
We do have a complicated version check in Firefox that works around
that, but I don't feel like porting this to NSS, so instead, allow
to set a gyp variable to force enable it, and let the Firefox build
system decide for itself.
Assignee | ||
Comment 2•2 years ago
|
||
https://hg.mozilla.org/projects/nss/rev/d982efc0e22d3739246786de419e6051f7a5e4a2
Benjamin, when can we get this in m-c?
Assignee | ||
Updated•2 years ago
|
Comment 3•2 years ago
|
||
As discussed, this will be uplifted to m-c as part of NSS 3.75, right after merge day.
Description
•