Closed Bug 1851754 Opened 3 years ago Closed 3 years ago

Upgrade minimum supported Clang version to 8

Categories

(Firefox Build System :: Toolchains, task)

task

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 external file)

Per https://glandium.github.io/firefox-linux-compat-matrix/#scope=build&version=119&show_eol=false this leaves out SUSE SLE-12-SP5, SUSE SLE-15-SP1, and RHEL 8.0. Newer RHEL 8.x have newer versions of clang, so I assume this is fine for RedHat (Martin, can you confirm?). SUSE SLE-12-SP5 are already SUSE SLE-15-SP1 not supported in to build Firefox per the requirement for Python 3.7, so I assume this is fine for SUSE too? (other Martin, can you confirm?)

Flags: needinfo?(stransky)
Flags: needinfo?(msirringhaus)

(In reply to Mike Hommey [:glandium] from comment #0)

Per https://glandium.github.io/firefox-linux-compat-matrix/#scope=build&version=119&show_eol=false this leaves out SUSE SLE-12-SP5, SUSE SLE-15-SP1, and RHEL 8.0. Newer RHEL 8.x have newer versions of clang, so I assume this is fine for RedHat (Martin, can you confirm?). SUSE SLE-12-SP5 are already SUSE SLE-15-SP1 not supported in to build Firefox per the requirement for Python 3.7, so I assume this is fine for SUSE too? (other Martin, can you confirm?)

We use the gcc for the RHELs, does it affect us anyway?

Flags: needinfo?(mh+mozilla)

(In reply to Jan Horak [:jhorak] from comment #1)

We use the gcc for the RHELs, does it affect us anyway?

clang (libclang) is required for bindgen even when you use gcc.

Flags: needinfo?(mh+mozilla)

RHEL uses additional build setup with new clang/gcc so we should not be affected by such change for next ESR line release.

Flags: needinfo?(stransky)

(In reply to Mike Hommey [:glandium] from comment #0)

Per https://glandium.github.io/firefox-linux-compat-matrix/#scope=build&version=119&show_eol=false this leaves out SUSE SLE-12-SP5, SUSE SLE-15-SP1, and RHEL 8.0. Newer RHEL 8.x have newer versions of clang, so I assume this is fine for RedHat (Martin, can you confirm?). SUSE SLE-12-SP5 are already SUSE SLE-15-SP1 not supported in to build Firefox per the requirement for Python 3.7, so I assume this is fine for SUSE too? (other Martin, can you confirm?)

We have indeed only LLVM7 at the moment on those codestreams. I'll try to port LLVM9 there and come back to you.

Regarding python: We did backport python for building Firefox there. Yes, I should send a PR about this.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #3)

RHEL uses additional build setup with new clang/gcc so we should not be affected by such change for next ESR line release.
Not on RHEL8, but we'll deal with it for the next ESR.

Blocks: 1816576

Backporting a newer LLVM should be doable for us.

Flags: needinfo?(msirringhaus)
Depends on: 1854305
Depends on: 1854308
Depends on: 1854493
Depends on: 1854497
Blocks: 1854519
Blocks: 1854524
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/5a7fc302055d Upgrade minimum supported Clang version to 8. r=firefox-build-system-reviewers,ahochheiden
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: