Use a sysroot for the host part of the build
Categories
(Firefox Build System :: General, task)
Tracking
(firefox92 fixed)
Tracking | Status | |
---|---|---|
firefox92 | --- | fixed |
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(4 files)
Assignee | ||
Comment 2•3 years ago
|
||
This was originally done to avoid renaming the dump_syms toolchain, but
is going to cause problems for the next change.
Assignee | ||
Comment 3•3 years ago
|
||
In cross-compilation setups (x86_64 host, i686 or aarch64 target), we're
going to need two sysroots. Obviously, we need the sysroot paths to be
different in that case, so the sysroot path themselves need to contain
some distinctive name, and we'll use the target.toolchain
name for
that (the target triplet with the vendor/machine stripped out).
Because the path name needs to be reflected in the artifact name as well
as the toolchain name, we also change them.
And because the current prefix in the toolchain name is now redundant
with the suffix, we remove the prefix, and allow the bootstrapping
mechanism to try toolchains without the prefix.
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Comment 5•3 years ago
|
||
Updated•3 years ago
|
Comment 8•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/9ea081598c5c
https://hg.mozilla.org/mozilla-central/rev/123586cb1eaf
https://hg.mozilla.org/mozilla-central/rev/3724f639db2d
https://hg.mozilla.org/mozilla-central/rev/8e41022d4f9d
https://hg.mozilla.org/mozilla-central/rev/7834a5b6798a
Description
•