Граф коммитов

11385 Коммитов

Автор SHA1 Сообщение Дата
Andreas Pehrson cb07191302 Bug 1670633 - Update bindgen to 0.69.1 and coreaudio-sys to 0.2.14. r=supply-chain-reviewers,glandium
This sets the stage for an update to cubeb-coreaudio-rs.

Differential Revision: https://phabricator.services.mozilla.com/D193899
2023-11-21 08:03:45 +00:00
Mike Hommey e989378998 Bug 1865522 - Mark cargo clippy as requiring export. r=firefox-build-system-reviewers,sylvestre,ahochheiden
It needs .cargo/config from the objdir, which export creates.

Differential Revision: https://phabricator.services.mozilla.com/D194156
2023-11-21 01:07:44 +00:00
ahochheiden 272742b40d Bug 1857279 - Load `@SettingsProvider` settings early so that we can parse set aliases and load the correct virtualenv r=ahal
Aliased commands have not loaded the virtualenv associated with a
command/subcommand since bug 1695312. It has been defaulting to the
`common` virtualenv, which worked most of the time since most commands
use `common` and it also contains a large share of our dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D192376
2023-11-20 18:05:57 +00:00
ahochheiden f605774f28 Bug 1857279 - Consolidate all mach @SettingsProvider hooks in one file and class and have them execute very early during mach_initialize() r=ahal
The only remaining @SettingsProvider hooks should be in test files.

Differential Revision: https://phabricator.services.mozilla.com/D192375
2023-11-20 18:05:57 +00:00
Cristian Tuns 8bdb51872e Backed out changeset 47c58e2355e9 (bug 1864318) for causing reftest failures in RemoteProcessMonitor CLOSED TREE 2023-11-19 06:59:14 -05:00
serge-sans-paille b2fc6ad0bb Bug 1864318 - Faster elfhack core loop r=glandium
This is 20% faster on my setup, and according to llvm-mca, the IPC for
the false branch (which is the hottest one) goes from 3 to 5.7, thanks
to unrolling and conditional moves.

Basically, most of the bits of `bits` are generally set, so it's ok to do a
few more extra operations as we do them faster.

Differential Revision: https://phabricator.services.mozilla.com/D193366
2023-11-19 10:23:20 +00:00
Natalia Csoregi f632be1a7c Backed out changeset 10b80b0c808d (bug 1864318) for causing multiple Android 13.0 failures. CLOSED TREE 2023-11-17 19:04:14 +02:00
serge-sans-paille ba92d46a42 Bug 1864318 - Faster elfhack core loop r=glandium
This is 20% faster on my setup, and according to llvm-mca, the IPC for
the false branch (which is the hottest one) goes from 3 to 5.7, thanks
to unrolling and conditional moves.

Basically, most of the bits of `bits` are generally set, so it's ok to do a
few more extra operations as we do them faster.

Differential Revision: https://phabricator.services.mozilla.com/D193366
2023-11-17 13:52:38 +00:00
Mark Banner 9cb3cd6f0a Bug 1865208 - Add missing included files to fatal warnings for document generation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D193842
2023-11-17 11:43:47 +00:00
Butkovits Atila c2531b44be Backed out 3 changesets (bug 1863497) for causing bustages. CLOSED TREE
Backed out changeset ce9934edcec1 (bug 1863497)
Backed out changeset c959dafcf46f (bug 1863497)
Backed out changeset 1caa79ee637e (bug 1863497)
2023-11-16 15:46:36 +02:00
Norisz Fay 3f997be608 Backed out changeset a0950bb0cfcb (bug 1864318) for causing failures on Android 13 Pixel5 CLOSED TREE 2023-11-16 14:55:37 +02:00
Sylvestre Ledru a96b9861c9 Bug 1863497 - sccache: update the doc r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D193704
2023-11-16 09:14:59 +00:00
serge-sans-paille 75d69c6aaf Bug 1864318 - Faster elfhack core loop r=glandium
This is 20% faster on my setup, and according to llvm-mca, the IPC for
the false branch (which is the hottest one) goes from 3 to 5.7, thanks
to unrolling and conditional moves.

Basically, most of the bits of `bits` are generally set, so it's ok to do a
few more extra operations as we do them faster.

Differential Revision: https://phabricator.services.mozilla.com/D193366
2023-11-16 07:19:23 +00:00
Dennis Jackson d827050eee Bug 1856659 - land NSS NSS_3_95_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D193535
2023-11-15 22:53:32 +00:00
Sandor Molnar 53139f761e Backed out 2 changesets (bug 1856658, bug 1856659) for causing doc-generate failures UPGRADE_NSS_RELEASE
Backed out changeset 39ecb02fd8de (bug 1856658)
Backed out changeset d9201f9640a1 (bug 1856659)
2023-11-15 19:35:57 +02:00
Dennis Jackson c41f07c946 Bug 1856659 - land NSS NSS_3_95_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,bbeurdouche
Differential Revision: https://phabricator.services.mozilla.com/D193535
2023-11-15 13:25:02 +00:00
Mark Banner 56b8b181f1 Bug 1861953 - Add yaml files to sphinx-docs sparse checkout to avoid file not found issues in source generation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D193242
2023-11-10 14:17:27 +00:00
Mike Hommey 6813086faf Bug 1863628 - Refresh rust workspace hack. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192994
2023-11-09 00:02:41 +00:00
Mike Hommey a1295ac7c0 Bug 1863441 - Don't filter out flags for debug info when building relrhack injected code. r=firefox-build-system-reviewers,sergesanspaille
When the injected code is used by elfhack, the debug info is thrown away
because elfhack doesn't know what to do with it, but in the case of
relrhack, the normal linker can handle it, so there's no reason not to
include the debug info anymore.

Differential Revision: https://phabricator.services.mozilla.com/D192904
2023-11-09 00:01:25 +00:00
Mike Hommey e32e90ef8a Bug 1862547 - Adjust revert-llvmorg-18-init-6188-gc649f29c24c9.patch to upstream changes. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192906
2023-11-08 23:52:30 +00:00
Mike Hommey 52c87462c7 Bug 1863485 - Properly update section headers when swapping .rel.plt and .relr.dyn of the same size. r=firefox-build-system-reviewers,sergesanspaille
When .rel.plt and .relr.dyn are the same size, after the section header
for .relr.dyn has been updated, it matches the condition for .rel.plt,
and we ended up undoing the change.

Differential Revision: https://phabricator.services.mozilla.com/D192981
2023-11-08 20:13:13 +00:00
Malte Juergens 182878bbe0 Bug 1855734 - Use innermost nested URI in `PopulateTopLevelInfoFromURI` r=freddyb,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D190468
2023-11-08 13:44:26 +00:00
Sandor Molnar ae081ec358 Backed out changeset 36cd4787833a (bug 1724089) for causing xpc failures on docshell/test/unit/test_subframe_stop_after_parent_error.js CLOSED TREE 2023-11-08 03:04:53 +02:00
Gregory Pappas 2eec0c40d8 Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192136
2023-11-07 21:44:01 +00:00
Rob Lemley 35f00ac61e Bug 1862463 - Remove references to building Thunderbird with a mozilla/ subdirectory. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D192488
2023-11-07 14:58:59 +00:00
Mike Hommey 9977da8109 Bug 1843981 - Update builders to rustc 1.73. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D190009
2023-11-07 08:36:25 +00:00
Sergey Galich 1b10d39234 Bug 1862410 - Removing unused LoginReputation service and updating link to Chromium's safe browsing protobuf r=dimi,webdriver-reviewers,perftest-reviewers,devtools-reviewers,geckoview-reviewers,jonalmeida,owlish
Differential Revision: https://phabricator.services.mozilla.com/D192464
2023-11-06 19:13:09 +00:00
Cristian Tuns cfd3ae2be5 Backed out 3 changesets (bug 1857279) for causing try failures with exit status 1 CLOSED TREE
Backed out changeset 4c1965a65011 (bug 1857279)
Backed out changeset b9885d1b6980 (bug 1857279)
Backed out changeset 76706ea52991 (bug 1857279)
2023-11-06 13:12:25 -05:00
ahochheiden 5cfd70f690 Bug 1857279 - Load `@SettingsProvider` settings early so that we can parse set aliases and load the correct virtualenv r=ahal
Aliased commands have not loaded the virtualenv associated with a
command/subcommand since bug 1695312. It has been defaulting to the
`common` virtualenv, which worked most of the time since most commands
use `common` and it also contains a large share of our dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D192376
2023-11-06 17:08:32 +00:00
ahochheiden 4f09acb466 Bug 1857279 - Consolidate all mach @SettingsProvider hooks in one file and class and have them execute very early during mach_initialize() r=ahal
The only remaining @SettingsProvider hooks should be in test files.

Differential Revision: https://phabricator.services.mozilla.com/D192375
2023-11-06 17:08:31 +00:00
Mike Hommey fe7541075c Bug 1860360 - Disable -Wvla-cxx-extension warning in clang 18. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D191701
2023-10-24 05:48:56 +00:00
Paul Bone 8bc40cde37 Bug 1854135 - Set --enable-phc for release r=glandium
`--enable-phc` builds firefox with PHC support.  It's not enabled unless the
`phc` pref is also set.  So this change will cause PHC support to ride the
trains, but in a disabled state.

Differential Revision: https://phabricator.services.mozilla.com/D188821
2023-10-24 01:50:51 +00:00
Paul Bone cbd484acb9 Bug 1859964 - --enable-phc doesn't always imply --enable-frame-pointers r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D191404
2023-10-24 00:52:34 +00:00
Mike Hommey cdf77fdf1a Bug 1855564 - Switch Firefox builds to macOS 14.0 SDK. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189889
2023-10-24 00:47:15 +00:00
Paul Bone 1e2a219087 Bug 1854550 - pt 11. PHC no-longer requires replace-malloc r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D191150
2023-10-19 06:38:43 +00:00
Ray Kraesig c8d62f7b85 Bug 1858739 - update tokio to 1.29.1 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D190838
2023-10-16 22:26:00 +00:00
Mike Hommey 5ad226c737 Bug 1858042 - Adjust revert-llvmorg-15-init-11205-gcead4eceb01b_clang_18.patch to recent upstream changes. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D190530
2023-10-10 06:32:56 +00:00
Mike Hommey b2212b3106 Bug 1857400 - Use CMAKE_MSVC_RUNTIME_LIBRARY instead of LLVM_USE_CRT_RELEASE. r=firefox-build-system-reviewers,sergesanspaille
The latter was deprecated in
c6bd873403
and removed more recently in
618e5d2c2d

Fortunately, the former works with LLVM 17, so we don't need to
special case, we can use the same as for trunk.

Differential Revision: https://phabricator.services.mozilla.com/D190248
2023-10-07 07:15:29 +00:00
Emilio Cobos Álvarez ad64ab4526 Bug 1854446 - Update some pre-existing valgrind suppressions. CLOSED TREE 2023-10-06 02:33:06 +03:00
Mike Hommey c04c99325f Bug 1839739 - Default to lld in more cases on Linux. r=firefox-build-system-reviewers,geckoview-reviewers,releng-reviewers,andi,gbrown,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D188676
2023-10-05 20:11:07 +00:00
Mike Hommey 2b7860571a Bug 1856501 - Remove revert-llvmorg-14-init-14141-gd6d3000a2f6d.patch. r=firefox-build-system-reviewers,sergesanspaille
Some more recent fixes upstream unbroke cross-compiling the windows
compiler-rt, so we don't need the reversal patch anymore. We also don't
need it on clang 14 either because we don't build the windows
compiler-rt there.

Differential Revision: https://phabricator.services.mozilla.com/D189881
2023-10-05 08:45:31 +00:00
Mike Hommey 2a0bbfdf2f Bug 1856501 - Set CMAKE_*_FLAGS_INIT instead of CMAKE_*_FLAGS. r=firefox-build-system-reviewers,sergesanspaille
The latter may override important flags added my cmake itself or cmake
scripts. The former doesn't have this property.

Differential Revision: https://phabricator.services.mozilla.com/D190005
2023-10-05 08:45:30 +00:00
Mike Hommey 0e32a17cce Bug 1856752 - Allow more leniency wrt swapping .relr.dyn and .rel.plt sections. r=sergesanspaille
On ARM, lld places the .ARM.exidx section between .rel.dyn/.relr.dyn and
.rel.plt. This means we can't swap .relr.dyn and .rel.plt (well, we
could, if we also moved and rewrote the .ARM.exidx section, but that's
more work than we ought to do).
But we only need to swap the sections when we want the binary to be
compatible with older versions of glibc, which we don't care about on
desktop ARM Linux (we don't ship such builds), and don't need at all
on ARM Android. Ultimately, this is a bug in lld
(https://github.com/llvm/llvm-project/issues/68178).

Differential Revision: https://phabricator.services.mozilla.com/D190006
2023-10-05 08:40:44 +00:00
Mike Hommey eccae20a6b Bug 1856466 - Delay setting -mmacosx-version-min flags. r=firefox-build-system-reviewers,sergesanspaille
Setting them before the first call to check_compiler can fail when the
compiler doesn't recognize the flag for its default target and actively
errors out.

Differential Revision: https://phabricator.services.mozilla.com/D189861
2023-10-05 08:13:04 +00:00
Mike Hommey 879ba000bb Bug 1855619 - Upgrade clap to 4.4.5. r=supply-chain-reviewers,webdriver-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189453
2023-10-04 20:19:26 +00:00
Nicolas B. Pierron 1b29435e30 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-10-04 15:18:18 +00:00
Cosmin Sabou c8c7e83a77 Backed out 2 changesets (bug 1854047, bug 1839739) for causing build bustages. CLOSED TREE
Backed out changeset 3fb508020251 (bug 1854047)
Backed out changeset 056fe66a8b3f (bug 1839739)
2023-10-04 03:34:26 +03:00
Mike Hommey 26cd3f8040 Bug 1839739 - Default to lld in more cases on Linux. r=firefox-build-system-reviewers,geckoview-reviewers,releng-reviewers,andi,gbrown,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D188676
2023-10-04 00:06:57 +00:00
Mike Hommey 7ff7508830 Bug 1855568 - Ensure that .relr.plt follows and is adjacent to .rel.dyn. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189894
2023-10-03 23:44:51 +00:00
Mike Hommey 1ab55a66d5 Bug 1855568 - Refactor how the PT_DYNAMIC info is collected. r=sergesanspaille
We're soon going to collect a little more, and the current way of doing
so is not super convenient.

Differential Revision: https://phabricator.services.mozilla.com/D189893
2023-10-03 23:44:50 +00:00
Mike Hommey 00ffd5e017 Bug 1855568 - Refactor writes in relrhack. r=sergesanspaille
In a manner similar to what's done for reads.

Differential Revision: https://phabricator.services.mozilla.com/D189892
2023-10-03 23:44:50 +00:00
Mike Hommey 812771f458 Bug 1856547 - Remove revert-llvmorg-14-init-11890-gf86deb18cab6.patch. r=sergesanspaille
The patch it reverted was causing problems while running tests with
ASan, but, from a try push, it seems those are not happening anymore.
Presumably, the issue was either fixed on the workers (whatever that
might have been), or in newer versions of clang.
Either way, we're not using clang 14 for ASan builds either, so we can
remove the patch from clang 14 too.

Differential Revision: https://phabricator.services.mozilla.com/D189908
2023-10-03 21:12:32 +00:00
Cosmin Sabou 740c69b2cb Backed out 2 changesets (bug 1856501, bug 1856547) for causing build bustages. CLOSED TREE
Backed out changeset 51c4bb967b9b (bug 1856547)
Backed out changeset 422c0919f370 (bug 1856501)
2023-10-03 23:56:20 +03:00
Mike Hommey 95f06f2df8 Bug 1856547 - Remove revert-llvmorg-14-init-11890-gf86deb18cab6.patch. r=firefox-build-system-reviewers,sergesanspaille
The patch it reverted was causing problems while running tests with
ASan, but, from a try push, it seems those are not happening anymore.
Presumably, the issue was either fixed on the workers (whatever that
might have been), or in newer versions of clang.
Either way, we're not using clang 14 for ASan builds either, so we can
remove the patch from clang 14 too.

Differential Revision: https://phabricator.services.mozilla.com/D189908
2023-10-03 20:42:37 +00:00
Mike Hommey a59e48fb55 Bug 1856501 - Remove revert-llvmorg-14-init-14141-gd6d3000a2f6d.patch. r=firefox-build-system-reviewers,sergesanspaille
Some more recent fixes upstream unbroke cross-compiling the windows
compiler-rt, so we don't need the reversal patch anymore. We also don't
need it on clang 14 either because we don't build the windows
compiler-rt there.

Differential Revision: https://phabricator.services.mozilla.com/D189881
2023-10-03 20:23:23 +00:00
Mike Hommey f955aa7555 Bug 1855557 - Remove clang 16 toolchains. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189427
2023-10-02 20:01:07 +00:00
Norisz Fay bcd9d75639 Backed out changeset 7290f63f0ea4 (bug 1855564) as requested for causing Bug 1856296 a=backout 2023-10-02 19:46:14 +03:00
Mike Hommey df05d0641c Bug 1795186 - Remove patches that reverted thread-safety analysis changes in clang. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189446
2023-10-01 20:41:21 +00:00
Natalia Csoregi 0cb33d5880 Backed out 2 changesets (bug 1795186) for causing bustages on ActorsParent.cpp. CLOSED TREE
Backed out changeset c123d1940504 (bug 1795186)
Backed out changeset 75bd8d868132 (bug 1795186)
2023-10-01 01:12:47 +03:00
Mike Hommey 0984272395 Bug 1855564 - Switch Firefox builds to macOS 14.0 SDK. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189430
2023-09-30 20:14:33 +00:00
Mike Hommey 703a49ca45 Bug 1795186 - Remove patches that reverted thread-safety analysis changes in clang. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189446
2023-09-30 20:03:42 +00:00
serge-sans-paille 974e37adf9 Bug 1855955 - Remove useless <iostream> includes r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D189648
2023-09-29 14:15:53 +00:00
Narcis Beleuzu 11211aa615 Backed out 23 changesets (bug 1839396) for build bustages. CLOSED TREE
Backed out changeset 56120ceb75ff (bug 1839396)
Backed out changeset fda742ae7ee5 (bug 1839396)
Backed out changeset ce61313809e0 (bug 1839396)
Backed out changeset be350b81fd07 (bug 1839396)
Backed out changeset 2183db89bce5 (bug 1839396)
Backed out changeset 6cfdd918f75a (bug 1839396)
Backed out changeset d7b35eb0d658 (bug 1839396)
Backed out changeset f26d1c50e4f8 (bug 1839396)
Backed out changeset 8c2e0c571d4f (bug 1839396)
Backed out changeset 3058b6a69de0 (bug 1839396)
Backed out changeset f305dd0dce20 (bug 1839396)
Backed out changeset 692d81bb7fb9 (bug 1839396)
Backed out changeset c5edf7230719 (bug 1839396)
Backed out changeset 76440b118006 (bug 1839396)
Backed out changeset df1993578f04 (bug 1839396)
Backed out changeset 69d88b2af956 (bug 1839396)
Backed out changeset 7aaf1a7c07ee (bug 1839396)
Backed out changeset f4f49f9e3a7b (bug 1839396)
Backed out changeset 744152a49f46 (bug 1839396)
Backed out changeset 43da99b16886 (bug 1839396)
Backed out changeset 129aeb743d8e (bug 1839396)
Backed out changeset e6be42b646c4 (bug 1839396)
Backed out changeset fd488124e249 (bug 1839396)
2023-09-29 14:19:37 +03:00
Nicolas B. Pierron 9fb682d3f7 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-29 10:42:55 +00:00
Narcis Beleuzu 1915d07f5c Backed out 2 changesets (bug 1854047, bug 1839739) for causing bug 1855568. CLOSED TREE
Backed out changeset 2b3b967b6571 (bug 1854047)
Backed out changeset f957fe22f28e (bug 1839739)
2023-09-29 11:13:56 +03:00
Mike Hommey 83f4904aca Bug 1855631 - Upgrade bindgen to 0.68.1. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D189457
2023-09-29 00:06:10 +00:00
Mike Hommey f69ca7a50d Bug 1854519 - Enable rlbox sandboxing in base-toolchain tasks. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D189321
2023-09-28 20:56:31 +00:00
Mike Hommey e83b1f7beb Bug 1854025 - Update tempfile to 3.8.0. r=emilio,supply-chain-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D188654
2023-09-27 23:42:35 +00:00
Mike Hommey 1ce83241da Bug 1852209 - Switch to bitflags 2 r=supply-chain-reviewers,emilio
We currently are using a fake bitflags 2, derived from bitflags 1. More
and more crates are using it, and we're at a sweet spot where flipping
things around makes sense: using a fake bitflags 1, derived from
bitflags 2.

Differential Revision: https://phabricator.services.mozilla.com/D189316
2023-09-27 19:56:17 +00:00
Natalia Csoregi fa7da3480e Backed out changeset ddccd40117a0 (bug 1853271) for causing bug 1854769. CLOSED TREE 2023-09-27 05:34:25 +03:00
Joel Maher 76a53558da Bug 1853616 - add frequent condprof network requests to server-locations.txt. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D189184
2023-09-26 15:39:37 +00:00
Mike Hommey b11b9075c4 Bug 1836193 - Update builders to clang 17. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D188634
2023-09-26 00:17:17 +00:00
Mike Hommey 5dacba3398 Bug 1839739 - Default to lld in more cases on Linux. r=firefox-build-system-reviewers,geckoview-reviewers,releng-reviewers,andi,gbrown,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D188676
2023-09-25 22:58:28 +00:00
Cosmin Sabou 80668b020f Backed out 3 changesets (bug 1854025) for causing build bustages.
Backed out changeset dd3a03791ed7 (bug 1854025)
Backed out changeset b9136831bc35 (bug 1854025)
Backed out changeset 08a18581bb77 (bug 1854025)
2023-09-26 00:31:42 +03:00
Mike Hommey 1e09918ec1 Bug 1854025 - Update tempfile to 3.8.0. r=emilio,supply-chain-reviewers,sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D188654
2023-09-25 20:47:25 +00:00
Mike Hommey 390281e651 Bug 1854025 - Vendor rustix. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D188653
2023-09-25 20:47:22 +00:00
Iulian Moraru 49d63b61ac Merge autoland to mozilla-central. a=merge 2023-09-22 12:20:44 +03:00
serge-sans-paille fd53deacfc Bug 1854557 - include fetch-content in startup-test sparse checkout r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D188945
2023-09-22 08:31:26 +00:00
Mike Hommey aac4cc951f Bug 1854524 - Enable wasm support to the clang 8 toolchain. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188907
2023-09-22 04:39:06 +00:00
Mike Hommey 53765a27b9 Bug 1851754 - Upgrade minimum supported Clang version to 8. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D188898
2023-09-22 02:34:51 +00:00
Mike Hommey a6de9f8d22 Bug 1854497 - In elfhack checks, don't look for parens. r=firefox-build-system-reviewers,ahochheiden
Old versions of llvm-readelf didn't have parens in its output for `-d`.
So instead of looking for parens, look for word boundaries.

Differential Revision: https://phabricator.services.mozilla.com/D188897
2023-09-22 02:28:00 +00:00
Mike Hommey d8bb87469e Bug 1854303 - Apply the PT_DYNAMIC tag changes properly. r=firefox-build-system-reviewers,ahochheiden
They are supposed to be applied unconditionally, not only when there is
a GLIBC_ABI_DT_RELR version in the libc.

Differential Revision: https://phabricator.services.mozilla.com/D188894
2023-09-22 02:23:54 +00:00
Mike Hommey b50fd4bf85 Bug 1854052 - Don't build elfhack tests when building with relrhack. r=firefox-build-system-reviewers,andi
They are not useful (and the corresponding Makefile doesn't use them
anyways, so they're built for nothing).

Differential Revision: https://phabricator.services.mozilla.com/D188679
2023-09-20 22:01:37 +00:00
Mike Hommey fc8b517cea Bug 1854022 - Adjust clang trunk patches to upstream changes. r=firefox-build-system-reviewers,andi
- D146664 is not needed anymore (something equivalent now landed upstream)
- One patch needs a small context adjustment
- Other patches need to be reverted because we already revert things
  they depend on.
- We also disable a new warning about unversioned android target
  fallback because it currently causes problems we'll fix later.

Differential Revision: https://phabricator.services.mozilla.com/D188669
2023-09-20 20:02:15 +00:00
Iulian Moraru 98e5cc913d Backed out 22 changesets (bug 1839396) for causing multiple spidermonkey bustages and jittest failures. CLOSED TREE
Backed out changeset c17523ff7eb5 (bug 1839396)
Backed out changeset 771c47934e72 (bug 1839396)
Backed out changeset d219a4366950 (bug 1839396)
Backed out changeset f1accceff8b8 (bug 1839396)
Backed out changeset 1dd3b4a4da66 (bug 1839396)
Backed out changeset 8645391a6359 (bug 1839396)
Backed out changeset 03082f8db52c (bug 1839396)
Backed out changeset 93a56d4cd58f (bug 1839396)
Backed out changeset 96be1bbf8fff (bug 1839396)
Backed out changeset b0a898413a0f (bug 1839396)
Backed out changeset b0dc61dbe899 (bug 1839396)
Backed out changeset d89ee847ad56 (bug 1839396)
Backed out changeset 42f370321925 (bug 1839396)
Backed out changeset 0321a4a743de (bug 1839396)
Backed out changeset d3f56d11a4b4 (bug 1839396)
Backed out changeset c193770e3745 (bug 1839396)
Backed out changeset d68820286c44 (bug 1839396)
Backed out changeset f10974287494 (bug 1839396)
Backed out changeset 6bbf058933c5 (bug 1839396)
Backed out changeset 101beccd6098 (bug 1839396)
Backed out changeset 030fc635d134 (bug 1839396)
Backed out changeset 89e13efa6b37 (bug 1839396)
2023-09-20 20:58:00 +03:00
Nicolas B. Pierron b47a865543 Bug 1839396 part 15 - Replace Sprinter::jsprintf. r=mgaudet
Sprinter::jsprintf is nowadays the same as GenericPrinter::printf which Sprinter
inherit from. This patch removes all calls to Sprinter::jsprintf and replaces
them by Sprinter::printf.

The advantage of using GenericPrinter::printf is that this reduce the dependency
on Sprinter-specific interface and moves us toward being able to move more
consumers over to the GenericPrinter.

Differential Revision: https://phabricator.services.mozilla.com/D181500
2023-09-20 17:00:09 +00:00
Landry Breuil 74c25ed2b2 Bug 1852202: LLVM on OpenBSD doesn't support -fstack-clash-protection r=firefox-build-system-reviewers,andi DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D188228
2023-09-19 09:25:55 +00:00
Mike Hommey b25b67e371 Bug 1853088 - Remove win32 build from aarch64 windows builds. r=firefox-build-system-reviewers,media-playback-reviewers,taskgraph-reviewers,ahochheiden,gbrown,padenot
Now that we have a native aarch64 gmp plugin for widevine, we can revert
bug 1529194, bug 1527463, bug 1534522, bug 1607552.

Differential Revision: https://phabricator.services.mozilla.com/D188300
2023-09-19 08:29:07 +00:00
Sandor Molnar e22ad0a522 Bug 1850867 - Fix android bustages. a=fix 2023-09-19 07:52:45 +03:00
Mike Hommey c8bc3a7c87 Bug 1850867 - Add relrhack support for Android. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D188410
2023-09-19 04:32:17 +00:00
Sandor Molnar 42d21d91b3 Bug 1850460 - Removed file build/build-clang/revert-llvmorg-18-init-3787-gb6a1473f97d3.patch CLOSED TREE 2023-09-19 05:58:05 +03:00
Mike Hommey 52fa8dce8f Bug 1853271 - Make `mach configure` prefer bootstrapped toolchains. r=firefox-build-system-reviewers,sergesanspaille,nalexander
Except when bootstrap is explicitly disabled. This means that on
--enable-release builds, we would now prefer previously bootstrapped
toolchains (but wouldn't bootstrap by default if they aren't there)

Differential Revision: https://phabricator.services.mozilla.com/D188315
2023-09-19 02:21:37 +00:00
Sandor Molnar 69e55ea5f9 Bug 1850460 - Removed "revert-llvmorg-18-init-3787-gb6a1473f97d3.patch" a=backout CLOSED TREE 2023-09-19 05:37:07 +03:00
Makoto Kato d1511e6c99 Bug 1820295 - Increase GeckoView Lite's minimum API level to 21. r=geckoview-reviewers,firefox-build-system-reviewers,nalexander,owlish
Actually, Fenix's minimum is 21 even if 32-bit and  Google Play Service has
discontinued 4.4 support. We would like to increase Lite's minimum API to 21
even if 32-bit.

Differential Revision: https://phabricator.services.mozilla.com/D187861
2023-09-19 01:31:04 +00:00
Mike Hommey f0ee4a497a Bug 1853084 - Upgrade mio to 0.8.8. r=emilio,supply-chain-reviewers
Now that windows-sys is vendored, we can upgrade mio to a version that
uses it.

Differential Revision: https://phabricator.services.mozilla.com/D188154
2023-09-18 19:55:21 +00:00
Mike Hommey ace07835f3 Bug 1853084 - Avoid trying to link all the windows SDK DLLs. r=emilio
By attaching the #[link] to the function instead of the extern block,
rustc avoids adding libs that aren't used to the linker command line.

Differential Revision: https://phabricator.services.mozilla.com/D188312
2023-09-18 19:55:17 +00:00
Mike Hommey 0971a7a2da Bug 1839740 - Hook relrhack in the build system. r=firefox-build-system-reviewers,andi
Disabled by default for now.

Differential Revision: https://phabricator.services.mozilla.com/D187090
2023-09-16 19:52:26 +00:00
Mike Hommey 90c8c29f23 Bug 1839740 - New relrhack tool, a modern replacement to elfhack. r=firefox-build-system-reviewers,sergesanspaille
Elfhack is the main reason we're not using lld on Linux/Android
shippable builds, because the way it works doesn't go well with how lld
lays out ELF binaries. By leveraging the linker itself (BFD and lld both
having recently gained the ability to generate the compact relocation
info themselves), we can achieve a similar result to what elfhack is
doing, while allowing to use lld.

See more in-depth background on https://glandium.org/blog/?p=4297

Differential Revision: https://phabricator.services.mozilla.com/D187089
2023-09-16 19:52:25 +00:00
Mike Hommey 1da6d16d6d Bug 1839740 - Rename the symbol by elfhack to point to the ELF header. r=firefox-build-system-reviewers,andi
Elfhack acts as a linker, and it uses the `elf_header` symbol to point
at the ELF header in the injected code that applies relocations.
Both GNU ld and lld expose a `__ehdr_start` symbol with the same meaning,
so rename the `elf_header` symbol for compatibility. This will allow to
reuse the code in the upcoming replacement for elfhack.

Differential Revision: https://phabricator.services.mozilla.com/D187088
2023-09-16 19:52:25 +00:00
Mike Hommey 74783ceb12 Bug 1852694 - Revert clang trunk patch that breaks reading rust LLVM IR. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D187963
2023-09-15 19:54:11 +00:00