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

11635 Коммитов

Автор SHA1 Сообщение Дата
serge-sans-paille f361dfd800 Bug 1877102 - Use correct flag to pass orderfile under windows r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D199851
2024-01-30 07:57:07 +00:00
Alexandre Lissy 6e9ebace03 Bug 1877098 - Add some doc on Snap packaging r=firefox-build-system-reviewers,ahochheiden DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D199859
2024-01-30 06:01:16 +00:00
Alex Franchuk d0787ae640 Bug 1875097 - Port the mozwer-rust crate to windows-sys r=gsvelto,glandium
This exchanges `winapi` functions/types for equivalent `windows-sys` ones. Some basic types (e.g.
`PBOOL`) don't exist in `windows-sys`, and I added `type` items for them (though those could be
removed and the types inlined; that's what `windows-sys` does itself).

The `psapi` library needed to be added for GetModuleFileNameExW; I guess previously `winapi` was
linking it?

Almost all manual definitions of types (`winapi::ENUM!` and `winapi::STRUCT!`) were no longer needed
because `windows-sys` has them. Only the version of `RTL_USER_PROCESS_PARAMETERS` with undocumented
fields was still needed.

Differential Revision: https://phabricator.services.mozilla.com/D199111
2024-01-29 19:19:45 +00:00
Mike Hommey f3e6713bec Bug 1876386 - Update workspace hack to windows-sys 0.52. r=firefox-build-system-reviewers,ahochheiden
After bug 1876372, tokio is the last user of windows-sys 0.48, so we
don't really need to account for window-sys 0.48 in the workspace hack
anymore. We do however need to account for windows-sys 0.52.

Differential Revision: https://phabricator.services.mozilla.com/D199582
2024-01-26 00:08:29 +00:00
Tom Marble 64d00dda75 Bug 1873105 - convert .ini manifests to .toml: batch 22 remaining moz.build refs r=jmaher,jgilbert,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D198466
2024-01-24 23:19:47 +00:00
Mike Hommey dbef0da439 Bug 1875006 - Upgrade memmap2 to 0.9.3. r=emilio,supply-chain-reviewers,profiler-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D198765
2024-01-24 20:33:52 +00:00
Stanca Serban 46e95cfe1c Backed out changeset f66c3a3de349 (bug 1873105) for causing xpcshell failures. 2024-01-24 21:06:05 +02:00
Tom Marble 186efba7fa Bug 1873105 - convert .ini manifests to .toml: batch 22 remaining moz.build refs r=jmaher,jgilbert,extension-reviewers,robwu
Differential Revision: https://phabricator.services.mozilla.com/D198466
2024-01-24 16:36:45 +00:00
serge-sans-paille 24f9846b7d Bug 1844769 - Extra sanity check upon merged.profdata generation r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D184227
2024-01-24 06:54:37 +00:00
Iulian Moraru 67904b0b53 Backed out changeset aee727a67f92 (bug 1875006) for causing map related build bustages. CLOSED TREE 2024-01-24 02:35:12 +02:00
Mike Hommey a0bacae980 Bug 1875006 - Upgrade memmap2 to 0.9.3. r=emilio,supply-chain-reviewers,profiler-reviewers,mstange
Differential Revision: https://phabricator.services.mozilla.com/D198765
2024-01-24 00:09:06 +00:00
Mike Hommey e5b5a9162c Bug 1874999 - Update parking_lot_core to 0.9.9. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198762
2024-01-23 23:54:36 +00:00
Mike Hommey 87f9414fa0 Bug 1874998 - Update tempfile to 3.9.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D198761
2024-01-23 23:54:36 +00:00
Mike Hommey 3075ad0c99 Bug 1874809 - Upgrade windows-sys to 0.52. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D198653
2024-01-23 22:54:10 +00:00
Gregory Pappas b3e0fd295c Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-22 09:52:53 +00:00
Dana Keeler 9a1b3c3610 Bug 1874627 - regenerate expiring test certificates for 2024 r=jschanck,necko-reviewers,extension-reviewers,robwu,jesup
* the certificates were regenerated using `./mach generate-test-certs`
* the build/pgo/certs/ changes were made using
  `./mach python build/pgo/genpgocert.py`
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were
  updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js needed manual
  updating

These certificates and other test artifacts will now expire in 2025.

Differential Revision: https://phabricator.services.mozilla.com/D198727
2024-01-18 23:31:04 +00:00
Iulian Moraru b643962356 Backed out changeset da092d881d44 (bug 1724089) for causing valgrind build bustages. 2024-01-18 22:12:44 +02:00
Gregory Pappas c2ed911bfb Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 16:25:47 +00:00
Noemi Erli 623ef8a876 Backed out changeset be072303feaf (bug 1724089) for causing xpc failures in test_headless.js 2024-01-18 16:44:10 +02:00
Gregory Pappas 68e8f55749 Bug 1724089 - Remove browser.tabs.remote.autostart pref r=webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jgraham,extension-reviewers,mossop,sparky,robwu,owlish,necko-reviewers,jmaher,valentin
Differential Revision: https://phabricator.services.mozilla.com/D192136
2024-01-18 11:51:13 +00:00
Mike Hommey 0398dcfb24 Bug 1467337 - Don't allow --enable-stdcxx-compat when the linker is gold. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D197352
2024-01-17 22:47:27 +00:00
serge-sans-paille ce3d15a17b Bug 1793001 - s/egrep/grep -E/ r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197508
2024-01-17 14:37:17 +00:00
Malte Juergens ad91a46064 Bug 1857894 - Make includesubdomains.preloaded.test available to mochitest r=freddyb
This way we have a domain available that is on the HSTS preload list.

cert9.db, key4.db and mochitest.client have been generated by `./mach python build/pgo/genpgocert.py`,
as per https://firefox-source-docs.mozilla.org/build/buildsystem/test_certificates.html.

Differential Revision: https://phabricator.services.mozilla.com/D196316
2024-01-17 09:36:53 +00:00
Mike Hommey d377c048b3 Bug 1874799 - Upgrade midir to latest from our fork. r=gsvelto,supply-chain-reviewers
This upgrades alsa to 0.8.1 and bitflags to 2.0

Differential Revision: https://phabricator.services.mozilla.com/D198644
2024-01-16 21:16:00 +00:00
John Schanck 8e8e91d1a7 Bug 1870290 - land NSS NSS_3_97_BETA1 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D198471
2024-01-16 16:27:07 +00:00
Jesse Schwartzentruber 57bbf6ff1e Bug 1874282 - Disable object-size sanitizer when optimize is disabled. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D198328
2024-01-16 14:55:25 +00:00
mcarare 88903cc4ad Bug 1873677 - GeckoView Android API 34 (Android 14) r=jgraham,jonalmeida
Differential Revision: https://phabricator.services.mozilla.com/D198175
2024-01-16 08:21:36 +00:00
Mike Hommey 4d71f98fb6 Bug 1874524 - Adjust clang patches to recent upstream changes. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198638
2024-01-16 04:39:22 +00:00
Mike Hommey c25e5f1fc3 Bug 1874758 - Avoid errors during upload_generated_sources.py being ignored. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198639
2024-01-16 04:38:50 +00:00
serge-sans-paille fe11cb1d84 Bug 1871572 - Activate AVX512BW kernels for intgemm r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D197176
2024-01-15 16:12:41 +00:00
serge-sans-paille c29e1211c3 Bug 1861365 - Detect statically linking with libstdc++ r=glandium
Do this by scanning for lib(std)c++ in the dynamic section.

Differential Revision: https://phabricator.services.mozilla.com/D194744
2024-01-13 18:00:25 +00:00
Tom Marble d9e526f1a8 Bug 1873265 - mach skip-fails improvements r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D198329
2024-01-12 15:56:31 +00:00
Gijs Kruitbosch 5e323fd1f1 Bug 1874141 - update build docs for components.conf to list esModule instead of jsm, r=firefox-build-system-reviewers,nalexander DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D198264
2024-01-12 11:49:57 +00:00
Narcis Beleuzu 0e622d6c51 Backed out changeset cc5b886ea3a2 (bug 1861365) for causing build bustages. CLOSED TREE 2024-01-12 11:44:56 +02:00
serge-sans-paille af290d730b Bug 1861365 - Detect statically linking with libstdc++ r=glandium
Do this by scanning for lib(std)c++ in the dynamic section.

Differential Revision: https://phabricator.services.mozilla.com/D194744
2024-01-12 09:22:27 +00:00
serge-sans-paille 1e70dedf6a Bug 1873905 - Fix variable naming for cached configure variable r=glandium
Otherwise the caching doesn't actually happen, see
https://searchfox.org/mozilla-central/rev/6f90f50b7a32cc062ab755e0653b3d3f512fe3bd/build/autoconf/acgeneral.m4#1127

Differential Revision: https://phabricator.services.mozilla.com/D198149
2024-01-12 07:38:40 +00:00
Mike Hommey 14b8d8e846 Bug 1873821 - Remove unused bindgen 0.66 patch. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D198126
2024-01-10 22:19:07 +00:00
serge-sans-paille 3b336e99e6 Bug 1873495 - Fix variable naming for cached EXPAND_LIBS_LIST_STYLE r=glandium
Cached variable *must* have `_cv_` in their name, per

        https://searchfox.org/mozilla-central/rev/6f90f50b7a32cc062ab755e0653b3d3f512fe3bd/build/autoconf/acgeneral.m4#1127

Differential Revision: https://phabricator.services.mozilla.com/D197945
2024-01-10 14:07:40 +00:00
serge-sans-paille c3147ff86e Bug 1873494 - Cache check for malloc_usable_size argument constness r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D197944
2024-01-10 14:07:40 +00:00
serge-sans-paille 7ca6ae234d Bug 1872889 - Disable symbol ordering warning r=aryx
We only generate a single orderfile and use it for each linked object,
which results in some symbols being listed while not belonging to that
particular object.

Differential Revision: https://phabricator.services.mozilla.com/D197621
2024-01-04 14:23:12 +00:00
Narcis Beleuzu e5f27a07b7 Backed out changeset 399d9781e72b (bug 1724089) for causing xpcshell failures. CLOSED TREE 2024-01-02 13:56:25 +02:00
Gregory Pappas bf28beba3c 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
2024-01-02 11:17:09 +00:00
Stanca Serban 9fe9443876 Backed out changeset 88de278b4ca9 (bug 1724089) for causing xpcshell failures. 2024-01-02 11:16:31 +02:00
Gregory Pappas 3ed862b8e0 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
2024-01-02 07:53:31 +00:00
Nicolas Guichard 4303f386e4 Bug 1865048 - Mozsearch indexer: add bindingSlots/slotOwner to C++ code bound from/to Java code r=asuth
This is a squash of commits 978bdb2d..549ce9bf from github:mozsearch/mozsearch.
Previously reviewed on https://github.com/mozsearch/mozsearch/pull/673.

Depends on D196795

Differential Revision: https://phabricator.services.mozilla.com/D196796
2023-12-28 22:47:46 +00:00
Mike Hommey c3eddbda66 Bug 1871895 - Get macos SDK from tooltool on automation. r=firefox-build-system-reviewers,ahochheiden
Ideally, we wouldn't rely on tooltool, but until we can have private
fetches that can actually be used forever without having to be
retriggered for CoT or other reasons, tooltool is the best we have.

Differential Revision: https://phabricator.services.mozilla.com/D197305
2023-12-28 20:03:51 +00:00
Mike Hommey acf309eddf Bug 1871895 - Switch unpack-sdk.py to sha512. r=firefox-build-system-reviewers,ahochheiden
That will more easily allow to use tooltool.

Differential Revision: https://phabricator.services.mozilla.com/D197304
2023-12-28 20:03:50 +00:00
Mike Hommey 61cd516c19 Bug 1857090 - Update builders to rustc 1.75. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197273
2023-12-28 19:59:02 +00:00
Mike Hommey 54b163ec29 Bug 1872001 - Refresh Visual Studio artifacts. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197312
2023-12-27 20:25:28 +00:00
Mike Hommey 2f22100893 Bug 1871894 - Switch builds to macOS 14.2 SDK. r=spohl,firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D197280
2023-12-27 20:23:36 +00:00
Mike Hommey 4f69399904 Bug 1868266 - Properly handle the Visual C++ situation when cross-compiling on Windows. r=firefox-build-system-reviewers,nalexander
The first thing is that the target CPU may not be supported by Visual
C++, so using that, we don't find the path to a Visual C++ compiler.
By using the host CPU in that case, we can find it.

For ATL and MFC libraries, we may not be able to find them for similar
reasons, but we don't actually need them when cross-compiling, so just
return nothing for those when the target OS is not Windows.

Differential Revision: https://phabricator.services.mozilla.com/D197037
2023-12-21 20:22:10 +00:00
serge-sans-paille f7255a7edc Bug 1606191 - Remove hand-written Windows orderfile r=glandium
Since 1839832 we generate an equivalent file based on PGO data
automatically.

Differential Revision: https://phabricator.services.mozilla.com/D195848
2023-12-19 14:03:13 +00:00
serge-sans-paille 9779ed6e69 Bug 1868949 - Add support for AVX VNNI in cpu detection and IntegerGemm r=marco
This make it possible to use the recently added changes in gemmology.

Differential Revision: https://phabricator.services.mozilla.com/D196425
2023-12-19 13:04:19 +00:00
Mike Hommey 2f5afc2211 Bug 1870206 - Remove ReleaseNotes part of the clang patches. r=firefox-build-system-reviewers,ahochheiden
It's not like we publish the ReleaseNotes from the clang toolchain
artifact, and it's only going to be a recurrent source of patch conflict
when the upstream release notes change.

Differential Revision: https://phabricator.services.mozilla.com/D196529
2023-12-18 20:14:31 +00:00
serge-sans-paille 4ecf883504 Bug 1839832 - Use PGO-based orderfile when possible r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181750
2023-12-18 10:20:33 +00:00
Mike Hommey 1b55864833 Bug 1869970 - Make snap builds pick minidump-stackwalk in case PGO crashes. r=firefox-build-system-reviewers,ahochheiden
We use UPLOAD_DIR rather than UPLOAD_PATH because UPLOAD_DIR is handled
by run-task to be set properly from a relative path.

As the snaps rightfully unset MOZ_AUTOMATION, we add another way to
enable the use of the symbols server.

Differential Revision: https://phabricator.services.mozilla.com/D196399
2023-12-15 01:19:17 +00:00
Joel Maher 0bc470a2e8 Bug 1869890 - migrate cram.ini to .toml. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D196352
2023-12-14 21:00:24 +00:00
Mike Hommey b9c409edd4 Bug 1869078 - Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
AC_SUBSTs with a lower-case key are not really supposed to be used,
although that has never been enforced, and at least one of them is
used in practice.

At least, that's the theory behind using files to store their value in
config.statusd (added in bug 1402012). Because obviously, on
case-insensitive file systems, a variable that is upper case will use
the same file as the lower case one. If their value is the same, then
fine, but if they aren't, thing go bad.

Until bug 1867457, that held true for TARGET_CPU and target_cpu: their
value was the same. But bug 1867457 changed that. But target_cpu is only
there because it's set by autoconf itself, and we don't care about it.

The result is that the value of target_cpu takes precedence because it's
set last, and overwrites the value of TARGET_CPU in config.statusd,
subsequently making the value read in GenerateAtomicOperations.py wrong.

Differential Revision: https://phabricator.services.mozilla.com/D195959
2023-12-14 05:14:32 +00:00
ogiorgis 111705f5fd Bug 1840493 - doc/rst: fix some languages declaration r=firefox-source-docs-reviewers,webdriver-reviewers,necko-reviewers,geckoview-reviewers,devtools-reviewers,profiler-reviewers,championshuttler,whimboo,nchevobbe,julienw,amejiamarmol
Differential Revision: https://phabricator.services.mozilla.com/D196268
2023-12-13 18:32:20 +00:00
Narcis Beleuzu 399de5a9a6 Backed out changeset 83ef845d60ab (bug 1869078) for build bustages 2023-12-13 11:45:40 +02:00
Mike Hommey b2e94d0ddd Bug 1869078 - Filter-out target_cpu from substs provided by old-configure. r=firefox-build-system-reviewers,sergesanspaille
AC_SUBSTs with a lower-case key are not really supposed to be used,
although that has never been enforced, and at least one of them is
used in practice.

At least, that's the theory behind using files to store their value in
config.statusd (added in bug 1402012). Because obviously, on
case-insensitive file systems, a variable that is upper case will use
the same file as the lower case one. If their value is the same, then
fine, but if they aren't, thing go bad.

Until bug 1867457, that held true for TARGET_CPU and target_cpu: their
value was the same. But bug 1867457 changed that. But target_cpu is only
there because it's set by autoconf itself, and we don't care about it.

The result is that the value of target_cpu takes precedence because it's
set last, and overwrites the value of TARGET_CPU in config.statusd,
subsequently making the value read in GenerateAtomicOperations.py wrong.

Differential Revision: https://phabricator.services.mozilla.com/D195959
2023-12-13 09:09:40 +00:00
Mike Hommey 97e0e8c3c4 Bug 1860630 - Upgrade zstandard to 0.22. r=firefox-build-system-reviewers,mach-reviewers,sergesanspaille,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-13 02:39:24 +00:00
Noemi Erli bf3ce8752b Backed out changeset 83540e45dfb8 (bug 1860630) for causing mach related bustage 2023-12-12 23:00:01 +02:00
Mike Hommey 2aae8fea6a Bug 1860630 - Upgrade zstandard to 0.22. r=glandium CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D194184
2023-12-12 20:11:48 +00:00
ahochheiden 140c1177cb Bug 1843209 - Fix pygobject for python 3.8. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D195911
2023-12-12 03:52:00 +00:00
ahochheiden 94030d06be Bug 1843209 - Bump Mach's minimum Python version to `3.8` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-12-12 03:52:00 +00:00
Sandor Molnar 632d352596 Backed out changeset 96f4aa903123 (bug 1839832) for causing bpgo bustages CLOSED TREE 2023-12-12 03:04:48 +02:00
serge-sans-paille fbf7297f82 Bug 1839832 - Use PGO-based orderfile when possible r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D181750
2023-12-11 21:31:43 +00:00
Mike Hommey 0ff3c2f865 Bug 1868924 - Adjust revert-llvmorg-15-init-11205-gcead4eceb01b_clang_18.patch to upstream changes. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D195844
2023-12-11 20:11:37 +00:00
mleclair d8336f39a8 Bug 1867581 - Fixed PGO training set not working for SP3 since SP3 wasn't running as root r=bas
Differential Revision: https://phabricator.services.mozilla.com/D195898
2023-12-08 18:41:04 +00:00
Otto Länd a97998200e Bug 1867459: apply code formatting via Lando
# ignore-this-changeset
2023-12-08 10:47:01 +00:00
Mike Hommey b7bb7390ba Bug 1867459 - Avoiding silently dismissing uses of CPU_ARCH. r=firefox-build-system-reviewers,sergesanspaille
In many cases, using CONFIG["CPU_ARCH"] will silently do the unexpected
thing now that it doesn't exist anymore. In case there are in-flight
patches using it, it's better to avoid those causing subtle problems
after a rebase by making most uses of the variable throw an exception.

Differential Revision: https://phabricator.services.mozilla.com/D195158
2023-12-08 10:43:59 +00:00
Mike Hommey 619672a8e4 Bug 1867459 - Replace CPU_ARCH with TARGET_CPU. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D195157
2023-12-08 10:43:59 +00:00
Logan Rosen 141305b4e4 Bug 1677775 - reformat .mozbuild files with Black r=linter-reviewers,geckoview-reviewers,firefox-build-system-reviewers,ahal,glandium,owlish,sylvestre
#ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D193007
2023-12-08 04:26:45 +00:00
Mike Hommey 7ee8115088 Bug 1867457 - Make TARGET_CPU in the build system mean the same as target.cpu in configure. r=firefox-build-system-reviewers,sergesanspaille
This is the continuation of what was started with bug 1835189.

Differential Revision: https://phabricator.services.mozilla.com/D195075
2023-12-08 01:11:14 +00:00
serge-sans-paille 883a3c8e0b Bug 1864318 - Faster elfhack core loop r=glandium
This is 5% faster on my setup, mostly thanks to unrolling being
possible.

We also skip the early loop exit. Most of the bits of `bits` are generally set, so it's ok to do a
few more extra operations if we do them faster.

Differential Revision: https://phabricator.services.mozilla.com/D193366
2023-12-07 14:50:17 +00:00
serge-sans-paille 882e879a4e Bug 1867867 - Restore temporal instrumentation support in clang r=glandium
Should be ok since rustc understands the new format now.

Differential Revision: https://phabricator.services.mozilla.com/D195316
2023-12-05 13:01:31 +00:00
Natalia Csoregi f10c99c5a8 Backed out changeset 08e37313483d (bug 1864318) as requested. CLOSED TREE 2023-12-04 23:47:32 +02:00
serge-sans-paille 897929a1e4 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.

Only activated on non-Android target though, as it breaks at runtime.

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-12-04 21:12:36 +00:00
Andrew Halberstadt 757f0bf16a Bug 1867990 - Fix black formatting errors that snuck in due to regression, r=linter-reviewers,taskgraph-reviewers,releng-reviewers,bhearsum,sylvestre
These were not caught due to bug 1865672.

Depends on D195431

Differential Revision: https://phabricator.services.mozilla.com/D195432
2023-12-04 14:51:39 +00:00
Ray Kraesig b442fec76f Bug 1858225 - [3/9] introduce "local" async-filepicker implementation functions r=handyman,win-reviewers,mhowell
Introduce functions which create and invoke the Windows file-picker in a
separate thread. This thread is created with a new single-threaded COM
apartment to avoid implicitly creating a nested modal loop on the main
STA thread.

Technically, no functional changes: these functions aren't actually
invoked yet. (That will occur in an upcoming commit.)

Differential Revision: https://phabricator.services.mozilla.com/D193735
2023-12-01 05:03:18 +00:00
Cosmin Sabou c3f8e90d2c Backed out 11 changesets (bug 1858225) for causing build bustages on nsFilePicker.cpp. CLOSED TREE
Backed out changeset 808f68da4438 (bug 1858225)
Backed out changeset e6f456e40dda (bug 1858225)
Backed out changeset d1efbf517c7e (bug 1858225)
Backed out changeset 61c8a62b47c5 (bug 1858225)
Backed out changeset 9b1f0d37b74b (bug 1858225)
Backed out changeset f57ac4a387f2 (bug 1858225)
Backed out changeset 9b2c6eaf137e (bug 1858225)
Backed out changeset 6aacb8fde7e1 (bug 1858225)
Backed out changeset 2eb38cba55d6 (bug 1858225)
Backed out changeset c31dfa5f9be5 (bug 1858225)
Backed out changeset 82b7b851c429 (bug 1858225)
2023-12-01 00:18:29 +02:00
Ray Kraesig 3f73215354 Bug 1858225 - [10/9] add thread name to permitted-threads list. r=bustage-fix CLOSED TREE
The async file-picker creates a new thread, but the thread name was not
added to the permitted-thread-names list. Amended.

Differential Revision: https://phabricator.services.mozilla.com/D195170
2023-11-30 21:20:00 +00:00
Gabriele Svelto f86c830487 Bug 1864000 - Update minidump-writer to version 0.8.3 r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D194529
2023-11-30 17:01:18 +00:00
Mike Hommey eba47166c7 Bug 1867202 - Fix missing include in clang 8. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194952
2023-11-30 08:48:34 +00:00
Mike Hommey 5d9e274ba1 Bug 1867181 - Set LDFLAGS to point binutils build to the sysroot libraries. r=firefox-build-system-reviewers,ahochheiden build
Differential Revision: https://phabricator.services.mozilla.com/D194946
2023-11-30 08:48:03 +00:00
Mike Hommey 0b31eb4df3 Bug 1866931 - Add windows-sys to the rust workspace hack. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194831
2023-11-30 07:31:38 +00:00
Mike Hommey 2c5b1d870b Bug 1866928 - Enable the parallel feature in the cc crate. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194829
2023-11-30 07:31:37 +00:00
Mike Hommey fb9496d6ae Bug 1866921 - Add rust search path to $PATH for the build. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D194826
2023-11-30 04:48:02 +00:00
serge-sans-paille 3a2b678746 Bug 1862309 - Add speedometer3 to the PGO training set r=smaug,sparky,jnicol
This is done for both Android and regular builds, and it brings a nice
1% perf improvement on Windows, and 2% on Android.

Do not get rid of Speedometer2 yet, adding Speedometer3 already brings
an interesting performance boost.

To update to the latest version run

        > ./mach vendor third_party/webkit/PerformanceTests/Speedometer3/moz.yaml

Differential Revision: https://phabricator.services.mozilla.com/D194040
2023-11-28 11:32:56 +00:00
Nicolas Guichard 67539877a9 Bug 1490144 - Mozsearch indexer: remove pretty field from super/override relationships. r=asuth
This is the update from https://github.com/mozsearch/mozsearch/pull/672.
Mozsearch doesn't expect the pretty field on super/override
relationships anymore. It doesn't hurt being there, but let's clean it
up anyway.

Differential Revision: https://phabricator.services.mozilla.com/D194524
2023-11-27 20:03:10 +00:00
Sylvestre Ledru a2447809e0 Bug 1863497 - sccache: update the doc r=glandium
Depends on D192932

Differential Revision: https://phabricator.services.mozilla.com/D193704
2023-11-27 16:59:49 +00:00
stransky 4c3bfd25fb Bug 1864382 [Linux] Allow memleak of GdkWindow x11 inernals r=emilio
Depends on D194622

Differential Revision: https://phabricator.services.mozilla.com/D194623
2023-11-25 10:41:47 +00:00
Sylvestre Ledru 82bc783c85 no bug - docs: remove references to non existing docs r=geckoview-reviewers,owlish
Depends on D194633

Differential Revision: https://phabricator.services.mozilla.com/D194634
2023-11-24 20:25:56 +00:00
Andreas Pehrson 6bb8230ea7 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-24 11:33:56 +00:00
Cristian Tuns b54e9ee57c Backed out 3 changesets (bug 1670633, bug 1866014) for causing build bustages in MediaEngineWebRTCAudio.cpp CLOSED TREE
Backed out changeset c0d256e9cde9 (bug 1866014)
Backed out changeset e7d101bd73d9 (bug 1670633)
Backed out changeset a849a8e4bd37 (bug 1670633)
2023-11-24 06:18:42 -05:00
Andreas Pehrson e94273f845 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-24 08:22:32 +00:00
Stanca Serban 41f7486e5f Backed out 2 changesets (bug 1670633) as requested for causing Bug 1866014. CLOSED TREE
Backed out changeset be8e9a8eaa80 (bug 1670633)
Backed out changeset bace8b9c91dc (bug 1670633)
2023-11-23 20:03:07 +02:00
Cosmin Sabou 720d42893d Backed out 2 changesets (bug 1843209) for python3 related browser accessible failures. CLOSED TREE
Backed out changeset 052214d67a99 (bug 1843209)
Backed out changeset 36c5e6c2819f (bug 1843209)
2023-11-23 02:41:22 +02:00
ahochheiden aa3fc79e81 Bug 1843209 - Bump Mach's minimum Python version to `3.8` r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D183449
2023-11-22 20:07:41 +00:00
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
Cosmin Sabou 70df8513eb Backed out 22 changesets (bug 1839396) for causing build bustages on js/Printer.h. CLOSED TREE
Backed out changeset 438a7580a804 (bug 1839396)
Backed out changeset 0e43037688b7 (bug 1839396)
Backed out changeset 05ffcc50ddb2 (bug 1839396)
Backed out changeset 3db0e8cc147f (bug 1839396)
Backed out changeset 92310695d5cf (bug 1839396)
Backed out changeset 95880ae2420c (bug 1839396)
Backed out changeset 8bd5a4df0d37 (bug 1839396)
Backed out changeset 9cf77f46cf5e (bug 1839396)
Backed out changeset 6ae1dde24527 (bug 1839396)
Backed out changeset ffa0fc565bbf (bug 1839396)
Backed out changeset ac5d44621417 (bug 1839396)
Backed out changeset f1f71378d0a0 (bug 1839396)
Backed out changeset ac986f1fee8a (bug 1839396)
Backed out changeset f54b604c0c41 (bug 1839396)
Backed out changeset 64a0729cfa91 (bug 1839396)
Backed out changeset d06c9fc06b6e (bug 1839396)
Backed out changeset 861cd467ad0d (bug 1839396)
Backed out changeset 5e0270d189f5 (bug 1839396)
Backed out changeset 00b288e75acf (bug 1839396)
Backed out changeset 21e7991fe154 (bug 1839396)
Backed out changeset 0f468ad1a4d1 (bug 1839396)
Backed out changeset 91937beca944 (bug 1839396)
2023-09-15 17:28:32 +03:00
Nicolas B. Pierron 3acdc5af2f 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-15 13:33:41 +00:00
Henri Sivonen 2ea4ba1cf2 Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-09-15 07:53:16 +00:00
Narcis Beleuzu b55d98b00f Backed out 21 changesets (bug 1839396) for bustages on Printer.h . CLOSED TREE
Backed out changeset c2c0876384ea (bug 1839396)
Backed out changeset 7b00061ff1d0 (bug 1839396)
Backed out changeset 560d36ce1c94 (bug 1839396)
Backed out changeset 9c97403ef422 (bug 1839396)
Backed out changeset a4f770f763f0 (bug 1839396)
Backed out changeset 326d5dabcc77 (bug 1839396)
Backed out changeset 24a2da10bd17 (bug 1839396)
Backed out changeset 45bf93263df4 (bug 1839396)
Backed out changeset 7cdbc7725383 (bug 1839396)
Backed out changeset ff43d8997410 (bug 1839396)
Backed out changeset 14d35aab82ba (bug 1839396)
Backed out changeset 1e0ae94927c1 (bug 1839396)
Backed out changeset cdbd5c0aa968 (bug 1839396)
Backed out changeset 5879c10cab2a (bug 1839396)
Backed out changeset 81ade27ceb03 (bug 1839396)
Backed out changeset e881ed1205c3 (bug 1839396)
Backed out changeset 1c777cc01b84 (bug 1839396)
Backed out changeset e078a7f110b2 (bug 1839396)
Backed out changeset c8918d4de8ac (bug 1839396)
Backed out changeset 436a663a486d (bug 1839396)
Backed out changeset 8c6bea3ac605 (bug 1839396)
2023-09-14 15:51:30 +03:00
Nicolas B. Pierron da63680af6 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-14 11:41:04 +00:00
Mike Hommey 05f86467d2 Bug 1853046 - Update cbindgen to 0.26.0. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D188129
2023-09-13 22:51:58 +00:00
Mike Hommey 198651d478 Bug 1852646 - Always enable crash-diagnostics-dir on automation. r=firefox-build-system-reviewers,nalexander
Now that the minimum supported version of clang is 7, we don't need to
exclude clang < 7.

Differential Revision: https://phabricator.services.mozilla.com/D187946
2023-09-12 20:33:27 +00:00
Erich Gubler 24f0516a6b Bug 1851721: build(rust): add features to match both `indexmap` 1.9.3 and 2.* r=glandium
Supersedes <https://phabricator.services.mozilla.com/D186461>.

Differential Revision: https://phabricator.services.mozilla.com/D187520
2023-09-11 14:28:55 +00:00
John Schanck c2229f0ab0 Bug 1851092 - land NSS ffcd992581 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D187729
2023-09-08 17:54:17 +00:00
Logan Rosen 37ac5164f3 Bug 1837047 - target aarch64 for Android builds on aarch64 hosts r=firefox-build-system-reviewers,glandium
Targeting aarch64 for Android builds on aarch64 hosts to ensure that we build an arm64 artifact that will run on an arm64 emulator, which is the only one that is supported.

Differential Revision: https://phabricator.services.mozilla.com/D187075
2023-09-08 04:21:24 +00:00
Cristina Horotan c1fb133ca4 Backed out changeset 286cef8a7c0a (bug 1837047) for causing python mbu failure 2023-09-08 05:02:12 +03:00
Logan Rosen 6c109bc1b4 Bug 1837047 - target aarch64 for Android builds on aarch64 hosts r=firefox-build-system-reviewers,glandium
Targeting aarch64 for Android builds on aarch64 hosts to ensure that we build an arm64 artifact that will run on an arm64 emulator, which is the only one that is supported.

Differential Revision: https://phabricator.services.mozilla.com/D187075
2023-09-08 01:43:32 +00:00
Logan Rosen f024d94b2b Bug 1786490 - reformat the tree using black 23.3.0 r=sylvestre,webdriver-reviewers,taskgraph-reviewers,whimboo,jmaher,ahal,perftest-reviewers,geckoview-reviewers,afinder,m_kato
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D186092
2023-09-06 16:14:30 +00:00
Logan Rosen 51f5fcdd75 Bug 1786490 - remove references to vendored pyparsing r=sylvestre,mach-reviewers,ahal,ahochheiden
Not necessary because pyparsing is no longer a dependency of packaging, so it is no longer vendored.

Differential Revision: https://phabricator.services.mozilla.com/D186411
2023-09-06 16:14:30 +00:00
Mike Hommey 458d43a2f5 Bug 1851694 - Suppress ubsan function sanitizer for rlbox's impl_invoke_with_func_ptr. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D187514
2023-09-05 22:54:44 +00:00
Julien Cristau be736fcf5f Bug 1851405 - update references to IndexSearch. r=glandium
Fixes mach bootstrap, among others.

Differential Revision: https://phabricator.services.mozilla.com/D187361
2023-09-05 07:39:58 +00:00
Mike Hommey 494f8aa2a8 Bug 1850650 - Adjust revert-llvmorg-17-init-4120-g02e8eb1a438b.patch to llvm trunk changes. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D187403
2023-09-05 06:42:05 +00:00
Mike Hommey 88b82d1ac2 Bug 1851078 - Simplify how the linker is chosen during configure. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D187247
2023-09-04 22:22:35 +00:00
Mike Hommey b1f3975f1d Bug 1839741 - Upgrade binutils to 2.41. r=firefox-build-system-reviewers,ahochheiden
Because it bumps the alignment requirement on aarch64, we make the
elfhack test create more relocations to make the .rela.dyn section large
enough for the test to pass.

Differential Revision: https://phabricator.services.mozilla.com/D181684
2023-09-01 01:20:34 +00:00
Mike Hommey fe3139c268 Bug 1850650 - Adjust revert-llvmorg-15-init-11205-gcead4eceb01b to clang trunk. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D187091
2023-08-31 19:38:29 +00:00
Mike Hommey bc3c8bc2b8 Bug 1850460 - Revert clang trunk commit that conflicts with our changes. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D187063
2023-08-30 05:26:19 +00:00
Mike Hommey 625cfd2e2f Bug 1841905 - Update builders to rustc 1.72. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D186682
2023-08-28 21:02:47 +00:00
Mike Hommey 71ac4d413d Bug 1850307 - Avoid truncation in TestSprintfLiteral.cpp. r=nika
Clang trunk started to warn about uses of snprintf that always lead to
truncation. The warning is hit in the test, but it's not really an
interesting part of the test, so prevent clang from warning by making
the format string smaller.

Differential Revision: https://phabricator.services.mozilla.com/D186990
2023-08-28 20:53:30 +00:00
Cristina Horotan afccc66e1a Backed out changeset f77e9c7c1ae0 (bug 1832022) for causing mochitest failures. CLOSED TREE 2023-08-28 17:42:54 +03:00
Olli Pettay 7cb3608207 Bug 1832022 - Consider to increase import-instr-limit to 30, r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D185078
2023-08-28 10:25:05 +00:00
Natalia Csoregi 47d4ddc1c9 Backed out 2 changesets (bug 1848956) for causing increasingly high webgpu failures on cts.https.html. CLOSED TREE
Backed out changeset fbbf71ea5127 (bug 1848956)
Backed out changeset 3dd540c62c79 (bug 1848956)
2023-08-24 15:10:23 +03:00
Nicolas Silva ac7bc41315 Bug 1848956 - Update `wgpu` to revision 57874e5c540330c8183e19ee87654cf24bb5c250. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
***
fixup

Differential Revision: https://phabricator.services.mozilla.com/D186461
2023-08-24 11:01:46 +00:00
John Schanck ae9ae9b8c9 Bug 1845711 - land NSS NSS_3_93_BETA1 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D186738
2023-08-23 22:56:22 +00:00
Mike Hommey 368daa89f8 Bug 1849273 - Remove the explicit --enable-crashreporter in mozconfig.common. r=firefox-build-system-reviewers,ahochheiden
It has been enabled by default on the relevant platforms essentially
forever, so it doesn't need to be explicitly enabled.

As such, since --enable-crashreporter is not really a useful thing to
point at to wrt build options, we remove its mention from the
configuring build options doc.

Differential Revision: https://phabricator.services.mozilla.com/D186513
2023-08-23 19:07:08 +00:00
Norisz Fay c5e74dfe84 Backed out changeset 4a4d5e64aec5 (bug 1846178) for causing mochitest failures on test_script_loader_js_cache.html/cache_module.html CLOSED TREE 2023-08-23 11:19:39 +03:00
Henri Sivonen acc51e7036 Bug 1846178 - Use the async/defer (non-blocking) HTML parser code path for module scripts. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D185797
2023-08-23 07:11:47 +00:00
Stanca Serban 8aa4e033a1 Backed out changeset bc91ede31572 (bug 1848956) for causing webgpu failures. 2023-08-22 20:57:58 +03:00
Nicolas Silva a8d0e26d58 Bug 1848956 - Update `wgpu` to revision 57874e5c540330c8183e19ee87654cf24bb5c250. r=webgpu-reviewers,glandium,supply-chain-reviewers,ErichDonGubler
***
fixup

Differential Revision: https://phabricator.services.mozilla.com/D186461
2023-08-22 14:03:58 +00:00
renevietnam29@gmail.com c0f7841e56 Bug 1842987 Remove dom.forms.enterkeyhint r=emilio,geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D184620
2023-08-14 13:52:35 +00:00
Rob Lemley 232ef086e2 Bug 1848232 - Allow building notificationserver.dll with Thunderbird. r=nalexander
Goes with bug 1838139 (for comm-central) for the packaging code.

Differential Revision: https://phabricator.services.mozilla.com/D185954
2023-08-12 17:50:28 +00:00
Mike Hommey 4027128b33 Bug 1845498 - Use a response file with ar/llvm-lib when possible. r=firefox-build-system-reviewers,ahochheiden
We've apparently hit a threshold in non-unified builds where there are
too many files on the command line when creating the js_static library
on Windows. The way around that is to do something similar to shared
library linking, using a response file (shared library linking has more
possibilities, but it's a different story). Unfortunately, not all
static library creation tools are equal, and while llvm-lib, GNU ar and
llvm-ar support response files, BSD ar and probably others (e.g. the one
on Solaris?) don't, so we have to try and detect whether that works.

Differential Revision: https://phabricator.services.mozilla.com/D185419
2023-08-10 21:47:08 +00:00
Mike Hommey bba33ffab4 Bug 1847190 - Don't use the configure_cache in the packed relative relocations configure check. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185418
2023-08-09 22:54:23 +00:00
Mike Hommey d66980ade7 Bug 1720484 - Add /usr/lib64/pkgconfig to the list of pkg-config directories we try in sysroots. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185375
2023-08-09 22:53:18 +00:00
Mike Hommey 51de975dd9 Bug 1847101 - Define WORDS_BIGENDIAN when targeting big endians. r=firefox-build-system-reviewers,ahochheiden
Some third party code (cairo, pixman, some media libs) rely on this
define being set. When they are built standalone, they get it from
autoconf, but we don't run their configure scripts, so that's missed.

Differential Revision: https://phabricator.services.mozilla.com/D185351
2023-08-09 22:25:07 +00:00
Mike Hommey 44b24790fa Bug 1847199 - Add toolchains for clang 17.0.0-rc2. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D185424
2023-08-09 20:26:14 +00:00
Mike Hommey 3cb3ea3b50 Bug 1847198 - Update builders to clang 16.0.6. r=firefox-build-system-reviewers,ahochheiden
Remove llvmorg-17-init-11952-g2f0a1699eab7.patch as it was applied
upstream.

Differential Revision: https://phabricator.services.mozilla.com/D185423
2023-08-09 20:26:14 +00:00
Cristian Tuns ff69e79f19 Backed out changeset a8267c9267da (bug 1840902) for causing mochitest failures in automation.py CLOSED TREE 2023-08-08 19:40:55 -04:00
Harshit Sohaney d79723acb5 Bug 1840902 - Adjusted browser chrome tests under the Anti-tracking test suite to support only secure context storage access. r=bvandersloot
Depends on D182366

Differential Revision: https://phabricator.services.mozilla.com/D184979
2023-08-08 20:21:44 +00:00
Tom Marble 1566d8b177 Bug 1847587 - convert .ini manifests to .toml: batch 1 fixups r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D185591
2023-08-07 20:45:46 +00:00
Narcis Beleuzu 8a4a9fad67 Backed out changeset 588b596bcb73 (bug 1847587) for mochitest failures on test_focusrings.xhtml . CLOSED TREE 2023-08-08 02:04:14 +03:00
Tom Marble 87a9d38a88 Bug 1847587 - convert .ini manifests to .toml: batch 1 fixups r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D185591
2023-08-07 20:45:46 +00:00
Kagami Sascha Rosylight 9308e83bc6 Bug 1844843 - Remove warning about targeting Android on Windows r=m_kato,nalexander DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D185162
2023-08-03 19:35:46 +00:00
Mike Hommey 4a05ff7242 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-02 06:12:51 +00:00
Brad Werth 945241d7f5 Bug 1845144 Part 1: Update build configs with minimum macOS 10.15 target, update docs. r=glandium
This changes the minimum macOS target from 10.12 to 10.15 in several build
scripts and in documentation that references the minimum version
requirement.

Differential Revision: https://phabricator.services.mozilla.com/D184432
2023-08-02 02:26:14 +00:00
Mike Hommey eb6bdd90e5 Bug 1835053 - Remove syn v1 from the workspace-hack. r=firefox-build-system-reviewers,ahochheiden
It's the last crate with a remaining dependency on syn v1. The
transition is over.

Differential Revision: https://phabricator.services.mozilla.com/D184999
2023-08-02 00:25:47 +00:00