Closed Bug 1657502 Opened 4 years ago Closed 4 years ago

Disable new -Wpsabi warning in clang-11

Categories

(Firefox Build System :: Toolchains, defect)

defect

Tracking

(firefox81 fixed)

RESOLVED FIXED
81 Branch
Tracking Status
firefox81 --- fixed

People

(Reporter: away, Assigned: away)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

No description provided.
Summary: Disable new -Wpsabi warning in clang-12 → Disable new -Wpsabi warning in clang-11

clang-11 has a new warning that fires when you pass a 256-bit vector type as a parameter or return value, and your compilation doesn't enable AVX. The aim is to warn you that the ABI is different depending on whether you enable AVX, which could become a problem if AVX and non-AVX files communicate through such parameters.

While the intent is good, it's not really worth 1800 lines of log spam for us. We have only a tiny number of AVX compilations in media codecs, and the only things they interchange with other code are buffer pointers.

Pushed by dmajor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a029e89af6fa
Disable new -Wpsabi warning in clang-11 r=firefox-build-system-reviewers,rstewart
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 81 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: