Configure script should say why it uses a certain compiler
Categories
(Firefox Build System :: General, enhancement, P5)
Tracking
(firefox81 fixed)
| Tracking | Status | |
|---|---|---|
| firefox81 | --- | fixed |
People
(Reporter: KaiE, Assigned: mhentges)
References
Details
(Keywords: in-triage)
Attachments
(1 file)
Yesterday, we spent hours investigating why a specific compiler was used on my macOS system (a compiler that didn't work).
It turned out that the configure script has internal logic to decide which compiler is used, based on environmental factors such as the release branch:
Suggestion:
The configure script should print a message, near the output that is printed for testing compilers, that explains the detection strategy.
It could be as simple as "preferring the use of globally installed compilers, because building a release" or "preferring the use of the mozbuild compiler".
Thanks to :froydnj who eventually solved the mystery.
Thanks also to :dmajor and :padenot who also helped.
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 1•5 years ago
|
||
The order in which toolchain binaries are resolved change based on environmental factors,
such as whether Firefox is being built in release mode or not.
An informative log was added in either case.
Comment 3•5 years ago
|
||
| bugherder | ||
Description
•