This is done in the most failsafe way by making sure that all variables
that where previously set through MOZ_CREATE_CONFIG_STATUS() from
old-configure are still set from init.configure.
Some of them are probably not used by the build system but their removal
is left to another patch, as this excision is already a big change in
itself.
As a side effect, remove all m4-related configuration and usage.
Differential Revision: https://phabricator.services.mozilla.com/D243457
This is done in the most failsafe way by making sure that all variables
that where previously set through MOZ_CREATE_CONFIG_STATUS() from
old-configure are still set from init.configure.
Some of them are probably not used by the build system but their removal
is left to another patch, as this excision is already a big change in
itself.
As a side effect, remove all m4-related configuration and usage.
This impacts all mozconfig files that used to just set a variable to be
passed to the configuration step, instead of exporting them. As this
method was relying on old-configure, we now require to export the
variables to be passed to the configure step, the others are ignored
(but can still be used as local variables).
Differential Revision: https://phabricator.services.mozilla.com/D243457
This is done in the most failsafe way by making sure that all variables
that where previously set through MOZ_CREATE_CONFIG_STATUS() from
old-configure are still set from init.configure.
Some of them are probably not used by the build system but their removal
is left to another patch, as this excision is already a big change in
itself.
As a side effect, remove all m4-related configuration and usage.
Differential Revision: https://phabricator.services.mozilla.com/D243457
If no AC_DEFINE are used, then confdefs.pytmp is never created, which
leads to bug 1905373.
This bug is a good sign, it means we're no longer using a lot of
autoconf stuff!
Differential Revision: https://phabricator.services.mozilla.com/D215240
The related bug was fixed in rustc 1.74, and we require 1.76.
This impacts the buildid section which gets modified by asan, so we
exclude it from the asan process through an attribute.
Differential Revision: https://phabricator.services.mozilla.com/D212532
Back when this was done, we had some trouble with make calling commands
through the shell instead of via CreateProcess on Windows, which made
the intermediate shell replace /ARG with c:\path\to\msys\ARG paths,
which didn't end up well.
This however doesn't happen anymore, so we can get rid of the hack.
That leaves us with only the backslash problem, but because it's a windows
problem, rather than being related to the compiler being clang-cl, we also
fix the condition under which we make the switch to forward slashes.
Differential Revision: https://phabricator.services.mozilla.com/D213538
For some reason, we ended up using -Xclang -std=c++17, when we could
just have used -std:c++17, which simplifies things.
Differential Revision: https://phabricator.services.mozilla.com/D213537
-isysroot was appearing in the llvm-config output on mac in very old
clang.llvm.org builds. The latest builds don't do that anymore, and our
own bootstrapped builds don't either.
-gcc-toolchain was filtered out because we were using it to build our
own clang and that transpired in llvm-config, but we don't anymore, as
of bug 1719226.
Differential Revision: https://phabricator.services.mozilla.com/D213534
The related bug was fixed in rustc 1.74, and we require 1.76.
This impacts the buildid section which gets modified by asan, so we
exclude it from the asan process through an attribute.
Differential Revision: https://phabricator.services.mozilla.com/D212532
The related bug was fixed in rustc 1.74, and we require 1.76.
This impacts the buildid section which gets modified by asan, so we
exclude it from the asan process through an attribute.
Differential Revision: https://phabricator.services.mozilla.com/D212532
While we're at it, also make it possible to activate icf in
developer mode, while not changing the default.
Also remove mentions to LD_PRINT_ICF_SECTIONS as it was never
referenced.
Differential Revision: https://phabricator.services.mozilla.com/D210037
Also:
- deactivate LLVM_SYMBOLIZER on android mozconfig as we don't cross compile it yet.
- enforce LLVM_SYMBOLIZER when fuzzing is on
- fix osx packaging to include llvm-symbolizer when fuzzing, and provide
it through tc
Differential Revision: https://phabricator.services.mozilla.com/D210190