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

11318 Коммитов

Автор SHA1 Сообщение Дата
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