Build local-toolchains with a sysroot
Categories
(Firefox Build System :: Toolchains, task)
Tracking
(firefox87 fixed)
Tracking | Status | |
---|---|---|
firefox87 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(7 files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
There are two main kinds of toolchain tasks: those used internally on CI, and those used by bootstrap (local-toolchains). For the former, we don't really care that they're compatible with the largest number of systems. For the latter, it's kind of like Firefox, we want them to run on as many systems it's reasonable to support. So similarly to what we're going to do with Firefox, we'll build the local-toolchains with a sysroot, while upgrading the system version they're built from, without affecting their runtime compatibility.
Assignee | ||
Comment 1•3 years ago
|
||
Assignee | ||
Comment 2•3 years ago
|
||
We can't use the system compiler (gcc) because of
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=786883
(which despite being closed, still is a problem)
We could use the linux64-gcc toolchain, but since we're using clang
on other platforms, we might as well do the same.
Assignee | ||
Comment 3•3 years ago
|
||
For the same reason we used clang for sccache, we use clang here.
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Assignee | ||
Comment 6•3 years ago
|
||
Assignee | ||
Comment 7•3 years ago
|
||
Similarly to sccache, we need to use clang.
Updated•3 years ago
|
Updated•3 years ago
|
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/85b570ccc47a Build clang itself using a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges https://hg.mozilla.org/integration/autoland/rev/42d909d8d162 Build sccache with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges https://hg.mozilla.org/integration/autoland/rev/65e057c86936 Build nasm with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges https://hg.mozilla.org/integration/autoland/rev/79c22334b6bb Build lucetc with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges https://hg.mozilla.org/integration/autoland/rev/e5a8c52b96cc Build minidump-stackwalk with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges https://hg.mozilla.org/integration/autoland/rev/09bd1acd6192 Build fix-stacks with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges https://hg.mozilla.org/integration/autoland/rev/9929f86bcd88 Build cbindgen with a sysroot. r=firefox-build-system-reviewers,sheehan,mhentges
Comment 9•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/85b570ccc47a
https://hg.mozilla.org/mozilla-central/rev/42d909d8d162
https://hg.mozilla.org/mozilla-central/rev/65e057c86936
https://hg.mozilla.org/mozilla-central/rev/79c22334b6bb
https://hg.mozilla.org/mozilla-central/rev/e5a8c52b96cc
https://hg.mozilla.org/mozilla-central/rev/09bd1acd6192
https://hg.mozilla.org/mozilla-central/rev/9929f86bcd88
Description
•