Commit Graph

10830 Commits

Author SHA1 Message Date
Chris Martin
5e33cb17af Bug 1799470 - Refactor app starter r=nika
Differential Revision: https://phabricator.services.mozilla.com/D165414
2023-01-18 15:46:09 +00:00
Noemi Erli
21d20eb1c0 Backed out 3 changesets (bug 1747145, bug 1810627) for causing mochitest failures in /test_webassembly_compile.html
Backed out changeset b49ff59bb2cd (bug 1810627)
Backed out changeset 3be300874393 (bug 1747145)
Backed out changeset 2cd1b61ddd24 (bug 1747145)
2023-01-18 13:04:08 +02:00
Mike Hommey
f369efa9a4 Bug 1747145 - Add more configure checks for the wasm toolchain setup. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166977
2023-01-18 08:07:24 +00:00
Mike Hommey
1f7d2749b0 Bug 1747145 - Only apply stlport flags to configure compiler executions for target. r=firefox-build-system-reviewers,andi
(as opposed to host or wasm)

Differential Revision: https://phabricator.services.mozilla.com/D167112
2023-01-18 08:07:23 +00:00
Noemi Erli
cf1f195897 Backed out changeset d9c33212d62e (bug 1807583) for causing build bustage CLOSED TREE 2023-01-18 09:02:54 +02:00
Norisz Fay
c1fa36ebc4 Backed out 2 changesets (bug 1810627, bug 1747145) for causing build bustages CLOSED TREE
Backed out changeset 93b94212020f (bug 1810627)
Backed out changeset b5d3998c113c (bug 1747145)
2023-01-18 04:37:58 +02:00
Chris Peterson
4a90b146bd Bug 1807583 - Enable -Wtautological-constant-in-range-compare warnings. r=firefox-build-system-reviewers,glandium
There are no -Wtautological-constant-in-range-compare warnings in C or C++ code in mozilla-central, so we can enable this warning.

However, the -Wtautological-constant-in-range-compare flag also enables -Wtautological-value-range-compare warnings and there are some -Wtautological-value-range-compare warnings in some third-party C code.

I filed https://bugs.chromium.org/p/google-breakpad/issues/detail?id=859 for the Google Breakpad warning.

---

toolkit/crashreporter/google-breakpad/src/third_party/libdisasm/ia32_invariant.c:112:30 [-Wtautological-value-range-compare] result of comparison of 3-bit unsigned value == 101 is always false

js/src/zydis/Zydis/Decoder.c:2200:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:2213:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:2226:43 [-Wtautological-value-range-compare] result of comparison of 2-bit unsigned value < 4 is always true
js/src/zydis/Zydis/Decoder.c:3650:46 [-Wtautological-value-range-compare] result of comparison of 3-bit unsigned value < 8 is always true
js/src/zydis/Zydis/SharedData.c:119:47 [-Wtautological-value-range-compare] result of comparison of 15-bit unsigned value != 65535 is always true

third_party/aom/aom_dsp/intrapred.c:94:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:123:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:152:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:413:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:444:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true
third_party/aom/aom_dsp/intrapred.c:475:3 [-Wtautological-value-range-compare] result of comparison of 4-bit unsigned value < 31 is always true

Differential Revision: https://phabricator.services.mozilla.com/D165522
2023-01-18 02:04:53 +00:00
Mike Hommey
2cea3ab762 Bug 1747145 - Add more configure checks for the wasm toolchain setup. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166977
2023-01-18 01:08:11 +00:00
Rob Lemley
9563aef5a0 Bug 1805699 - Use a prefix on GCP sccache bucket names. r=firefox-build-system-reviewers,ahochheiden
Set GCP sccache bucket name using a prefix variable. Allows Thunderbird builds
to use separate buckets.

Differential Revision: https://phabricator.services.mozilla.com/D164725
2023-01-17 13:29:43 +00:00
serge-sans-paille
8b991af173 Bug 1804226 - fma3 support for AudioNodeEngine r=padenot
Update xsimd dependency to integrate an fma portability patch.
Add support for fma and sse4.2 detection.

Differential Revision: https://phabricator.services.mozilla.com/D163927
2023-01-16 11:05:20 +00:00
Cosmin Sabou
251ada4676 Backed out 3 changesets (bug 1801557, bug 1804226) for causing Bug 1810251. a=backout
Backed out changeset 99419440af5c (bug 1804226)
Backed out changeset 741734906105 (bug 1801557)
Backed out changeset 6bb3ced40693 (bug 1801557)
2023-01-14 01:30:07 +02:00
serge-sans-paille
23f6cd371e Bug 1804226 - fma3 support for AudioNodeEngine r=padenot
Update xsimd dependency to integrate an fma portability patch.
Add support for fma and sse4.2 detection.

Differential Revision: https://phabricator.services.mozilla.com/D163927
2023-01-13 13:31:44 +00:00
Mike Hommey
b3546dca04 Bug 1809769 - Refresh patches against last changes in clang trunk. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D166622
2023-01-12 03:00:06 +00:00
Gabriele Svelto
2075a2a0a9 Bug 1793784 - Replace the minidump_writer_linux crate with the minidump-writer crate r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D158669
2023-01-10 22:14:30 +00:00
Norisz Fay
8dc1a8ef3c Backed out 3 changesets (bug 1804226, bug 1801557) for causing failures on AudioNodeEngineGeneric.h CLOSED TREE
Backed out changeset fc718f9cc51d (bug 1804226)
Backed out changeset 8409212faaf1 (bug 1801557)
Backed out changeset 49c08aab9622 (bug 1801557)
2023-01-10 14:16:40 +02:00
serge-sans-paille
aebf685769 Bug 1804226 - fma3 support for AudioNodeEngine r=padenot
Update xsimd dependency to integrate an fma portability patch.
Add support for fma and sse4.2 detection.

Differential Revision: https://phabricator.services.mozilla.com/D163927
2023-01-10 10:22:34 +00:00
Emilio Cobos Álvarez
845b5ad84f Bug 1806727 - Add an option to easily build with release configuration. r=glandium
This doesn't build with release branding, but allows you to create a
nightly build that has all the settings that we have on release, which
will be useful for profiling.

I could use --enable-release with a bit of effort, if you prefer
(probably renaming the current version of --enable-release to something
else).

All-in-all, suggestions welcome on this approach.

Differential Revision: https://phabricator.services.mozilla.com/D165219
2023-01-10 09:27:26 +00:00
Mike Hommey
f26e1e9273 Bug 1807884 - Update warp to 0.3.3. r=webdriver-reviewers,supply-chain-reviewers,whimboo
Differential Revision: https://phabricator.services.mozilla.com/D165651
2023-01-10 00:50:06 +00:00
Cristian Tuns
af7d7f81ec Backed out 3 changesets (bug 1804226, bug 1801557) for causing build bustages on AudioNodeEngineGeneric.h CLOSED TREE
Backed out changeset 4615951ea4dd (bug 1804226)
Backed out changeset c401e374a769 (bug 1801557)
Backed out changeset 5d265c462faf (bug 1801557)
2023-01-05 16:32:51 -05:00
serge-sans-paille
0aefae5322 Bug 1804226 - fma3 support for AudioNodeEngine r=padenot
Update xsimd dependency to integrate an fma portability patch.
Add support for fma and sse4.2 detection.

Differential Revision: https://phabricator.services.mozilla.com/D163927
2023-01-05 21:08:17 +00:00
Makoto Kato
4ebfb48f7e Bug 1807522 - Upgrade build-tools to 33.0.1. r=geckoview-reviewers,calu
When upgrading SDK to 33, I cannot build GeckoView on Windows workstation
during processing AIDL due to https://issuetracker.google.com/issues/236167971
that is fixed by 33.0.1.

Differential Revision: https://phabricator.services.mozilla.com/D165514
2023-01-05 02:56:32 +00:00
Stanca Serban
848e2cfb4b Backed out 3 changesets (bug 1804226, bug 1801557) for AudioNodeEngine bustages related. CLOSED TREE
Backed out changeset 55a4d00bc8b2 (bug 1804226)
Backed out changeset f47bedfe0f5f (bug 1801557)
Backed out changeset cccb159a5b46 (bug 1801557)
2023-01-04 18:34:57 +02:00
serge-sans-paille
1481a588ef Bug 1804226 - fma3 support for AudioNodeEngine r=padenot
Update xsimd dependency to integrate an fma portability patch.
Add support for fma and sse4.2 detection.

Differential Revision: https://phabricator.services.mozilla.com/D163927
2023-01-04 15:44:32 +00:00
Sylvestre Ledru
11543ba854 Bug 1802290 - Remove +x permissions on more files r=linter-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D165841
2023-01-03 08:17:50 +00:00
Mike Hommey
664e09d9df Bug 1806766 - Update coreaudio-sys to 0.2.11. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165712
2022-12-30 00:21:13 +00:00
Joel Maher
6fac03cc4d Bug 1806091 - patch clang to work with latest win11. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D165555
2022-12-29 18:08:58 +00:00
Mike Hommey
20fc3d71e6 Bug 1807780 - Only use a VFS overlay on Windows cross-compiles. r=bustage-fix CLOSED TREE 2022-12-29 14:43:32 +09:00
Sandor Molnar
5a84fcb485 Bug 1807780 - Fix win aarch64 build bustage. CLOSED TREE 2022-12-29 04:02:26 +02:00
Mike Hommey
78f9dfc456 Bug 1807780 - Remove now unused liblowercase. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165597
2022-12-29 00:05:49 +00:00
Mike Hommey
007a7a25e5 Bug 1807780 - Use -ivfsoverlay instead of liblowercase. r=firefox-build-system-reviewers,ahochheiden
Because this involves affecting the MSVC + Windows SDK packs, we need to
do this for toolchain tasks as well as Firefox builds in a single pass.

The MSVC + Windows SDK packs are altered to keep the original case
instead of lowercasing everything (except .lib files), and contain
an overlay file that we now automatically use from the WINSYSROOT.

This requires adjusting some paths to match what the original case
is, as well as removing everything related to the use of liblowercase,
which conflicts with the use of the overlay file. People using
liblowercase locally will still have a working setup as long as they
don't set WINSYSROOT (it's new, so they won't have it), and don't have
an overlay file in there (which they only would  if they ran the new
pack_vs.py).

Differential Revision: https://phabricator.services.mozilla.com/D165596
2022-12-29 00:05:49 +00:00
Mike Hommey
0bf5962c29 Bug 1807780 - Cherry-pick clang trunk change that adds support for root-relative overlays. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165595
2022-12-29 00:05:48 +00:00
Mike Hommey
7f0ec68643 Bug 1807780 - Make midl.py use CXXCPP instead of CXX -E. r=firefox-build-system-reviewers,ahochheiden
We're soon going to add flags that we'll want midl.py to be using, which
it'd get from CXXCPP, but not from _CXX.

Differential Revision: https://phabricator.services.mozilla.com/D165594
2022-12-29 00:05:48 +00:00
Mike Hommey
b2be53b830 Bug 1807779 - Allow to set a single variable for MSVC. r=firefox-build-system-reviewers,ahochheiden
For builds using our toolchain artifact (or a similarly shaped copy of
MSVC + SDKs)

Differential Revision: https://phabricator.services.mozilla.com/D165592
2022-12-28 22:48:51 +00:00
Mike Hommey
ce754eb1e4 Bug 1807779 - Stop using VSWINPATH. r=firefox-build-system-reviewers,ahochheiden
Setting WINDOWSSDKDIR to a windows path in mozconfig is not necessary.

Differential Revision: https://phabricator.services.mozilla.com/D165591
2022-12-28 22:48:51 +00:00
Mike Hommey
4558019460 Bug 1807779 - Allow to set VC_PATH in Windows cross-compiles. r=firefox-build-system-reviewers,ahochheiden
This has the side effect of not requiring to set PATH in the mozconfigs
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D165590
2022-12-28 22:48:51 +00:00
Mike Hommey
9c23d8d3ab Bug 1807779 - Change how --with-visual-studio-version is handled. r=firefox-build-system-reviewers,ahochheiden
The dependency of vc_compiler_paths_for_version on both --with-visual-studio-version
and VC_PATH is going to cause problems in the forthcoming changes.

Differential Revision: https://phabricator.services.mozilla.com/D165589
2022-12-28 22:48:50 +00:00
Mike Hommey
7cee42bf14 Bug 1807772 - Simplify get_sdk_dirs. r=firefox-build-system-reviewers,ahochheiden
The main complication in get_sdk_dirs is supporting the different SDK
shapes between SDK 8.1 and 10, but we actually only support SDK 10 since
bug 1380609, so we can just simplify it all.

Differential Revision: https://phabricator.services.mozilla.com/D165585
2022-12-28 22:26:59 +00:00
Mike Hommey
ec0c197872 Bug 1807766 - Add clang version mappings for more versions of Xcode. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165583
2022-12-28 22:22:23 +00:00
Mike Hommey
d43dfe4d11 Bug 1806761 - Use toolchain binutils in base-toolchain builds. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D165326
2022-12-28 21:07:04 +00:00
Mike Hommey
4c933918b6 Bug 1806040 - Always setup host linker on !WINNT !SunOS. r=firefox-build-system-reviewers,ahochheiden
This will apply the existing logic to e.g. Windows cross-compiles on
Linux.

Differential Revision: https://phabricator.services.mozilla.com/D165248
2022-12-28 21:02:00 +00:00
Mike Hommey
a71a4dd3fb Bug 1806040 - Prefer lld to link host binaries. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D164865
2022-12-28 21:01:59 +00:00
Mike Hommey
7e97be654f Bug 1806040 - Preserve host ldflags from configure when building clang-plugin. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D165247
2022-12-28 21:01:59 +00:00
Mike Hommey
429af26654 Bug 1807789 - Update darling to 0.14.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D165598
2022-12-28 20:53:26 +00:00
serge-sans-paille
256310912f Bug 1807012 - Fix detection of lld-link under windows r=glandium
Backport of https://reviews.llvm.org/D140534

Differential Revision: https://phabricator.services.mozilla.com/D165406
2022-12-27 22:37:47 +00:00
Sylvestre Ledru
974efb2f25 Bug 1805563 - doc: update of the maintainer of Firefox for FreeBSD DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165547
2022-12-27 15:46:24 +00:00
Marco Castelluccio
f69e697461 Bug 1801836 - Remove no longer necessary 'from __future__' imports. r=linter-reviewers,glandium,webdriver-reviewers,perftest-reviewers,geckoview-reviewers,jld,ahal,owlish,afinder DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D165395
2022-12-23 22:45:46 +00:00
Chris Peterson
9a44ecfd0c Bug 1771075 - Enable C++20 -Wvolatile warnings. r=firefox-build-system-reviewers,glandium
We can enable C++20 -Wvolatile warnings in gcc before we compile as -std=c++20, but not in clang. These warnings will be enabled by default with gcc and clang -std=c++20, so we won't need to explicitly enable -Wvolatile after we're compiling as -std=c++20.

Differential Revision: https://phabricator.services.mozilla.com/D165380
2022-12-23 03:27:37 +00:00
Mike Hommey
c65f0eaeae Bug 1806940 - Fix subtle syntax error introduced in bug 1781188. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D165371
2022-12-22 05:34:20 +00:00
Mike Hommey
703a424db9 Bug 1806763 - Remove remaining dependency on nom 6. r=emilio,supply-chain-reviewers
The last use is glsl, waiting for a new release with
https://github.com/phaazon/glsl/pull/154 merged.

Differential Revision: https://phabricator.services.mozilla.com/D165250
2022-12-21 21:18:29 +00:00
Mike Hommey
9f8177d6cb Bug 1806771 - Adjust searchfox plugin to clang upstream changes. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D165266
2022-12-21 06:48:57 +00:00