Commit Graph

11061 Commits

Author SHA1 Message Date
Mike Hommey
e0f91b4b0f Bug 1827587 - Adjust clang-tidy build script to handle new lib/clang/ versioning. r=firefox-build-system-reviewers,andi
Before clang 16, the version in lib/clang/ looked like x.y.z, but now
it's only x.

Differential Revision: https://phabricator.services.mozilla.com/D175441
2023-04-14 07:53:21 +00:00
Mike Hommey
af652ca0e9 Bug 1827095 - Put the clang runtime directory first in LIB. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D175450
2023-04-14 07:51:25 +00:00
John Schanck
20bcb2f55f Bug 1827748 - vendor authenticator-rs v0.4.0-alpha.12. r=keeler,glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D175294
2023-04-13 18:59:35 +00:00
Dana Keeler
74407531f5 Bug 1289186 - wait for the server certificate to verify successfully before asking for a client auth certificate r=jschanck
If a TLS server asks for a client authentication certificate, no dialog asking
the user to select one should be shown until the server's certificate verifies
successfully.

Differential Revision: https://phabricator.services.mozilla.com/D175170
2023-04-13 18:52:18 +00:00
Valentin Gosu
401d933a4f Bug 1827504 - Remove last files of netwerk/cache/ r=sunil,geckoview-reviewers,zeid,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D175177
2023-04-13 09:04:24 +00:00
Narcis Beleuzu
4d86ceed60 Backed out changeset a5064c22d601 (bug 1289186) for Bp-hybrid bustages on NSSSocketControl.h . CLOSED TREE 2023-04-12 22:03:22 +03:00
Botond Ballo
e5c7fd1a64 Bug 1799579 - Handle OverloadExpr in MozSearchIndexer. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D175207
2023-04-12 16:34:23 +00:00
Dana Keeler
bfba45ee49 Bug 1289186 - wait for the server certificate to verify successfully before asking for a client auth certificate r=jschanck
If a TLS server asks for a client authentication certificate, no dialog asking
the user to select one should be shown until the server's certificate verifies
successfully.

Differential Revision: https://phabricator.services.mozilla.com/D175170
2023-04-12 16:21:38 +00:00
Mike Hommey
ba27a18628 Bug 1823591 - Update builders to clang 16. r=firefox-build-system-reviewers,andi,ahochheiden
This requires a couple backports from clang trunk:
- one for https://github.com/llvm/llvm-project/issues/60109
- one to replace revert-llvmorg-15-init-17171-g8bb4451a651a.patch, which
  addresses the regression rather than reverting it.

clang_include_cleaner.patch is also disabled in clang-tidy, as the patch
doesn't apply anymore, and the check it adds is not enabled by default.

Differential Revision: https://phabricator.services.mozilla.com/D173106
2023-04-11 07:17:09 +00:00
Mike Hommey
cbd1639bd9 Bug 1826891 - Adjust clang patches to upstream changes on trunk. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D174933
2023-04-10 22:42:27 +00:00
Mike Hommey
907ae956e3 Bug 1826669 - Upgrade rust-cascade to 1.5.0. r=keeler,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174821
2023-04-06 21:18:44 +00:00
Alex Franchuk
22d0f39eef Bug 1823692 - Storing the memory around the instruction IP is broken in 32-bit Linux builds r=gsvelto,glandium,supply-chain-reviewers
Using the newer version of the crash-context crate corrects the 32-bit Linux context structure,
which was the cause of the IP memory not being stored (among possibly other 32-bit Linux issues).

Differential Revision: https://phabricator.services.mozilla.com/D174314
2023-04-06 13:38:54 +00:00
Mike Hommey
1dbceadc1c Bug 1826485 - Force update ntapi to 0.4. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174729
2023-04-05 22:00:51 +00:00
Mike Hommey
3976af8e92 Bug 1718171 - Add the clang runtime directory to LIB during configure. r=firefox-build-system-reviewers,andi
We currently do so from mozconfigs, but that means this doesn't happen
for local builds.

Differential Revision: https://phabricator.services.mozilla.com/D174064
2023-04-05 00:16:52 +00:00
Mike Hommey
3c43de2d49 Bug 1824166 - Avoid passing thumb-interwork flags to clang for bindgen. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D174554
2023-04-05 00:12:42 +00:00
Mark Banner
5552888a2f Bug 1825793 - Re-layout and improve the Editor integration documentation, and link to it from the quick start guide. r=sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D174320
2023-04-04 16:00:06 +00:00
Masayuki Nakano
28ae9ee2e1 Bug 1826036 - Make CanRunScriptChecker treat references as safe if initialized with safe things r=andi
For preparation of bug 1620312, CanRunScriptChecker needs to allow references
which are initialized with safe instance(s) to run script.  Unfortunately,
this does not allow references which are initialized with safe references
recursively because it requires more complicated checks but it must be not
used in many places.

Differential Revision: https://phabricator.services.mozilla.com/D174436
2023-04-04 05:07:33 +00:00
serge-sans-paille
acc75d964c Bug 1826049 - Make toolkit/components/url-classifier/tests/gtest buildable outside of a unified build environment r=andi
Depends on D174432

Differential Revision: https://phabricator.services.mozilla.com/D174433
2023-04-03 20:39:58 +00:00
Mike Hommey
1de53ad3c6 Bug 1825480 - Update crossbeam-epoch to 0.9.14 and minidump-writer to current master. r=gsvelto,supply-chain-reviewers
This updates memoffset to 0.8 and nix to 0.26.

Differential Revision: https://phabricator.services.mozilla.com/D174055
2023-03-30 21:08:39 +00:00
Mike Hommey
93784bacca Bug 1825478 - Update bindgen to 0.64. r=emilio,necko-reviewers,supply-chain-reviewers,valentin
Differential Revision: https://phabricator.services.mozilla.com/D174054
2023-03-30 21:05:14 +00:00
Mike Hommey
deb12f66cd Bug 1825478 - Update coreaudio-sys to 0.2.12. r=emilio,supply-chain-reviewers
The only change is a dependency on bindgen 0.64, which we
force-downgrade to 0.63 for now.

Differential Revision: https://phabricator.services.mozilla.com/D174053
2023-03-30 21:05:13 +00:00
Matthew Gregan
07b0619d68 Bug 1697845 - Remove AudioIPC v1. r=glandium,supply-chain-reviewers,cubeb-reviewers,padenot
Differential Revision: https://phabricator.services.mozilla.com/D134931
2023-03-29 10:25:33 +00:00
serge-sans-paille
1b97818ea7 Bug 1815790 - Replace intgemm by gemmology r=yury
gemmology is a rewrite of intgemm based on xsimd (that we already
vendor), with a focus on the API we actually use.

It also supports sse2 and has a decent implementation for arm32 and
aarch64.

This patch integrates sse2, ssse3 and avx2 support.

Differential Revision: https://phabricator.services.mozilla.com/D171265
2023-03-28 17:12:20 +00:00
Narcis Beleuzu
4e6a52a24a Backed out changeset a8fd4d476a47 (bug 1815790) for Linting opt failure on gemmology . CLOSED TREE 2023-03-28 17:16:42 +03:00
serge-sans-paille
194cb113aa Bug 1815790 - Replace intgemm by gemmology r=yury
gemmology is a rewrite of intgemm based on xsimd (that we already
vendor), with a focus on the API we actually use.

It also supports sse2 and has a decent implementation for arm32 and
aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D171265
2023-03-28 13:22:27 +00:00
Mike Hommey
5e255416a7 Bug 1824873 - Revert upstream change that causes reftest regressions. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D173786
2023-03-28 07:29:30 +00:00
Arthur Carcano
5fe3e81c1d Bug 1823599 - Add a mechanism to force running (pre-)export. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D173279
2023-03-28 00:50:29 +00:00
Cosmin Sabou
1f6c18d1a4 Backed out changeset 19ca420febe8 (bug 1815790) for causing SM bustages on GemmologyEngineAVX2.cpp. CLOSED TREE 2023-03-28 00:01:16 +03:00
serge-sans-paille
69bf76a412 Bug 1815790 - Replace intgemm by gemmology r=yury
gemmology is a rewrite of intgemm based on xsimd (that we already
vendor), with a focus on the API we actually use.

It also supports sse2 and has a decent implementation for arm32 and
aarch64.

Differential Revision: https://phabricator.services.mozilla.com/D171265
2023-03-27 20:40:04 +00:00
Andi-Bogdan Postelnicu
38a4785b34 Bug 1798305 - for clang-tidy do not cache attributes using a matcher since incomplete definitions may occur. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D169821
2023-03-27 16:04:39 +00:00
Mike Hommey
b6972306c0 Bug 1824255 - Update glsl to 6.0.2. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D173488
2023-03-24 00:13:38 +00:00
Mike Hommey
76df0cfce2 Bug 1820876 - Update NDK to r23c. r=firefox-build-system-reviewers,nalexander
Wrench android builds had been kept on rustc 1.67 waiting for this
upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D172089
2023-03-23 22:18:09 +00:00
Stanca Serban
7c5ebbcf74 Backed out changeset df6f338d6a26 (bug 1820876) for causing build bustages on Android Shippable. CLOSED TREE 2023-03-23 14:13:08 +02:00
Julien Cristau
c6a93ac62f Bug 1821513 - patch mercurial debian package to make http.timeout option work r=releng-reviewers,bhearsum
Cherry-pick from https://www.mercurial-scm.org/repo/hg/rev/3bb7c56e8fe6

Differential Revision: https://phabricator.services.mozilla.com/D173274
2023-03-23 07:07:57 +00:00
Mike Hommey
1f158eae92 Bug 1820876 - Update NDK to r23c. r=firefox-build-system-reviewers,nalexander
Wrench android builds had been kept on rustc 1.67 waiting for this
upgrade.

Differential Revision: https://phabricator.services.mozilla.com/D172089
2023-03-23 01:27:51 +00:00
Mike Hommey
a6287b9ca6 Bug 1823837 - Move the location of libunwind in the clang toolchain. r=firefox-build-system-reviewers,ahochheiden
Before clang 16, the libunwind install only contained the libunwind.a
library. Since clang 16, however, it also contains header files,
including a unwind.h file that conflicts with the unwind.h file that
is also shipped alongside compiler-rt.

When building clang itself with compiler-rt and libunwind (i.e. not
building everything separately like we do), however, that's not a
problem because it puts libunwind in a different directory than
compiler-rt.

So we change the clang repacking to follow a similar convention.

But because clang doesn't look for libraries under clang/lib/$arch, but
looks under clang/lib/$target instead, we also need to enable per-target
directories for libunwind.

But because clang also looks for libraries under clang/lib/$exact_target
rather than clang/lib/$relaxed_target (in Android's case, exact_target
might be aarch64-unknown-linux-android21, relaxed_target
aarch64-unknown-linux-android), we patch clang to apply the same kind of
fallbacks it does for runtimes for clang/lib.

Differential Revision: https://phabricator.services.mozilla.com/D173363
2023-03-23 00:25:57 +00:00
Andi-Bogdan Postelnicu
10f49d4180 Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot
Differential Revision: https://phabricator.services.mozilla.com/D173035
2023-03-22 11:35:33 +00:00
Stanca Serban
e31a178029 Backed out 7 changesets (bug 1660405) for causing bustages on Linux x64 opt. CLOSED TREE
Backed out changeset ad1a5f59214f (bug 1660405)
Backed out changeset a39e95f0aafe (bug 1660405)
Backed out changeset 48629ee0d70d (bug 1660405)
Backed out changeset 8419b99aab60 (bug 1660405)
Backed out changeset 535cc12c8bed (bug 1660405)
Backed out changeset e27052da4927 (bug 1660405)
Backed out changeset 11b0f9cf8091 (bug 1660405)
2023-03-22 13:05:53 +02:00
Andi-Bogdan Postelnicu
a5d28acdd6 Bug 1660405 - Move away from mozilla::IsNaN in favor of std::isnan. r=nbp,media-playback-reviewers,sergesanspaille,padenot
Differential Revision: https://phabricator.services.mozilla.com/D173035
2023-03-22 09:27:56 +00:00
Nicolas Chevobbe
a1645740cc Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-21 17:27:48 +00:00
Mike Hommey
03ca551286 Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172076
2023-03-21 05:13:43 +00:00
Marian-Vasile Laza
1c28d89a7e Backed out 3 changesets (bug 1823335, bug 1815937, bug 1823399) for devtools failures on browser_dbg-features-breakable-positions.js. CLOSED TREE
Backed out changeset f931921c97f2 (bug 1823399)
Backed out changeset 077d67ccc0d5 (bug 1823335)
Backed out changeset 103bf8d93883 (bug 1815937)
2023-03-21 00:01:11 +02:00
Nicolas Chevobbe
4aa1bc2655 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-20 19:25:19 +00:00
Cristina Horotan
588b393945 Backed out 2 changesets (bug 1815937) for causing wpt failures at blockeduri-inline.html CLOSED TREE
Backed out changeset 668971329051 (bug 1815937)
Backed out changeset a4a3430c9bab (bug 1815937)
2023-03-17 15:52:33 +02:00
Nicolas Chevobbe
c0be3c7697 Bug 1815937 - Set ScriptLoadContext column number for inline scripts. r=smaug,devtools-reviewers,ochameau.
Differential Revision: https://phabricator.services.mozilla.com/D170580
2023-03-17 08:03:07 +00:00
Noemi Erli
2de6906fbc Backed out changeset 41589839f711 (bug 1821221) for causing build bustage CLOSED TREE 2023-03-17 00:43:28 +02:00
Mike Hommey
c53db6818d Bug 1821221 - Switch Android builds to compiler-rt + libunwind. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D172076
2023-03-16 21:39:24 +00:00
Kershaw Chang
79403e1620 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-16 21:28:58 +00:00
Mike Hommey
eaca1f3dd4 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-15 20:44:02 +00:00
Norisz Fay
4a35828e21 Backed out 2 changesets (bug 1820947) for causing build bustage CLOSED TREE
Backed out changeset eb6419bb8748 (bug 1820947)
Backed out changeset 9990083e8ea2 (bug 1820947)
2023-03-14 01:20:54 +02:00
Mike Hommey
f5844f16c5 Bug 1820947 - Use "new style" sysroot on Android. r=firefox-build-system-reviewers,andi
For a few NDK releases now, the situation has been simplified wrt
headers and libraries, and while we're currently still using things here
and there because we never changed our ways, we can simplify things a
lot by using the new simplified things. This involves:
- Using a --target that contains the Android version, making clang set
  __ANDROID_API__ itself, and makes it look in $sysroot/usr/lib/$target/$ver
  when linking.
- Using the sysroot that is under toolchains/llvm/prebuilt/*.
- Removing the hacks around libstdc++/libc++.

This ends up emptying stlport compiler flags, which allows to remove a
bunch of things.

Differential Revision: https://phabricator.services.mozilla.com/D172039
2023-03-13 21:14:47 +00:00
Ben Hearsum
8e86487f21 Bug 1814727: add tasks for attributing en-US builds r=ahal,nalexander
Notably, the actual attribution code we're using is stored in `browser`. This was largely motivated by the fact that the subsequent revision in this stack will also need it, and this seemed like the best way to make it shareable between the two. The only alternative I could come up with was stuffing it into a transforms - but it's really just data - there's no reason it ought to live in such a place. (We do have precedent for this sort of thing with both locale and whats new page information, so I don't think it's breaking huge new ground.) Nick - I'm tagging you mainly on this part, but I welcome any other comments you may have (here or in the rest of the stack for that matter).

The other notable part of this patch is that I've _explicitly_ decided not to use the `multi_dep` loader, nor reimplement any of its magic pulling of properties in a transform. I find that this makes it more clear what's _actually_ going on, and easier to debug when making changes. The dwonside, of course, is that there's some verboseness in the kind - all platforms we need to run this for must be explicitly listed. I'm open to debate on whether or not this is the right trade-off, so feel free to push back if you disagree.

Differential Revision: https://phabricator.services.mozilla.com/D170243
2023-03-13 19:04:06 +00:00
Marian-Vasile Laza
ee72efd1e9 Backed out 5 changesets (bug 1809843) for causing Cargo related build bustages. CLOSED TREE
Backed out changeset 5c494680f448 (bug 1809843)
Backed out changeset 02742b38edab (bug 1809843)
Backed out changeset 2b9b32ca8294 (bug 1809843)
Backed out changeset 56631cb02ae6 (bug 1809843)
Backed out changeset 37e35a60a71f (bug 1809843)
2023-03-13 13:53:26 +02:00
Kershaw Chang
2b54ddaca8 Bug 1809843 - Add DoH server and Http/3 server into mochitest, r=necko-reviewers,ahal,valentin,gbrown,jmaher
Differential Revision: https://phabricator.services.mozilla.com/D166644
2023-03-13 11:12:32 +00:00
Mike Hommey
22af5046bf Bug 1820919 - Apply clang trunk patches related to symlinks. r=firefox-build-system-reviewers,andi
To replace our own patch, which now conflicts with clang trunk.
We don't build clang 14 for Windows, so we just remove the patch for
clang 14.

Differential Revision: https://phabricator.services.mozilla.com/D172059
2023-03-09 22:21:23 +00:00
Mike Hommey
a0388593b5 Bug 1820919 - Revert clang trunk change that conflicts with another revert. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D171957
2023-03-09 22:21:23 +00:00
Mike Hommey
08c5bf14ec Bug 1820946 - Stop implying a toolchain prefix for Android builds. r=firefox-build-system-reviewers,andi
This used to be necessary, but since we switched most things to use LLVM
tools instead of binutils ones, this has become less useful.

Differential Revision: https://phabricator.services.mozilla.com/D171956
2023-03-08 20:23:43 +00:00
Mike Hommey
98a59b9e61 Bug 1820946 - Remove old NDK directories. r=firefox-build-system-reviewers,andi
The NDK detection has some code that remains from older NDKs that we
don't support anymore.

Differential Revision: https://phabricator.services.mozilla.com/D171955
2023-03-08 20:23:43 +00:00
Mike Hommey
55d47e4aa0 Bug 1820946 - Remove -fno-exceptions from Android-specific compiler flags. r=firefox-build-system-reviewers,andi
It is already added globally.

Differential Revision: https://phabricator.services.mozilla.com/D171954
2023-03-08 20:23:42 +00:00
Mike Hommey
0a19976465 Bug 1820946 - Remove special case for libatomic with clang on Linux x86. r=firefox-build-system-reviewers,andi
Apparently, the problem that this worked around doesn't happen anymore.

Differential Revision: https://phabricator.services.mozilla.com/D171953
2023-03-08 20:23:42 +00:00
Mike Hommey
0db8c3eb0f Bug 1820946 - Pass armv7 related flags to bindgen. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D171952
2023-03-08 20:23:42 +00:00
Mike Hommey
6d7d562d0a Bug 1820946 - Avoid duplication of Android flags between python and autoconf configure. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D171951
2023-03-08 20:23:41 +00:00
Mike Hommey
efd791965b Bug 1820946 - Remove unused Android related variables from the build system. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D171950
2023-03-08 20:23:41 +00:00
John Schanck
4728b65771 Bug 1815435 - land NSS NSS_3_89_BETA4 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D171916
2023-03-08 00:15:30 +00:00
Cristian Tuns
260d13ed8e Backed out changeset 48c77e0f9262 (bug 1815435) for causing xpcshell failures in test_cert_overrides.js CLOSED TREE UPGRADE_NSS_RELEASE 2023-03-06 16:33:38 -05:00
John Schanck
7800d03501 Bug 1815435 - land NSS NSS_3_89_BETA3 UPGRADE_NSS_RELEASE, r=djackson
Differential Revision: https://phabricator.services.mozilla.com/D171757
2023-03-06 20:17:40 +00:00
Sandor Molnar
d5d3dff294 Backed out changeset 692727a38d4d (bug 1815435) for causing build bustage in /security/nss/lib/ssl/ssl3ext.c UPGRADE_NSS_RELEASE CLOSED TREE 2023-03-03 01:54:42 +02:00
John Schanck
4008eb15f1 Bug 1815435 - land NSS NSS_3_89_BETA1 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D171511
2023-03-02 23:31:19 +00:00
Andreas Pehrson
07d7c2dcab Bug 1800213 - Allow the existing (but now as nsThreads) VideoCapture and DesktopCapture threads. r=KrisWright
VideoCapture used to be a base::Thread called VideoCapture.
DesktopCapture used to be a rtc::PlatformThread/PlatformUIThread called ScreenCaptureThread.

Differential Revision: https://phabricator.services.mozilla.com/D166061
2023-02-28 14:32:42 +00:00
ahochheiden
749b4c8995 Bug 1807907 - Cache the results of try_invoke_compiler on disk for re-use between different runs of configure r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D165671
2023-02-28 08:42:52 +00:00
Mike Hommey
fe6592f43b Bug 1817900 - Update num_cpus to 1.15.0. r=emilio,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D170445
2023-02-23 01:17:30 +00:00
serge-sans-paille
d99a9ba23b Bug 1805664 - Setup python toolchain tasks and add them to the build system r=glandium
This patch introduces:

1. fetch jobs to fetch python source / installer
2. a) build jobs to build python from source on Linux and OSX
   b) build job to manually extract python tree from Windows installer

Some details, per category:

(1) fetches Python 3.8.10 (source) and 3.8.10 (installer).

(2.a) the builds generate optimized version of Python (LTO + PGO)

(2.a) the builds are patched to honor MOZPYTHONHOME instead of
      PYTHONHOME. This is used to make OSX builds relocatable, and not
      needed on Windows.

(2) zstandard and psutil are added to the default build

Differential Revision: https://phabricator.services.mozilla.com/D164663
2023-02-22 06:24:51 +00:00
Mike Hommey
fac2583920 Bug 1817894 - Force-disable terminfo in clang. r=firefox-build-system-reviewers,andi
Bug 1805664 had the side effect of installing terminfo libraries on the
toolchain docker image, which led to clang gaining a dependency on
libtinfo, leading to multiple failures, like PGO run jobs failing with
llvm-profdata failing to load the new dependency, or tsan tests failing
because llvm-symbolizer doesn't work because of the new dependency not
being fulfilled, which in turn breaks TSAN suppressions.

Differential Revision: https://phabricator.services.mozilla.com/D170417
2023-02-21 08:32:33 +00:00
Mike Hommey
4b06fce63f Bug 1810223 - Avoid relying on the preprocessor to check the WINVER_MAXVER value in the Windows SDK. r=firefox-build-system-reviewers,andi
We're going to (ab)use the configure scripts to get the right SDK
locations for msix repackaging, and it would be preferable to avoid
requiring the preprocessor for that.

Differential Revision: https://phabricator.services.mozilla.com/D170171
2023-02-20 21:58:47 +00:00
Cosmin Sabou
df1206468f Backed out changeset 5c47ae2de529 (bug 1805664) for causing bug 1817894 and breaking clang 15. CLOSED TREE 2023-02-21 03:21:39 +02:00
Mike Hommey
6124c8c443 Bug 1817874 - Remove leftover of bug47258-extract-symbols-mbcs.patch. r=aryx CLOSED TREE
The patch was removed in bug 1815364 because we actually don't need it,
but there was some leftover.

Differential Revision: https://phabricator.services.mozilla.com/D170415
2023-02-21 00:01:54 +00:00
serge-sans-paille
dd99819744 Bug 1805664 - Setup python toolchain tasks and add them to the build system r=glandium CLOSED TREE
This patch introduces:

1. fetch jobs to fetch python source / installer
2. a) build jobs to build python from source on Linux and OSX
   b) build job to manually extract python tree from Windows installer

Some details, per category:

(1) fetches Python 3.8.10 (source) and 3.8.10 (installer).

(2.a) the builds generate optimized version of Python (LTO + PGO)

(2.a) the builds are patched to honor MOZPYTHONHOME instead of
      PYTHONHOME. This is used to make OSX builds relocatable, and not
      needed on Windows.

(2) zstandard and psutil are added to the default build

Differential Revision: https://phabricator.services.mozilla.com/D164663
2023-02-20 16:07:55 +00:00
Iulian Moraru
9bb81cbca0 Backed out changeset cae102c770b7 (bug 1805664) for causing toolchain clang failures. CLOSED TREE 2023-02-20 19:35:34 +02:00
serge-sans-paille
c6cf60f3dd Bug 1805664 - Setup python toolchain tasks and add them to the build system r=glandium
This patch introduces:

1. fetch jobs to fetch python source / installer
2. a) build jobs to build python from source on Linux and OSX
   b) build job to manually extract python tree from Windows installer

Some details, per category:

(1) fetches Python 3.8.10 (source) and 3.8.10 (installer).

(2.a) the builds generate optimized version of Python (LTO + PGO)

(2.a) the builds are patched to honor MOZPYTHONHOME instead of
      PYTHONHOME. This is used to make OSX builds relocatable, and not
      needed on Windows.

(2) zstandard and psutil are added to the default build

Differential Revision: https://phabricator.services.mozilla.com/D164663
2023-02-20 16:07:55 +00:00
Mike Hommey
2aa6aa8213 Bug 1817372 - Use the new windows target triplets on automation. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D170170
2023-02-17 07:42:48 +00:00
Mike Hommey
f9aec4b3cf Bug 1817372 - Allow -windows-msvc and -windows-gnu triplets as host and target. r=firefox-build-system-reviewers,andi
This is the first step before entirely deprecating the use of -mingw32
targets to mean msvc.

Differential Revision: https://phabricator.services.mozilla.com/D170169
2023-02-17 07:42:48 +00:00
Mike Hommey
f608c3ae17 Bug 1817372 - Refactor checks for the MSVC abi that take the form of a compiler check. r=firefox-build-system-reviewers,andi
We're soon going to introduce a new way to distinguish between the two
windows ABIs, so we factor out compiler checks that will need to be
adjusted to limit the amount of changes down the line.

Differential Revision: https://phabricator.services.mozilla.com/D170167
2023-02-17 07:42:47 +00:00
Mike Hommey
0ea0ba74cc Bug 1816443 - Use auto-bootstrap code to bootstrap clang-tidy in both bootstrap and code-analysis. r=andi,firefox-build-system-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D168962
2023-02-16 22:06:01 +00:00
Mike Hommey
56367314c0 Bug 1786338 - Apply upstream patch fixing slop issues on aarch64 mac. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D169858
2023-02-16 01:06:34 +00:00
Makoto Kato
8d4bc253e5 Bug 1814802 - Move STLPORT_LIBS to moz.configure. r=firefox-build-system-reviewers,glandium
android.m4 has old code for old NDK that we don't support, so this fix removes it.

Differential Revision: https://phabricator.services.mozilla.com/D168761
2023-02-14 02:29:22 +00:00
Mike Hommey
667769a3b7 Bug 1815364 - Remove bug47258-extract-symbols-mbcs.patch. r=firefox-build-system-reviewers,ahochheiden
The patch was added back in bug 1661129 to work around
https://bugs.llvm.org/show_bug.cgi?id=47258 and the patch now doesn't
apply anymore after changes on clang trunk. OTOH, it also seems that the
problem described in the llvm bug report doesn't happen anymore, so just
get rid of the patch.

Differential Revision: https://phabricator.services.mozilla.com/D169292
2023-02-14 00:17:13 +00:00
Andi-Bogdan Postelnicu
d7e8a09c21 Bug 1519636 - Reformat recent changes to the Google coding style. r=glandium
Updated with clang-format version 15.0.5 (taskcluster-MKK8dHUpQkGfPLA793lizg)
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D168658
2023-02-13 15:02:07 +00:00
ogiorgis
b42b079b39 Bug 1803426 - upload images not in a docs folder and fix warnings r=firefox-source-docs-reviewers,ahal DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D167942
2023-02-07 15:32:37 +00:00
John Lin
579e5d2ac3 Bug 1810817 - p7: implement CDMProxy for MF CDM and create/init it in MediaKeys. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D167061
2023-02-07 03:43:51 +00:00
Julien Cristau
194799e013 No bug - docs: update link to pycert/pykey. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D168938
2023-02-06 10:51:19 +00:00
Csoregi Natalia
7468edeb58 Backed out 7 changesets (bug 1810817) for causing assertion failures on MFCDMParent.cpp. CLOSED TREE
Backed out changeset cfbe0be01c67 (bug 1810817)
Backed out changeset eedaee18c125 (bug 1810817)
Backed out changeset 07bcec895e6b (bug 1810817)
Backed out changeset 4be39a7ba24f (bug 1810817)
Backed out changeset e16e293637cf (bug 1810817)
Backed out changeset 0c66474f6010 (bug 1810817)
Backed out changeset 3c7aa682681f (bug 1810817)
2023-02-05 17:56:58 +02:00
John Lin
bf8b1c29dd Bug 1810817 - p7: implement CDMProxy for MF CDM and create/init it in MediaKeys. r=alwu
Differential Revision: https://phabricator.services.mozilla.com/D167061
2023-02-05 03:40:03 +00:00
Sebastian Hengst
0bf957f909 Bug 1815090 - regenerate certificates in build/pgo/certs/. a=me
* the build/pgo/certs/ changes were made using
  `./mach python build/pgo/genpgocert.py`
2023-02-05 13:12:06 +01:00
Mike Hommey
11cf68787b Bug 1699228 - Update contribution quickref to point to the list of supported windows versions. r=firefox-build-system-reviewers,sylvestre,andi
Differential Revision: https://phabricator.services.mozilla.com/D168554
2023-02-01 16:38:27 +00:00
Mike Hommey
3f793f3d90 Bug 1812974 - Remove cctools dependency for clang toolchains. r=firefox-build-system-reviewers,ahochheiden
The non-raw clang toolchains do still need cctools for lipo when
aggregating the compiler-rts.

Differential Revision: https://phabricator.services.mozilla.com/D168034
2023-02-01 15:09:39 +00:00
Mike Hommey
e24baca557 Bug 1812974 - Remove some unnecessary flags. r=firefox-build-system-reviewers,ahochheiden
These flags used to be necessary when we first were cross-compiling
clang, but more recent (although now old) changes have made them
actually unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D168033
2023-02-01 15:09:39 +00:00
Stanca Serban
4bb42b9d45 Backed out 7 changesets (bug 1812974) for clang bustages. CLOSED TREE
Backed out changeset 839cf7e96788 (bug 1812974)
Backed out changeset b65050508523 (bug 1812974)
Backed out changeset 10c5442e487c (bug 1812974)
Backed out changeset 2185787a02c0 (bug 1812974)
Backed out changeset 2191a1c60417 (bug 1812974)
Backed out changeset 4074d5e1544d (bug 1812974)
Backed out changeset 1c6b291568f1 (bug 1812974)
2023-02-01 14:08:25 +02:00
Mike Hommey
00373f5e4b Bug 1812974 - Remove some unnecessary flags. r=firefox-build-system-reviewers,ahochheiden
These flags used to be necessary when we first were cross-compiling
clang, but more recent (although now old) changes have made them
actually unnecessary.

Differential Revision: https://phabricator.services.mozilla.com/D168033
2023-02-01 10:59:35 +00:00
Mike Hommey
5742849bde Bug 1773743 - Change the minimum required macos SDK to 13.0. r=firefox-build-system-reviewers,spohl,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D167773
2023-02-01 10:14:12 +00:00
Mike Hommey
17b3f43531 Bug 1522986 - Allow to auto-bootstrap the macos SDK. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D167772
2023-02-01 09:45:11 +00:00
Mike Hommey
4bfa46899a Bug 1522986 - Add auto-bootstrap support for private local toolchains. r=firefox-build-system-reviewers,ahochheiden
Per the previous commit, the task definitions now can be used to get a
command that can be used to generate the toolchain locally.

Differential Revision: https://phabricator.services.mozilla.com/D167771
2023-02-01 09:45:11 +00:00
Mike Hommey
1248412d66 Bug 1814134 - Fix clang plugin to build with recent clang trunk. r=firefox-build-system-reviewers,ahochheiden
Clang trunk recently removed Optional (replaced with std::optional).

Differential Revision: https://phabricator.services.mozilla.com/D168406
2023-01-31 17:18:03 +00:00
Mike Hommey
2fe409322f Bug 1813356 - Partially revert clang upstream change to index profile data files. r=firefox-build-system-reviewers,ahochheiden
In bug 1811960, the change was fully reverted, but that now conflicts with
more recent changes to clang trunk. So instead, we only revert the part that
affects the writing of the profile data files.

Differential Revision: https://phabricator.services.mozilla.com/D168404
2023-01-31 17:17:17 +00:00
Mike Hommey
970620c00a Bug 1813411 - Force-upgrade env_logger to 0.10. r=emilio
This preemptively avoids the addition of a new version of the crate.

Differential Revision: https://phabricator.services.mozilla.com/D168221
2023-01-30 17:35:12 +00:00
Norisz Fay
e550bd2248 Backed out changeset f973933cb7fa (bug 1813411) for causing build bustages CLOSED TREE 2023-01-30 19:15:21 +02:00
Mike Hommey
379f0bceb5 Bug 1813411 - Force-upgrade env_logger to 0.10. r=emilio
This preemptively avoids the addition of a new version of the crate.

Differential Revision: https://phabricator.services.mozilla.com/D168221
2023-01-30 15:59:42 +00:00
zaggy1024
3a3cae761c Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 21:25:51 +00:00
serge-sans-paille
60efed7f68 Bug 1466973 - Strip gcc binaries r=glandium
This reduces the archive size while keeping the compiler functional. This should not impact the quality of debug information of the compiled files
The size reduction is significant: from 236MB down to48MB.

Differential Revision: https://phabricator.services.mozilla.com/D167706
2023-01-27 21:14:34 +00:00
Butkovits Atila
2e5eede2fe Backed out 5 changesets (bug 1788119) for causing bustages complaining about AVIFDecodedData. CLOSED TREE
Backed out changeset 430e71478ff5 (bug 1788119)
Backed out changeset 9493029c76b9 (bug 1788119)
Backed out changeset 7d5cc211e3f5 (bug 1788119)
Backed out changeset 3eaac75dde3c (bug 1788119)
Backed out changeset 1f8eacf96c71 (bug 1788119)
2023-01-27 22:54:08 +02:00
zaggy1024
6e1edc99bb Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 19:54:29 +00:00
Norisz Fay
58c65f7c8f Backed out 5 changesets (bug 1788119) for causing build bustages on DecoderData.cpp CLOSED TREE
Backed out changeset 56abc66f7e84 (bug 1788119)
Backed out changeset 00d82acfaa2f (bug 1788119)
Backed out changeset 4ba88410cdf6 (bug 1788119)
Backed out changeset eeb1461933aa (bug 1788119)
Backed out changeset 8dce9350abb8 (bug 1788119)
2023-01-27 21:11:42 +02:00
zaggy1024
2628afb491 Bug 1788119 - Part 4 - Update mp4parse-rust for AVIS support. r=kinetik,glandium,supply-chain-reviewers
Depends on D156652

Differential Revision: https://phabricator.services.mozilla.com/D156653
2023-01-27 18:35:14 +00:00
Mike Hommey
2c62c82447 Bug 1811960 - Revert clang upstream change to index profile data files. r=firefox-build-system-reviewers,ahochheiden,andi
Differential Revision: https://phabricator.services.mozilla.com/D167620
2023-01-27 09:07:02 +00:00
Mike Hommey
05d471ef16 Bug 1812214 - Cross compile the stage1 windows clang. r=firefox-build-system-reviewers,andi
as well as clang-tidy.

Differential Revision: https://phabricator.services.mozilla.com/D167757
2023-01-27 07:22:44 +00:00
Mike Hommey
4ad3f5cabc Bug 1812214 - Refactor build-clang.py to prepare for Windows cross-compilation. r=firefox-build-system-reviewers,andi
The "osx_cross_compile" + "OSX_ARCH" approach is not exactly nice to
generalize.

Differential Revision: https://phabricator.services.mozilla.com/D167756
2023-01-27 07:22:43 +00:00
Mike Hommey
729cee32cc Bug 1812214 - Use llvm-ar/llvm-ranlib for macos builds of clang. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D167755
2023-01-27 07:22:43 +00:00
Mike Hommey
6e7f93b2ff Bug 1812214 - Share configuration between clang and clang-tidy. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D167754
2023-01-27 07:22:43 +00:00
Mike Hommey
b76230ed4d Bug 1812214 - Stop passing libtool to cmake when building clang. r=firefox-build-system-reviewers,sergesanspaille
It's not used anyway:
```
CMake Warning:
  Manually-specified variables were not used by the project:
    CMAKE_LIBTOOL
```

Differential Revision: https://phabricator.services.mozilla.com/D167753
2023-01-27 07:22:42 +00:00
Mike Hommey
2283c82bac Bug 1805803 - Update builders to rustc 1.67. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D167863
2023-01-27 07:18:00 +00:00
Fabrice Le Fessant
98cfeed071 Bug 1810126 - Add a generic mechanism to run cargo-* commands. r=glandium,firefox-build-system-reviewers,ahochheiden
`mach cargo COMMAND` will run `cargo-COMMAND` using `cargo build`
arguments by default. However, it is possible to tune the arguments
using either command-line arguments, or a YAML file in `config/cargo/`.
A file `config/cargo/template.yaml` can be used to create a new
configuration for a new cargo sub-command.

Differential Revision: https://phabricator.services.mozilla.com/D166780
2023-01-27 01:18:52 +00:00
Mike Hommey
722b543e49 Bug 1810249 - Revert clang change that broke debug info on mac. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D167898
2023-01-26 07:54:34 +00:00
serge-sans-paille
229778db45 Bug 1801268 - enable lto-built clang r=firefox-build-system-reviewers,glandium
Using ThinLTO because it's a good compromise between performance and
compilation speed.

Activating it for both profile generation and profile usage, doing it
only for profile usage leads to a lot of mismatch, aka

        function control flow change detected (hash mismatch)

which leads to profile information not beoing used.

This requires using the whole llvm toolchain (lld, llvm-ar, llvm-ranlib)
from the same revision.

This is disabled on Windows where it causes link error on the LLVM
Plugin system.

Differential Revision: https://phabricator.services.mozilla.com/D162371
2023-01-25 09:46:40 +00:00
serge-sans-paille
db82d92639 Bug 1789713 - Backport LLVM's https://reviews.llvm.org/D141691 r=glandium
This landed upstream, so no need to backport it to clang-trunk.json

Differential Revision: https://phabricator.services.mozilla.com/D167260
2023-01-24 13:28:51 +00:00
Geoff Brown
1281f38a76 Bug 1436612 - Remove the mozharness copy of tooltool.py r=glandium
Remove the mozharness copy of tooltool.py from mozilla-central.

Continue to keep a tooltool.py instance in the same path in mozharness.zip, copied from mozbuild.

Where it's simple, switch to use the mozbuild instance, but keep some mozharness tooltool.py references (when based on mozharness.zip).

Also make a minor change to mozproxy which had a bug in its mozharness-detection logic.

Differential Revision: https://phabricator.services.mozilla.com/D167223
2023-01-20 15:26:32 +00:00
Butkovits Atila
bc26410af7 Backed out changeset 5f2a653cbb3d (bug 1789713) for causing build bustages. CLOSED TREE 2023-01-20 12:32:34 +02:00
serge-sans-paille
810cf8ca2d Bug 1789713 - Backport LLVM's https://reviews.llvm.org/D141691 r=glandium
This landed upstream, so no need to backport it to clang-trunk.json

Differential Revision: https://phabricator.services.mozilla.com/D167260
2023-01-20 08:39:28 +00:00
Chris Peterson
eb00c7365e 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-20 04:53:27 +00:00
Natalia Kulatova
6940237fdb Bug 1808725 - land NSS NSS_3_88_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,jschanck
Differential Revision: https://phabricator.services.mozilla.com/D167294
2023-01-19 19:22:53 +00:00
Mike Hommey
f4f96dcdf8 Bug 1773741 - Switch builds to the macOS 13 SDK. r=firefox-build-system-reviewers,spohl,andi
Keep a couple jobs on the 11.3 SDK until bug 1773743.

Differential Revision: https://phabricator.services.mozilla.com/D166748
2023-01-19 01:40:37 +00:00
Mike Hommey
adb58838c7 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 23:39:05 +00:00
Mike Hommey
aef464f175 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 23:39:04 +00:00
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