libffi 3.3 update breaks under clang-11
Categories
(Core :: js-ctypes, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox-esr68 | --- | unaffected |
firefox-esr78 | --- | unaffected |
firefox80 | --- | unaffected |
firefox81 | --- | fixed |
firefox82 | --- | fixed |
People
(Reporter: away, Assigned: froydnj)
References
(Regression)
Details
(Keywords: regression)
Attachments
(1 file)
47 bytes,
text/x-phabricator-request
|
jcristau
:
approval-mozilla-beta+
|
Details | Review |
On x86 Linux (and x86 Android) builds:
js/src/ctypes/libffi/src/x86/sysv.S:830:1: error: changed section type for .eh_frame, expected: 0x1
This error was added in clang-11: https://github.com/llvm/llvm-project/commit/75af9da755721123e62b45cd0bc0c5e688a9722a
If this only happens on 32-bit builds, how come we satisfied #elif defined(HAVE_AS_X86_64_UNWIND_SECTION_TYPE)
?
Assignee | ||
Comment 2•4 years ago
|
||
Somehow we have had it be a general define, but it has not mattered...at
least it won't matter until we upgrade to clang 11, at which point the
compiler will start to complain at us about the codepaths this define
activates.
Updated•4 years ago
|
Confirmed the patch fixes the build, thanks Nathan!
Comment 5•4 years ago
|
||
bugherder |
Comment 6•4 years ago
|
||
Set release status flags based on info from the regressing bug 1659906
Updated•4 years ago
|
Assignee | ||
Comment 8•4 years ago
|
||
Comment on attachment 9171763 [details]
Bug 1660828 - move HAVE_AS_X86_64_UNWIND_SECTION_TYPE
to be x86-64 Unix-specific; r=#build
Beta/Release Uplift Approval Request
- User impact if declined: No user impact, but people building with clang 11 will be able to complete their builds.
- Is this code covered by automated tests?: Yes
- Has the fix been verified in Nightly?: Yes
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): This is purely a build-time fix and its effects are well-understood.
- String changes made/needed: None
Updated•4 years ago
|
Comment 9•4 years ago
|
||
Comment on attachment 9171763 [details]
Bug 1660828 - move HAVE_AS_X86_64_UNWIND_SECTION_TYPE
to be x86-64 Unix-specific; r=#build
approved for 81.0b3
Comment 10•4 years ago
|
||
bugherder uplift |
Updated•4 years ago
|
Description
•