Commit Graph

11543 Commits

Author SHA1 Message Date
Chris Peterson
90b77f1d03 Bug 1887580 - Disable some C++20 warnings that break the C++20 build or are too noisy. r=firefox-build-system-reviewers,glandium
1. Stop enabling -Wdeprecated-this-capture because it has no affect when compiling as C++17 and it's enabled by default with compiling as C++20.

2. Disable -Wdeprecated-this-capture warnings by changing "-Wno-error" to "-Wno". These warnings are enabled by default when compiling as C++20 and even just logging these warnings as non-fatal messages breaks the clang-plugin tests because the messages aren't in the tests' expected compiler output. We can't fix these warnings until after we default to -std=c++20 because the code change isn't backwards compatible with C++17.

3. Stop enabling -Wc++2a-compat because it causes build errors about valid C++20 code (that isn't backwards compatible with C++17) when compiling as C++20.

4. Remove -Wno-error=deprecated. I don't remember why it was needed to compile as C++20 when I added it two years ago (in bug 1781001), but it's no longer needed.

5. Disable -Wdeprecated-anon-enum-enum-conversion and -Wdeprecated-enum-enum-conversion warnings by changing "-Wno-error" to "-Wno". There are so many warnings in common shared header files, they overwhelm the compiler output. Fixing these warnings in bug 1791958 and bug 1791955, respectively, doesn't block defaulting to -std=c++20.

6. Remove -Wno-deprecated-pragma because it's not longer needed. It warns about C++20 deprecating ATOMIC_VAR_INIT in favor of std::atomic<int>. We used to have some warnings about ATOMIC_VAR_INIT, but I guess they've been fixed because we currently have no -Wdeprecated-pragma warnings.

Differential Revision: https://phabricator.services.mozilla.com/D205539
2024-03-27 00:38:54 +00:00
serge-sans-paille
09e35b7cbb Bug 1887622 - Remove legacy checks for mode_t, pid_t and off_t r=glandium
mode_t comes from POSIX.1-2008
pid_t comes from POSIX.1-2008
off_t comes from POSIX.1-2008

Differential Revision: https://phabricator.services.mozilla.com/D205569
2024-03-26 14:21:39 +00:00
Mike Hommey
5f3cb60001 Bug 1881383 - Remove VS 2019 toolchain. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202368
2024-03-26 00:02:34 +00:00
Iulian Moraru
4263e22a5e Backed out changeset d90b4451e543 (bug 1885319) for causing multiple xpcshell failures. 2024-03-21 17:53:03 +02:00
Nazım Can Altınova
d80e4360d5 Bug 1885319 - Make SIGPROF a sync signal on TSan of our clang and rust builds r=sergesanspaille,glandium
Due to SIGPROF being async, it was hanging on some cases because some functions
were incorrectly marked non-blocking. This patch is merge to LLVM in:
https://github.com/llvm/llvm-project/pull/85188 But we want to patch our clang
here to start benefiting from that quickly.

We are also patching our rustc here. Even though they are not used by default
during our normal builds, this custom rustc is needed for building and
running TSan already:
https://firefox-source-docs.mozilla.org/tools/sanitizer/tsan.html#llvm-clang-rust

Differential Revision: https://phabricator.services.mozilla.com/D204631
2024-03-21 12:43:24 +00:00
Alex Franchuk
e32971e70e Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-20 14:59:43 +00:00
Mike Hommey
6e3c5da9d2 Bug 1881382 - Drop support for VS 2019. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202367
2024-03-19 21:47:22 +00:00
Julien Cristau
ac365bd564 Bug 1884976 - also include ApplicationServices.kt in android-gradle-dependencies rebuild triggers. r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D204805
2024-03-15 19:47:40 +01:00
Julien Cristau
119e73746f Bug 1876338 - use android-gradle-dependencies instead of external-gradle-dependencies. r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201502
2024-01-09 16:57:08 +01:00
Julien Cristau
d5ca7f303f Bug 1824856 - update taskgraph sparse profile for firefox-android. r=glandium,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D201388
2023-07-12 11:36:41 +02:00
Dennis Jackson
81d5630102 Bug 1882353 - land NSS NSS_3_99_BETA3 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D204673
2024-03-14 20:07:05 +00:00
Paul Bone
04f7743d94 Bug 1885003 - Disable PHC on all late beta and release MacOS builds r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D204565
2024-03-14 04:17:45 +00:00
Mike Hommey
fe1e491466 Bug 1885062 - Bump ios deployment target to 17.4. r=nika
The APIs we need to make Gecko work are only available starting with 17.4 anyways.

Differential Revision: https://phabricator.services.mozilla.com/D204454
2024-03-13 20:58:00 +00:00
Nipun Shukla
b3eba1dc18 Bug 1881567 - Added Rust application to read and launch Firefox upon receiving native messages r=mhughes,nrishel,glandium,gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D202467
2024-03-13 19:01:05 +00:00
serge-sans-paille
602f8fba76 Bug 1884540 - Remove six dependency from build/ directory r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204144
2024-03-13 17:37:16 +00:00
serge-sans-paille
7796133100 Bug 1884392 - Remove six dependency from RunCbindgen.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204050
2024-03-13 17:37:15 +00:00
Mike Hommey
d6fee90d58 Bug 1884902 - Add missing msis for VS 2022. r=firefox-build-system-reviewers,ahochheiden
Fow some reason msiexec wants more things than msiextract for the SDK
Debuggers.

Differential Revision: https://phabricator.services.mozilla.com/D204424
2024-03-12 22:08:06 +00:00
Mike Hommey
f0770f9b28 Bug 1884231 - Reinstate SDK Debuggers in the VS 2022 toolchain. r=firefox-build-system-reviewers
The Visual Studio manifest for VS 2022 doesn't contain the SDK
Debuggers, unlike the standalone Windows SDK. This seems like a mistake
on Microsoft's part, and until we either dump the dependency on the tool
we use from there or it's fixed, we add it manually, copying the
relevant payloads information from the VS 2019 manifest.

To avoid the same from happening again in the future (like, if we update
the yaml with the command in its header, those will go away), we also
make pdbstr non-optional on CI, so that builds would fail if that
happens.

Differential Revision: https://phabricator.services.mozilla.com/D204002
2024-03-11 22:07:52 +00:00
Mike Hommey
f41ed66b89 Bug 1883806 - Setup CI jobs for iOS and iOS Simulator builds. r=firefox-build-system-reviewers,taskgraph-reviewers,releng-reviewers,jcristau,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D203702
2024-03-11 20:12:28 +00:00
ahochheiden
877bb5b271 Bug 1884346 - Correctly display a human readable error message for a completely 'unknown' command r=firefox-build-system-reviewers,nalexander
This issue was introduced when D194599 moved the 'suggest' command logic
earlier in the mach initialization, so there was not a try/catch wrapper
to handle the error nicely.

Differential Revision: https://phabricator.services.mozilla.com/D204100
2024-03-11 19:15:21 +00:00
Natalia Csoregi
b30c2bc032 Backed out changeset 55d4631b4b19 (bug 1884392) for causing spidermonkey bustages. CLOSED TREE 2024-03-11 10:32:11 +02:00
serge-sans-paille
2aabb9b681 Bug 1884392 - Remove six dependency from RunCbindgen.py r=ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D204050
2024-03-11 07:41:24 +00:00
Paul Bone
a0ebb2a2c2 Bug 1884293 - Disable PHC on aarch64 release channel r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D203997
2024-03-08 09:41:15 +00:00
Norisz Fay
81e68bade9 Backed out 10 changesets (bug 1759175) for causing Bp build bustage CLOSED TREE
Backed out changeset 3caff3bcb5f3 (bug 1759175)
Backed out changeset b0cbac1ae1c0 (bug 1759175)
Backed out changeset 8ab327d18125 (bug 1759175)
Backed out changeset 94b619f7ae5a (bug 1759175)
Backed out changeset 4e16215b14af (bug 1759175)
Backed out changeset e994c818703c (bug 1759175)
Backed out changeset caf59b01fb96 (bug 1759175)
Backed out changeset 4a525dace3cf (bug 1759175)
Backed out changeset ac608a17d8c7 (bug 1759175)
Backed out changeset 2e605dcdcf83 (bug 1759175)
2024-03-08 02:08:29 +02:00
Alex Franchuk
07a835d684 Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-07 20:59:12 +00:00
Mike Hommey
7d030bf3a3 Bug 1883080 - Backport ASAN interceptor patch to support unhandled instruction in new MSVCRT. r=firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D203807
2024-03-07 20:30:09 +00:00
Norisz Fay
d8bbf7786d Backed out 10 changesets (bug 1759175) for causing build bustage CLOSED TREE
Backed out changeset 3f7b865cce56 (bug 1759175)
Backed out changeset 3ce2c92bdee2 (bug 1759175)
Backed out changeset e8b6ce00b503 (bug 1759175)
Backed out changeset 6736f34d5642 (bug 1759175)
Backed out changeset 5894c03ccb0e (bug 1759175)
Backed out changeset 28ee74b69b66 (bug 1759175)
Backed out changeset 027be772e29a (bug 1759175)
Backed out changeset 35350f3c3b68 (bug 1759175)
Backed out changeset 754fe9369002 (bug 1759175)
Backed out changeset f2aa40301a39 (bug 1759175)
2024-03-07 22:44:32 +02:00
Alex Franchuk
d8fb619e98 Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-07 19:47:08 +00:00
Narcis Beleuzu
6e67a7e84c Backed out 10 changesets (bug 1759175) for build bustages . CLOSED TREE
Backed out changeset dce52d34bd91 (bug 1759175)
Backed out changeset 51ee5a685214 (bug 1759175)
Backed out changeset 021559ebc1e7 (bug 1759175)
Backed out changeset 6888a063a0c3 (bug 1759175)
Backed out changeset 84b443488fb5 (bug 1759175)
Backed out changeset f39525560fd6 (bug 1759175)
Backed out changeset 6b0d3b266dea (bug 1759175)
Backed out changeset 5d33c3516218 (bug 1759175)
Backed out changeset b50fd0148c7f (bug 1759175)
Backed out changeset 7cb85f06517a (bug 1759175)
2024-03-07 18:16:59 +02:00
Alex Franchuk
5390c33a4e Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-03-07 14:03:53 +00:00
Artur Iunusov
09907d93b7 Bug 1770944 - remove /dom/browser-element/ path from other places, r=smaug,zeid
Depends on D189655

Differential Revision: https://phabricator.services.mozilla.com/D190918
2024-03-07 13:04:24 +00:00
ahochheiden
820e063310 Bug 1882992 - When there are multiple versions of lldb-server present, choose the highest version unless otherwise specified, instead of throwing an error r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D203319
2024-03-06 17:56:49 +00:00
Mike Hommey
33df62fd34 Bug 1883548 - Remove os_* variables in libeventcommon.mozbuild. r=firefox-build-system-reviewers,ahochheiden
To replace them, we now expose configure's target.kernel to moz.build.

Differential Revision: https://phabricator.services.mozilla.com/D203546
2024-03-05 22:41:30 +00:00
serge-sans-paille
a95cbb8f40 Bug 1882554 - Move check for -Wl,--ignore-unresolved-symbol,environ to python configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203014
2024-03-04 19:49:01 +00:00
serge-sans-paille
a8a6ad20d3 Bug 1883015 - Add i8mm engine for firefox translation r=marco
Differential Revision: https://phabricator.services.mozilla.com/D203263
2024-03-04 16:01:25 +00:00
Mike Hommey
7f59d6be5b Bug 1882679 - Add a skeleton app for iOS. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D203072
2024-03-01 19:31:15 +00:00
Mike Hommey
2d7214c6f8 Bug 1882661 - Add support for iPhoneSimulator. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D203067
2024-03-01 19:30:43 +00:00
Mike Hommey
917cd1f7f1 Bug 1882441 - Enable libxml2 support in windows clang. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D202902
2024-02-29 22:53:01 +00:00
Mike Hommey
6c8a61b218 Bug 1882652 - Apply the same filter to vs2022 as we did for vs2019. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D203071
2024-02-29 21:46:02 +00:00
Mike Hommey
7e3d0bd409 Bug 1834947 - Divert xcrun so that it outputs the build system's chosen iOS SDK. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D179033
2024-02-29 00:59:09 +00:00
Mike Hommey
434c5a4b41 Bug 1834908 - Reintroduce iOS support in the build system. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D178998
2024-02-29 00:49:10 +00:00
Stanca Serban
d91da7450d Backed out changeset e44602a56930 (bug 1881382) as requested by glandium because it depends on another bug which was also backed out (Bug 1881381). CLOSED TREE 2024-02-29 02:24:11 +02:00
Mike Hommey
ba28962c5e Bug 1853271 - Make mach configure prefer bootstrapped toolchains. r=firefox-build-system-reviewers,sergesanspaille,nalexander
This changes the semantics of bootstrapping substantially, but all for
the simpler.

- --disable-bootstrap now prevents bootstrapped toolchains from being used
  entirely, even if they are present.
- --enable-bootstrap still automatically downloads missing or
  out-of-date toolchains, and is still only the default when building off
  a VCS checkout of mozilla-central.
- When neither option is given on another tree than a VCS checkout of
  mozilla-central, already bootstrapped toolchains are prioritized, but
  missing toolchains are not downloaded, and outdated toolchains are not
  updated.
- --enable-bootstrap=no-update can now be used to replace the previous
  behavior of --disable-bootstrap, to avoid the automatic update of
  already bootstrapped toolchains, with the difference that missing
  toolchains are still automatically bootstrapped.

This has the downside of making the semantics of the per-toolchain
opt-in/opt-out mechanics introduced in bug 1828027 kind of confusing,
but I'm keeping reworking that, or entirely removing it for a followup.

Differential Revision: https://phabricator.services.mozilla.com/D188315
2024-02-28 19:53:27 +00:00
Mike Hommey
7bed76c12f Bug 1881382 - Drop support for VS 2019. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202367
2024-02-28 19:52:06 +00:00
serge-sans-paille
ec606a05bb Bug 1881545 - Move nl_langinfo and CODESET check from js/src/old-configure.in to js/moz.configure r=glandium
This makes codeset.m4 unused, so also remove it while we're at it.

Differential Revision: https://phabricator.services.mozilla.com/D202450
2024-02-28 11:11:18 +00:00
serge-sans-paille
00c979d8c7 Bug 1881499 - Move res_ninit check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D202421
2024-02-28 11:11:18 +00:00
serge-sans-paille
ac2f2c943a Bug 1880424 - Move clock_monotonic check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201942
2024-02-28 11:11:17 +00:00
serge-sans-paille
f3cfc8bfd7 Bug 1880420 - Move __thread detection to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201937
2024-02-28 11:11:17 +00:00
serge-sans-paille
f41191e67a Bug 1882025 - Harmonize is_gcc and building_with_gcc r=glandium
No need to have the same function twice.

Depends on D201724

Differential Revision: https://phabricator.services.mozilla.com/D202721
2024-02-28 11:11:16 +00:00
serge-sans-paille
1142b832db Bug 1880103 - Move dead_strip linker check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D201724
2024-02-28 11:11:16 +00:00