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)
Firefox Build System
General
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)
Assignee | ||
Comment 1•5 years ago
|
||
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
Assignee | ||
Updated•5 years ago
|
Flags: needinfo?(dmajor)
Assignee | ||
Comment 2•5 years ago
|
||
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
Comment 4•5 years ago
|
||
bugherder |
Status: NEW → RESOLVED
Closed: 5 years ago
status-firefox72:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla72
Updated•3 years ago
|
Has Regression Range: --- → yes
Updated•3 years ago
|
Keywords: regression
You need to log in
before you can comment on or make changes to this bug.
Description
•