Closed Bug 1591262 Opened 5 years ago Closed 5 years ago

clang cross-compiling to windows changed linkage behavior with clang 9 breaking sccache-dist

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox72 fixed)

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: chmanchester, Assigned: chmanchester)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

MIDL generated code in our build re-defines extern to static a lot and depends on the result being static to avoid duplicate symbol errors when linking. The behavior of our clang when targeting windows from a linux host changed with the clang 9 update, breaking sccache-dist builds.

dmajor, does this sound familiar at all? Is there a set of options we can pass to force the old behavior?

Flags: needinfo?(dmajor)

Ok, I found https://bugs.llvm.org/show_bug.cgi?id=41817, I probably just need to apply the reverting patch when building the cross-toolchain.

Assignee: nobody → cmanchester
Flags: needinfo?(dmajor)

This applies one of the patches we needed to build on windows to the clang
we're using for sccache-dist builds. The upstream issue is described in
https://bugs.llvm.org/show_bug.cgi?id=41817

Pushed by cmanchester@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/ca923afe3ed4 Apply additional patch to clang used for sccache-dist builds. r=firefox-build-system-reviewers,dmajor
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Regressions: 1592402
Has Regression Range: --- → yes
Keywords: regression
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: