Commit Graph

11232 Commits

Author SHA1 Message Date
Jesse Schwartzentruber
a6d836c979 Bug 1844595 - Enable fuzzing when snapshot-fuzzing is specified. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D184756
2023-08-01 16:49:56 +00:00
Noemi Erli
72a3108e1e Backed out changeset a2017655dd34 (bug 1844484) for causing failures in test_crash_purevirtual.js 2023-08-01 15:09:51 +03:00
Mike Hommey
cf3f361146 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,ahochheiden
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-08-01 05:32:00 +00:00
Iulian Moraru
f8b5b0e9dc Backed out 3 changesets (bug 1845144) for causing py3 failures on test_toolchain_configure.py. CLOSED TREE
Backed out changeset 5168c7b1cf04 (bug 1845144)
Backed out changeset 6afda17fe413 (bug 1845144)
Backed out changeset d233c63f8121 (bug 1845144)
2023-08-01 06:06:53 +03:00
Brad Werth
9d9f16fe05 Bug 1845144 Part 1: Update toolchain.configure with minimum macOS 10.15 target. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D184432
2023-07-31 22:18:09 +00:00
Kershaw Chang
d773f6d866 Bug 1844387 - Update neqo and remove env_logger, r=glandium,supply-chain-reviewers,sunil
Differential Revision: https://phabricator.services.mozilla.com/D184096
2023-07-31 21:06:08 +00:00
Dave Townsend
60c7c71e2d Bug 1842620: Add overviews of the main applications to the docs. r=Gijs,geckoview-reviewers,owlish,bgrins
Differential Revision: https://phabricator.services.mozilla.com/D183173
2023-07-26 18:22:32 +00:00
ahochheiden
739e9af89c Bug 1845306 - Make some additional commands load all modules so that @SettingsProvider is ran when needed r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D184505
2023-07-25 19:51:32 +00:00
Mike Hommey
47ee59e2d4 Bug 1845175 - Undo bug 1811960. r=firefox-build-system-reviewers,ahochheiden
Now that we have upgraded to a version of rustc that uses LLVM 16, it
can read profile data from LLVM 16, so we don't need to artificially
make the profile data look like LLVM 15's anymore.

Differential Revision: https://phabricator.services.mozilla.com/D184413
2023-07-25 04:50:45 +00:00
Stanca Serban
fd0573c717 Backed out changeset 9f805dc435b5 (bug 1839832) as requested by glandium for causing shippable build bustages. CLOSED TREE 2023-07-25 04:13:29 +03:00
Mike Hommey
bc2d454559 Bug 1844925 - Error out when sccache is enabled but it can't actually be used. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184436
2023-07-25 01:11:04 +00:00
Mike Hommey
38aba1f33c Bug 1844925 - Make it an error to have both SCCACHE_DISABLE and USE_SCCACHE set. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184422
2023-07-25 01:11:04 +00:00
ahochheiden
8e819ce0b9 Bug 1695312 - Add the ability for dispatch to ad-hoc load command modules that aren't already loaded r=firefox-build-system-reviewers,glandium
This is really just shuffling a bunch of things around. None of the
'load_*' member functions of the `Mach` class actually needed to be
member functions. They can all be static so that they can be used
anywhere. That combined with moving all the other 'mach_command' logic
to a different file, allows us to load the module for any command so
that we can successfully dispatch it.

Differential Revision: https://phabricator.services.mozilla.com/D184060
2023-07-25 00:24:53 +00:00
ahochheiden
918f331078 Bug 1695312 - Selectively load only the mach command modules needed for the command about to be run r=firefox-build-system-reviewers,glandium
This makes loading almost all commands faster, since only one module
file is loaded rather than all of them. There is one main exception,
dealing with 'help'. Running `./mach help` (or -h or --help) requires
the description text for every command, so every module file is still
loaded.

We could expand this improvement here to consolidate all commands and
their parameters in this `MACH_COMMANDS` dict, but the only two benefits
are improving help, and not having two places where the commands are
specified (their file, and this dict).

There's a lot of extra work needed to do that, especially for handling
sub commands, and it did not seem worth the cost for the benefit at this
time.

Depends on D180499

Differential Revision: https://phabricator.services.mozilla.com/D180500
2023-07-25 00:24:53 +00:00
ahochheiden
85bd65e288 Bug 1695312 - Activate the virtualenv associated with a mach command much earlier r=firefox-build-system-reviewers,glandium
This activated virtualenv for a command is managed
`CommandSiteManager` and it is passed down to where it was activated
before to prevent a second, redundant, activation.

Differential Revision: https://phabricator.services.mozilla.com/D180499
2023-07-25 00:24:53 +00:00
ahochheiden
cff561db42 Bug 1695312 - Add missing commands to the MACH_COMMANDS dict r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181032
2023-07-25 00:24:52 +00:00
ahochheiden
9359c26d78 Bug 1695312 - Sort the MACH_COMMANDS dict alphabetically r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181031
2023-07-25 00:24:52 +00:00
ahochheiden
5d7f61d985 Bug 1842700 - Fix l10n-cross-channel MachCommandReference module path r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183217
2023-07-25 00:24:52 +00:00
Ben Visness
67731fc42a Bug 1831176: Update wast crate. r=yury,glandium,supply-chain-reviewers
Updating wast to the latest version in order to get the new binary encoding for cast instructions.

Differential Revision: https://phabricator.services.mozilla.com/D184022
2023-07-21 22:00:04 +00:00
Gabriele Svelto
9e6f16b062 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-21 12:05:38 +00:00
Mike Hommey
a0d77ff7b8 Bug 1844538 - Properly split environment variables in cargo-linker. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D184182
2023-07-21 08:16:42 +00:00
Sandor Molnar
22b794a8f1 Backed out 2 changesets (bug 1844484) for causing toolchain bustages in build/pure_virtual/pure_virtual.c CLOSED TREE
Backed out changeset 750b3385f0aa (bug 1844484)
Backed out changeset a8537b37554e (bug 1844484)
2023-07-21 04:08:47 +03:00
Mike Hommey
61b29c44a4 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,nalexander
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-07-21 00:27:34 +00:00
Sandor Molnar
241cba7e1f Backed out changeset 3dcccc40be04 (bug 1839832) for causing shippable build bustage.CLOSED TREE 2023-07-21 03:27:21 +03:00
Natalia Kulatova
e2b607f89a Bug 1841111 - land NSS NSS_3_92_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D184127
2023-07-20 18:39:05 +00:00
serge-sans-paille
e0bf5df1bc Bug 1839832 - Use PGO-based orderfile when possible r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181750
2023-07-20 08:57:33 +00:00
Iulian Moraru
ee29435daf Backed out changeset 9a6d93f12d75 (bug 1844484) for causing xpcshell failures on test_crash_purevirtual.js. CLOSED TREE 2023-07-20 12:07:30 +03:00
Mike Hommey
51f3aef8c3 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,nalexander
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-07-20 07:39:27 +00:00
Cristian Tuns
e2ec1b8c2c Backed out changeset 2bd2112ff7c0 (bug 1844484) for causing lint failures and build bustages CLOSED TREE 2023-07-20 00:23:44 -04:00
Mike Hommey
8dbc768ee1 Bug 1844484 - Override the symbol used by compilers in vtables for pure virtual methods. r=firefox-build-system-reviewers,nalexander
In bug 1839743, we made the build system prefer packed relative
relocations to elfhack when both the system libc and linker support
them. Unfortunately, while that covers most of the benefits from
elfhack, it doesn't cover bug 651892.

To cover it, we make every C++ executable contain its own copy of
the symbol, so that all relocations related to it become relative.

And because this is actually (slightly) beneficial on macos, and because
it's also an advantage to have our own abort called rather than the
system's, we apply the same to all platforms.

Differential Revision: https://phabricator.services.mozilla.com/D184068
2023-07-20 03:48:44 +00:00
Mike Hommey
7c063cf058 Bug 1844000 - Update parking-lot to 0.12.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D183825
2023-07-19 20:16:02 +00:00
Mike Hommey
abc77ae254 Bug 1844000 - Add a windows-targets crate. r=emilio
This adds a crate that override's the windows-targets crate to avoid
depending on the large import libraries in its dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D183824
2023-07-19 20:16:02 +00:00
Mike Hommey
f375009d22 Bug 1844000 - Patch redox_syscall to an empty crate. r=emilio,sylvestre
Also preemptively add 0.3 for future needs.

Differential Revision: https://phabricator.services.mozilla.com/D183823
2023-07-19 20:16:02 +00:00
Natalia Csoregi
a1baf84935 Merge autoland to mozilla-central. a=merge 2023-07-19 19:06:23 +03:00
Natalia Csoregi
0504f56a51 Backed out changeset 38a3792830be (bug 1842700) for causing mach lint issues. a=backout 2023-07-19 17:58:02 +03:00
Natalia Csoregi
f757923c9f Backed out 4 changesets (bug 1695312) as per request. a=backout
Backed out changeset e5687aa10124 (bug 1695312)
Backed out changeset 6123c201f979 (bug 1695312)
Backed out changeset 06aefe3418e1 (bug 1695312)
Backed out changeset 56f3d3fc806f (bug 1695312)
2023-07-19 17:31:51 +03:00
Mike Hommey
94e3db4c9b Bug 1844200 - Update valgrind suppressions for rustc 1.71. r=firefox-build-system-reviewers,ahochheiden
The involved symbol changed to
_ZN3std3sys6common12thread_local10fast_local12Key$LT$T$GT$14try_initialize...

Differential Revision: https://phabricator.services.mozilla.com/D183924
2023-07-19 05:51:24 +00:00
ahochheiden
b306ed3e91 Bug 1695312 - Selectively load only the mach command modules needed for the command about to be run r=firefox-build-system-reviewers,glandium
This makes loading almost all commands faster, since only one module
file is loaded rather than all of them. There is one main exception,
dealing with 'help'. Running `./mach help` (or -h or --help) requires
the description text for every command, so every module file is still
loaded.

We could expand this improvement here to consolidate all commands and
their parameters in this `MACH_COMMANDS` dict, but the only two benefits
are improving help, and not having two places where the commands are
specified (their file, and this dict).

There's a lot of extra work needed to do that, especially for handling
sub commands, and it did not seem worth the cost for the benefit at this
time.

Depends on D180499

Differential Revision: https://phabricator.services.mozilla.com/D180500
2023-07-19 05:09:01 +00:00
ahochheiden
5fb9481dc3 Bug 1695312 - Activate the virtualenv associated with a mach command much earlier r=firefox-build-system-reviewers,glandium
This activated virtualenv for a command is managed
`CommandSiteManager` and it is passed down to where it was activated
before to prevent a second, redundant, activation.

Differential Revision: https://phabricator.services.mozilla.com/D180499
2023-07-19 05:09:01 +00:00
ahochheiden
151ba3d4e7 Bug 1695312 - Add missing commands to the MACH_COMMANDS dict r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181032
2023-07-19 05:09:01 +00:00
ahochheiden
abc9a69bfd Bug 1695312 - Sort the MACH_COMMANDS dict alphabetically r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181031
2023-07-19 05:09:00 +00:00
ahochheiden
f7e850c46c Bug 1842700 - Fix l10n-cross-channel MachCommandReference module path r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183217
2023-07-19 05:09:00 +00:00
serge-sans-paille
524992de8d Bug 1839832 - Detect compiler support for temporal instrumentation r=glandium
As does not support the equivalent flag, just silent it for rust.

Differential Revision: https://phabricator.services.mozilla.com/D181749
2023-07-18 17:17:41 +00:00
Mike Hommey
709b818abe Bug 1829776 - Update builders to rustc 1.71. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D183571
2023-07-18 00:36:46 +00:00
Mike Hommey
6cfd93eff9 Bug 1843948 - Adjust patch to upstream changes. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D183793
2023-07-17 23:44:36 +00:00
Mike Hommey
6761f4ccd7 Bug 1843218 - Partially revert a clang change that relies on something we revert. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D183546
2023-07-17 20:41:28 +00:00
Masatoshi Kimura
cba55b285f Bug 1842497 - Unship all Universal CRT DLLs. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183099
2023-07-15 12:29:51 +00:00
ahochheiden
d33bf29823 Bug 1842691 - Check for spaces in topsrcdir and MOZILLABUILD (on Windows) on Mach startup r=firefox-build-system-reviewers,glandium
We've had this restriction for a while (with a note of it in the docs,
but the note in the docs can easily be overlooked, leading to confusing
errors). Erroring out right on Mach startup and providing instructions
for the workaround immediately should help users get around this issue
faster.

Differential Revision: https://phabricator.services.mozilla.com/D183209
2023-07-14 21:27:58 +00:00
Cristian Tuns
c4a263959b Bug 1821228 - Fix for valgrind bustages. CLOSED TREE 2023-07-14 17:22:22 -04:00
Mike Hommey
c072335e21 Bug 1821228 - Update builders to rustc 1.70. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D179622
2023-07-14 19:33:51 +00:00
Ray Kraesig
72acfa071a Bug 1842918 - normalize away spaces in $(PYTHON3) r=firefox-build-system-reviewers,glandium
As of bug 1838763, Python virtualenvs are now located in a subdirectory
of `$MOZBUILD_STATE_PATH`. This, in turn, defaults to a subdirectory of
the home directory, which on Windows often contains spaces.

The Windows build instructions were updated to add a requirement that
`MOZBUILD_STATE_PATH` not contain spaces, under the assumption that this
was merely a clarification of an existing restriction; but this is
indeed a new requirement and breaks existing setups.

Instead, allow makefiles to safely invoke `$(PYTHON3)` without quoting
it everywhere (as they do) by ensuring that its value contains no
spaces, by using the DOS-style (8.3) short path to the Python
executable.

Additionally, clarify in the documentation exactly which paths are
required not to contain spaces.

Differential Revision: https://phabricator.services.mozilla.com/D183305
2023-07-13 13:29:57 +00:00
Sandor Molnar
4a27268732 Backed out 6 changesets (bug 1842700, bug 1695312, bug 1808732) for causing lint failures. CLOSED TREE
Backed out changeset 0413a48d4f03 (bug 1808732)
Backed out changeset 2839c2d35459 (bug 1695312)
Backed out changeset eab5cdaf4bc9 (bug 1695312)
Backed out changeset a35da3fce458 (bug 1695312)
Backed out changeset 6d2a2dd4790b (bug 1695312)
Backed out changeset b8cf086066cf (bug 1842700)
2023-07-13 15:01:55 +03:00
serge-sans-paille
66b7f191be Bug 1843012 - Do not use PGO_CFLAGS where PGO_LDFLAGS is expected r=glandium
Note that PGO_LDFLAGS is already added to LDFLAGS.

Differential Revision: https://phabricator.services.mozilla.com/D183361
2023-07-13 08:17:56 +00:00
ahochheiden
6704bd1cda Bug 1695312 - Selectively load only the mach command modules needed for the command about to be run r=firefox-build-system-reviewers,glandium
This makes loading almost all commands faster, since only one module
file is loaded rather than all of them. There is one main exception,
dealing with 'help'. Running `./mach help` (or -h or --help) requires
the description text for every command, so every module file is still
loaded.

We could expand this improvement here to consolidate all commands and
their parameters in this `MACH_COMMANDS` dict, but the only two benefits
are improving help, and not having two places where the commands are
specified (their file, and this dict).

There's a lot of extra work needed to do that, especially for handling
sub commands, and it did not seem worth the cost for the benefit at this
time.

Depends on D180499

Differential Revision: https://phabricator.services.mozilla.com/D180500
2023-07-13 05:41:21 +00:00
ahochheiden
d492f7b9f8 Bug 1695312 - Activate the virtualenv associated with a mach command much earlier r=firefox-build-system-reviewers,glandium
This activated virtualenv for a command is managed
`CommandSiteManager` and it is passed down to where it was activated
before to prevent a second, redundant, activation.

Differential Revision: https://phabricator.services.mozilla.com/D180499
2023-07-13 05:41:21 +00:00
ahochheiden
ced7f9b3c5 Bug 1695312 - Add missing commands to the MACH_COMMANDS dict r=firefox-build-system-reviewers,glandium
Also add the associated virtualenv names to each command that has one in
preparation for loading the virtualenvs earlier (next patch).

Differential Revision: https://phabricator.services.mozilla.com/D181032
2023-07-13 05:41:21 +00:00
ahochheiden
89fbee0640 Bug 1695312 - Sort the MACH_COMMANDS dict alphabetically r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D181031
2023-07-13 05:41:20 +00:00
ahochheiden
020a1fce7e Bug 1842700 - Fix l10n-cross-channel MachCommandReference module path r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183217
2023-07-13 05:41:20 +00:00
Mike Hommey
9a7fee58bc Bug 1841150 - Adjust the rust workspace hack for syn dependencies. r=firefox-build-system-reviewers,ahochheiden
The ipcclientcerts-static and osclientcerts-static features are missing a
dependency upon syn (both pull syn via bindgen, so need the unified
dependency), which means all the features depend on syn, so make it
non-optional and remove the manual dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D182512
2023-07-10 20:45:19 +00:00
Teodor Tanasoaia
0c97a80be1 Bug 1838493 - Update wgpu to revision dcad7dfba92dd85c3ca21bb553a61834e01b04f5. r=webgpu-reviewers,gfx-reviewers,supply-chain-reviewers,glandium,ErichDonGubler
Bug 1838493 - Update `foreign-types`, `core-graphics` and `core-text`. r=#gfx-reviewers

Bug 1838493 - Vet `wgpu` and `naga` commits. r=#supply-chain-reviewers

Bug 1838493 - Vendor `wgpu` changes. r=#webgpu-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D182578
2023-07-07 21:39:24 +00:00
Cristian Tuns
80b3affd34 Backed out changeset 8b23c0858427 (bug 1838493) for causing webrender bustages CLOSED TREE 2023-07-07 11:08:31 -04:00
Teodor Tanasoaia
a25d2ea415 Bug 1838493 - Update wgpu to revision dcad7dfba92dd85c3ca21bb553a61834e01b04f5. r=webgpu-reviewers,gfx-reviewers,supply-chain-reviewers,glandium,ErichDonGubler
Bug 1838493 - Update `foreign-types`, `core-graphics` and `core-text`. r=#gfx-reviewers

Bug 1838493 - Vet `wgpu` and `naga` commits. r=#supply-chain-reviewers

Bug 1838493 - Vendor `wgpu` changes. r=#webgpu-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D182578
2023-07-07 14:38:12 +00:00
Cristian Tuns
58ffc7aed3 Backed out changeset f4849b16468c (bug 1838493) for causing webrender bustages. CLOSED TREE 2023-07-07 08:42:49 -04:00
Teodor Tanasoaia
ac6b39f8de Bug 1838493 - Update wgpu to revision dcad7dfba92dd85c3ca21bb553a61834e01b04f5. r=webgpu-reviewers,gfx-reviewers,supply-chain-reviewers,glandium,ErichDonGubler
Bug 1838493 - Update `foreign-types`, `core-graphics` and `core-text`. r=#gfx-reviewers

Bug 1838493 - Vet `wgpu` and `naga` commits. r=#supply-chain-reviewers

Bug 1838493 - Vendor `wgpu` changes. r=#webgpu-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D182578
2023-07-07 12:07:33 +00:00
Mike Hommey
8f58459578 Bug 1841974 - Work around a rust bug that causes bogus ODR violation detection. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D182879
2023-07-07 11:02:28 +00:00
Mike Hommey
2fddbb74c5 Bug 1840537 - Enable value checking in moz.build for CONFIG variables derived from target.*. r=firefox-build-system-reviewers,andi,sergesanspaille
This makes the types from mozbuild.configure.constants repr()-able, and
repr()-ed in config.status, which, when processing moz.build, translates
into value checking for comparison tests involving the variables.

To make them pickable, though, we replace the use of EnumString.subclass
with actual subclassing, which is a little less convenient, but avoids
having to figure out how to make the classes EnumString.subclass creates
pickable.

This caught some mismatches in media/libpng and third_party/libsrtp.

This also means we don't need to normalize the config before dumping it
in config.status, because the only types that this was actually useful
for are these (historically, we'd also turn byte strings into unicode
strings but that hasn't been a thing for 4 years ; the special treatment
of dicts and iterables was there to apply the normalization recursively,
not to normalize dicts and iterables themselves). We still normalization
before passing values to gyp, though.

Differential Revision: https://phabricator.services.mozilla.com/D182141
2023-07-06 21:33:41 +00:00
Norisz Fay
7e2bbefa0e Backed out 2 changesets (bug 1841974) for causing AddressSanitizer, Assertion failures on shared-libraries-win32.cc CLOSED TREE
Backed out changeset c7218806eb3f (bug 1841974)
Backed out changeset 7da6f26cd035 (bug 1841974)
2023-07-07 01:06:21 +03:00
Mike Hommey
17546b5c29 Bug 1841974 - Work around a rust bug that causes bogus ODR violation detection. r=decoder
Differential Revision: https://phabricator.services.mozilla.com/D182879
2023-07-06 19:10:47 +00:00
Mike Hommey
ab9cc62858 Bug 1841935 - Disable -fsanitize=function for C files. r=decoder
Clang has recently added support for function UB sanitizing for C, but
it catches cases in e.g. NSS and SQLite that are IMHO a gray area rather
than a clear case of UB (https://reviews.llvm.org/D148827#4422709).

Differential Revision: https://phabricator.services.mozilla.com/D182859
2023-07-06 09:34:02 +00:00
Stanca Serban
1f73e882f9 Backed out changeset 674dc1b6026b (bug 1838493) for webrender standalone related build bustages.CLOSED TREE 2023-07-05 21:54:02 +03:00
Teodor Tanasoaia
b739a20ea0 Bug 1838493 - Update wgpu to revision dcad7dfba92dd85c3ca21bb553a61834e01b04f5. r=webgpu-reviewers,gfx-reviewers,supply-chain-reviewers,glandium,ErichDonGubler
Bug 1838493 - Update `foreign-types`, `core-graphics` and `core-text`. r=#gfx-reviewers

Bug 1838493 - Vet `wgpu` and `naga` commits. r=#supply-chain-reviewers

Bug 1838493 - Vendor `wgpu` changes. r=#webgpu-reviewers

Differential Revision: https://phabricator.services.mozilla.com/D182578
2023-07-05 17:30:46 +00:00
serge-sans-paille
b02dbe2bb1 Bug 1834815 - Enable full+cross LTO by default for shippable Linux and Windows build r=glandium
This has an important impact on compilation time, so we limit that to
shippable builds and under MOZ_AUTOMATION.

The benefit on speedometer time is not significant on macosx and android builds, so
we skip that platform.

Builds tend to stall on arm platforms, so we limit the target to
x86_64.

Differential Revision: https://phabricator.services.mozilla.com/D179912
2023-07-05 14:52:02 +00:00
Iulian Moraru
36b9b99f8e Backed out changeset 1c1f6303ef48 (bug 1689358) for causing build bustages. CLOSED TREE 2023-07-05 11:33:30 +03:00
Gabriele Svelto
ef566ff845 Bug 1689358 - Generate minidumps for child process crashes using the minidump-writer crate on Android r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D178783
2023-07-05 07:54:28 +00:00
Cristian Tuns
9a4666e631 Backed out changeset 0f25efce3714 (bug 1839832) for causing build bustages, requested by glandium. CLOSED TREE 2023-07-04 23:48:52 -04:00
Mike Hommey
ed24a71dc6 Bug 1841179 - Remove use of once_cell from the mozbuild crate. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D182521
2023-07-05 01:02:22 +00:00
Mike Hommey
53a440feec Bug 1831491 - Allow the macos SDK bootstrap to fail. r=firefox-build-system-reviewers,sergesanspaille
This allows to fall back to the autodetection of the SDK from the host
on mac machines. While not ideal, it's better than the status quo where
when Apple removes the SDK from its servers, configure plain fails.

Differential Revision: https://phabricator.services.mozilla.com/D182685
2023-07-04 20:37:06 +00:00
Cristina Horotan
58d5803ade Backed out changeset 8794662a8a7a (bug 1840537) on request by glandium 2023-07-04 07:56:31 +03:00
Mike Hommey
24ef014417 Bug 1840537 - Enable value checking in moz.build for CONFIG variables derived from target.*. r=firefox-build-system-reviewers,andi,sergesanspaille
This makes the types from mozbuild.configure.constants repr()-able, and
repr()-ed in config.status, which, when processing moz.build, translates
into value checking for comparison tests involving the variables.

To make them pickable, though, we replace the use of EnumString.subclass
with actual subclassing, which is a little less convenient, but avoids
having to figure out how to make the classes EnumString.subclass creates
pickable.

This caught a mismatch in media/libpng.

Differential Revision: https://phabricator.services.mozilla.com/D182141
2023-07-03 22:47:18 +00:00
Mike Hommey
6a3936151a Bug 1841182 - Remove the set_for_old_configure argument to project_flag. r=firefox-build-system-reviewers,sergesanspaille
and move it to util.configure.

The last use of set_for_old_configure was removed in bug 1804605, no new
project flag should require the argument.

Differential Revision: https://phabricator.services.mozilla.com/D182522
2023-06-30 08:17:56 +00:00
Mike Hommey
33242b5214 Bug 1840727 - Avoid setting LIB when target is not Windows. r=firefox-build-system-reviewers,sergesanspaille
When cross-compiling on Windows, having LIB set can interfere with
lld-link being used for host binary linking, while not used for target
linking.

While here, do the same for HOST_LINKER_LIBPATHS* when doing Windows
cross-compiles on other OSes, although that doesn't interfere with
anything, but it's useless.

Differential Revision: https://phabricator.services.mozilla.com/D182283
2023-06-30 08:16:50 +00:00
Mike Hommey
e6e7f961ea Bug 1841212 - Build elfhack injected code without eh_frame. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D182542
2023-06-30 08:11:43 +00:00
serge-sans-paille
6e0e877511 Bug 1839832 - Detect compiler support for temporal instrumentation r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181749
2023-06-30 07:52:52 +00:00
Mike Hommey
e4f87a6d8c Bug 1840931 - More properly handle files > 4GB in elfhack. r=gsvelto
I'm pretty sure there are other theoretical problems in the code,
notably when a single section is larger than 4GB, but by the time
we reach that limit, bug 1839740 will have been fixed.

Differential Revision: https://phabricator.services.mozilla.com/D182447
2023-06-29 19:56:20 +00:00
Dennis Jackson
0e01bdd4fd Bug 1840365 - land NSS NSS_3_91_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D182043
2023-06-28 09:05:08 +00:00
Sandor Molnar
40bd048da4 Backed out changeset 80f21c20d24d (bug 1840537) for causing problems when running e.g. mach lint CLOSED TREE 2023-06-28 11:07:45 +03:00
mleclair
c5239761fe Bug 1840494: Reverts changes from bug 1831935 for non-nightly r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D182251
2023-06-28 06:11:18 +00:00
Mike Hommey
a8847b19bf Bug 1840537 - Enable value checking in moz.build for CONFIG variables derived from target.*. r=firefox-build-system-reviewers,andi
This makes the types from mozbuild.configure.constants repr()-able, and
repr()-ed in config.status, which, when processing moz.build, translates
into value checking for comparison tests involving the variables.

This caught a mismatch in media/libpng.

Differential Revision: https://phabricator.services.mozilla.com/D182141
2023-06-27 08:57:12 +00:00
Mike Hommey
b2854f302c Bug 1839788 - Switch valgrind task to a Debian 12 based docker image. r=firefox-build-system-reviewers,releng-reviewers,ahochheiden,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D181721
2023-06-27 08:47:17 +00:00
Butkovits Atila
d96499cb25 Backed out changeset 0721a2ab9241 (bug 1839788) for causing bustages at libssl.so. 2023-06-27 02:27:07 +03:00
Mike Hommey
eb73e459a9 Bug 1839788 - Switch valgrind task to a Debian 12 based docker image. r=firefox-build-system-reviewers,releng-reviewers,ahochheiden,jcristau
Differential Revision: https://phabricator.services.mozilla.com/D181721
2023-06-26 22:00:46 +00:00
Sylvestre Ledru
6cf9568599 Bug 1833126 - doc: windows build - fix the path r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D180642
2023-06-23 08:45:34 +00:00
Botond Ballo
282ac5060f Bug 1836695 - Pick up latest HeuristicResolver updates from llvm trunk. r=andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D181719
2023-06-23 01:42:55 +00:00
Mike Hommey
01b58f59f2 Bug 1839746 - Make elfhack generate and handle a more standard SHT_RELR section. r=gsvelto
Bug 1747782 changed the format to SHT_RELR, but what's produced is still
different from a real SHT_RELR section, because it uses a terminating
nul entry.

Differential Revision: https://phabricator.services.mozilla.com/D181689
2023-06-22 23:56:47 +00:00
Kershaw Chang
52338d0637 Bug 1838829 - Update subjectAlternativeName for mochitest, r=necko-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D181248
2023-06-22 19:44:53 +00:00
Cristian Tuns
a6383b5dce Backed out changeset 7a6650647e00 (bug 1839741) to fix bug 1839797 CLOSED TREE 2023-06-22 02:32:20 -04:00
Mike Hommey
69c1519f7a Bug 1839751 - Apply upstream nsis patch to build with newer versions of SCons. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D181698
2023-06-22 02:46:06 +00:00
Mike Hommey
c144be0f2e Bug 1839748 - Remove unnecessary sysctl.h includes. r=firefox-build-system-reviewers,ahochheiden
The header is gone in recent glibc versions.

Differential Revision: https://phabricator.services.mozilla.com/D181695
2023-06-22 02:45:22 +00:00
Mike Hommey
a0a2d54501 Bug 1839742 - Log stderr of successful commands in python configure. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D181685
2023-06-22 02:44:45 +00:00
Mike Hommey
f305d07229 Bug 1839741 - Upgrade binutils to 2.40. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D181684
2023-06-22 02:44:24 +00:00