Commit Graph

11604 Commits

Author SHA1 Message Date
Stanca Serban
07cc43347d Backed out changeset 2a94e8bad21e (bug 1874716) for causing CXX related build bustages. CLOSED TREE 2024-02-06 14:55:40 +02:00
Jonathan Kew
d9682f23b1 Bug 1824671 - patch 11 - Make the JS build run cbindgen unconditionally, so that the unicode-bidi-ffi header gets generated. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D200385
2024-02-06 11:41:13 +00:00
pstanciu
7f73c213d0 Backed out 3 changesets (bug 1876300, bug 1871386, bug 1872748) for causing multiple failures on Linux asan opt. CLOSED TREE
Backed out changeset 5985445bd5c1 (bug 1872748)
Backed out changeset 9cbb0162efb2 (bug 1871386)
Backed out changeset 7c3f969f4730 (bug 1876300)
2024-02-06 13:22:23 +02:00
pstanciu
1200f7991d Backed out 2 changesets (bug 1878108) for causing sm bustages in Attributes.h. CLOSED TREE
Backed out changeset 05e2d2bc1260 (bug 1878108)
Backed out changeset bb356c39c0e2 (bug 1878108)
2024-02-06 13:11:26 +02:00
serge-sans-paille
79d84f74a5 Bug 1874716 - Invalidate old configure's config.cache upon compiler change r=glandium
Otherwise it's loaded unconditionally and some checks are skipped.

Differential Revision: https://phabricator.services.mozilla.com/D198583
2024-02-06 09:55:17 +00:00
serge-sans-paille
a0f4fc0125 Bug 1872748 - Move linker checks from old-configure to configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D199224
2024-02-06 09:54:12 +00:00
serge-sans-paille
bf2b4a82a9 Bug 1871386 - Move -Wl,-build-id check from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D197069
2024-02-06 09:54:12 +00:00
serge-sans-paille
1b9ef3e953 Bug 1876300 - Introduce linker checks to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D199495
2024-02-06 09:54:11 +00:00
Emilio Cobos Álvarez
02f7ec8f63 Bug 1878108 - Replace custom MOZ_LIFETIME_BOUND with built-in. r=nika,glandium
The built-in version is better as it also allows annotating particular
parameters (it not only applies to method declarations).

Differential Revision: https://phabricator.services.mozilla.com/D200432
2024-02-06 08:51:50 +00:00
Sebastian Hengst
d5d45b5369 Bug 1878654 - bump documentated supported build targets from 10.12to 10.15 on macOS. r=ahochheiden DONTBUILD
The minimum supported build target got bumped from macOS 10.12 to 10.15 in bug 1840752.

Differential Revision: https://phabricator.services.mozilla.com/D200632
2024-02-05 20:44:02 +00:00
Emilio Cobos Álvarez
f8f7b2d4a7 Bug 1878575 - Remove build/rust/bindgen-0.64. r=nical
The only use of it is nss-gk-api which can work with 0.69 as per its
dependency definition.

It seems cargo is removing this package, then updating bindgen (even
though it shouldn't), but this works around the issue and is harmless.

Differential Revision: https://phabricator.services.mozilla.com/D200676
2024-02-05 15:03:52 +00:00
Kershaw Chang
4a12f611f8 Bug 1877942 - neqo v0.7.0, r=necko-reviewers,glandium,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D200461
2024-02-02 21:17:42 +00:00
ahochheiden
2914ac37f8 Bug 1875052 - Change various RegEx patterns to raw strings to remove syntax warnings on Python 3.12 r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D199946
2024-02-02 20:52:24 +00:00
Kagami Sascha Rosylight
2073f9c234 Bug 1842871 - Add static check to forbid RefPtr(this) inside constructors r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D183286
2024-02-01 11:04:00 +00:00
Stanca Serban
b78f8abd66 Backed out 4 changesets (bug 1842871, bug 1876536) for Constructor related sm bustages. CLOSED TREE
Backed out changeset 2a8075f926e8 (bug 1842871)
Backed out changeset 133df2717c5b (bug 1876536)
Backed out changeset 8ec499a5a57b (bug 1876536)
Backed out changeset 1568bfa2cc45 (bug 1876536)
2024-02-01 11:41:49 +02:00
Kagami Sascha Rosylight
d5ac7fccdf Bug 1842871 - Add static check to forbid RefPtr(this) inside constructors r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D183286
2024-02-01 09:01:17 +00:00
John Schanck
231b40421b Bug 1875764 - land NSS 90b2040a0eff UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D200221
2024-01-31 23:55:12 +00:00
Andrew Sutherland
1a42a7099e Bug 1773165 - Searchfox type enhancements, arg metadata.
This propagates changes to MozsearchIndexer from
https://github.com/mozsearch/mozsearch/pull/684

Differential Revision: https://phabricator.services.mozilla.com/D200134
2024-01-31 06:23:59 +00:00
Mike Hommey
fb2aa57149 Bug 1874035 - Add custom Debug derives for bitflags with custom derives. r=gfx-reviewers,emilio,ErichDonGubler
bitflags 2 has a shortcoming with using custom derives: you can't use
custom derives (for e.g. MallocSizeOf) at the same time as bitflags's for
the derives it supports.
See https://github.com/bitflags/bitflags/issues/395

Differential Revision: https://phabricator.services.mozilla.com/D199941
2024-01-30 21:13:29 +00:00
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