Closed Bug 1557547 Opened 5 years ago Closed 5 years ago

Actively reject clang < 4.0 during configure

Categories

(Firefox Build System :: General, task)

task
Not set
normal

Tracking

(firefox-esr68 fixed, firefox69 fixed)

RESOLVED FIXED
mozilla69
Tracking Status
firefox-esr68 --- fixed
firefox69 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

There's a libclang test for bindgen, but we should reject the compiler in the first place. Bug 1394825 didn't do that.

Bug 1394825 bumped the minimum version of clang we use on automation,
for the base toolchain jobs, and there's a libclang test for bindgen,
but we should reject the compiler in the first place.

The check to do that works in both C and C++, contrary to the original
3.6 test that was checking a C++ feature ; the test was later changed
for 3.9, using a check that would have worked in both C and C++, but
the C exception was left around. We remove it now.

Bugbug thinks this bug is a task, but please change it back in case of error.

Type: defect → task
Pushed by mh@glandium.org:
https://hg.mozilla.org/integration/autoland/rev/4778e168c9ac
Actively reject clang < 4.0 during configure. r=mshal
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla69

Comment on attachment 9070452 [details]
Bug 1557547 - Actively reject clang < 4.0 during configure.

ESR Uplift Approval Request

  • If this is not a sec:{high,crit} bug, please state case for ESR consideration: This allows the patches from bug 1560044 to work without modification. It's also a useful cleanup, making trying to build with clang < 4.0 fail in a better way than what bug 1394825 did.
  • User impact if declined: See above.
  • Fix Landed on Version: 69
  • Risk to taking this patch: Low
  • Why is the change risky/not risky? (and alternatives if risky): Configure change only, covered with a very large number of unit tests.
  • String or UUID changes made by this patch: N/A
Attachment #9070452 - Flags: approval-mozilla-esr68?
Blocks: 1560044

Comment on attachment 9070452 [details]
Bug 1557547 - Actively reject clang < 4.0 during configure.

Needed for bug 1560044. Approved for 68.1esr.

Attachment #9070452 - Flags: approval-mozilla-esr68? → approval-mozilla-esr68+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: