Commit Graph

11819 Commits

Author SHA1 Message Date
serge-sans-paille
db954d516c Bug 1896412 - Move MOZ_UBSAN integer overflow checks from old.configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210194
2024-05-31 06:02:54 +00:00
serge-sans-paille
b73661a986 Bug 1896411 - Move MOZ_UBSAN checks from old.configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210193
2024-05-31 06:02:53 +00:00
serge-sans-paille
79a4dcbb7a Bug 1896410 - Move MOZ_MSAN checks from old.configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210192
2024-05-31 06:02:53 +00:00
serge-sans-paille
3460507f92 Bug 1896409 - Move MOZ_TSAN checks from old.configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210191
2024-05-31 06:02:53 +00:00
John Schanck
4d4015d3c2 Bug 1894459 - land NSS a4c9d2760c66 UPGRADE_NSS_RELEASE, r=keeler
Differential Revision: https://phabricator.services.mozilla.com/D212150
2024-05-30 22:55:59 +00:00
serge-sans-paille
8c8d2000fc Bug 1896118 - Rework identical code folding detection check r=glandium
For lld, -Wl,--icf=safe checks for address significance, which seems to
be the case with the previous test. Not referencing the function in
main() fixes the issue.

This behavior differs between lld and gold, see
https://github.com/llvm/llvm-project/issues/93818

Differential Revision: https://phabricator.services.mozilla.com/D210035
2024-05-30 14:13:33 +00:00
Mike Hommey
895fc56d4f Bug 1337955 - Switch the toolchains project branch to nightly rust compiler. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D210761
2024-05-30 06:03:28 +00:00
Cristian Tuns
23efe2c8c5 Backed out changeset 449dd1f336ba (bug 1899227) as requeste by glandium on element, causing conflicts. a=backout 2024-05-29 20:30:09 -04:00
serge-sans-paille
ad2077c399 Bug 1896351 - Move sanitizer-related AC_SUBST and AC_DEFINE from old-configure to moz.configure r=glandium
Also:

- deactivate LLVM_SYMBOLIZER on android mozconfig as we don't cross compile it yet.
- enforce LLVM_SYMBOLIZER when fuzzing is on
- fix osx packaging to include llvm-symbolizer when fuzzing, and provide
  it through tc

Differential Revision: https://phabricator.services.mozilla.com/D210190
2024-05-29 15:28:59 +00:00
serge-sans-paille
0962f14cfd Bug 1899286 - Remove legacy AIX and HP-UX support r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211846
2024-05-29 06:57:40 +00:00
ahochheiden
8a4484f7a5 Bug 1690814: Add configure checks for MozillaBuild and its version r=firefox-build-system-reviewers,glandium
Adds two new checks:
- Checks that the directory pointed to by the `MOZILLABUILD` environment variable exists, and prints it.
- Checks if the version meets a minimum version, and displays an error message if it doesn't.

These checks will only run on Windows.

The specified minimum version of MozillaBuild is `4.0` as it is reasonably recent. `4.1` has only been out a few months, and is not strictly needed, but we could up the minimum to `4.1` relatively soon.

Differential Revision: https://phabricator.services.mozilla.com/D107835
2024-05-29 03:38:35 +00:00
Narcis Beleuzu
45f04dc15a Backed out changeset 9f7aae0bea0b (bug 1896351) for bustages related to LLVM_SYMBOLIZER . CLOSED TREE 2024-05-29 02:13:06 +03:00
serge-sans-paille
4106c6fb86 Bug 1896351 - Move sanitizer-related AC_SUBST and AC_DEFINE from old-configure to moz.configure r=glandium
Also deactivate LLVM_SYMBOLIZER on android mozconfig as we don't cross
compile it yet.

Differential Revision: https://phabricator.services.mozilla.com/D210190
2024-05-28 21:10:56 +00:00
Mike Hommey
ac71287d49 Bug 1899227 - Work around clang trunk no linking the i686-linux target with our i686 sysroot. r=firefox-build-system-reviewers,ahochheiden
Unblock the clang trunk builds until we find the right fix on our end.

Differential Revision: https://phabricator.services.mozilla.com/D211814
2024-05-28 21:07:29 +00:00
Mike Hommey
df19d34ab3 Bug 1899232 - Remove revert-llvmorg-18*.patch. r=firefox-build-system-reviewers,ahochheiden
They existed to revert things that conflicted with other things being
reverted, but those things are not reverted anymore as of bug 1892128.

Differential Revision: https://phabricator.services.mozilla.com/D211807
2024-05-28 21:06:44 +00:00
Mike Hommey
dedccf51e4 Bug 1898655 - Remove partial-revert-llvmorg-16-init-17151-gaa0883b59ae1_clang_17.patch. r=firefox-build-system-reviewers,ahochheiden
The bug this was working around was actually fixed in clang 17.

Differential Revision: https://phabricator.services.mozilla.com/D211805
2024-05-28 21:06:44 +00:00
acseh
2d01b1cdaf Backed out changeset 0e79c99e2f41 (bug 1896351) for causing build bustages on packager.mk CLOSED TREE 2024-05-28 12:12:27 +03:00
serge-sans-paille
41fd5ac68b Bug 1896351 - Move sanitizer-related AC_SUBST and AC_DEFINE from old-configure to moz.configure r=glandium
Also deactivate LLVM_SYMBOLIZER on android mozconfig as we don't cross
compile it yet.

Differential Revision: https://phabricator.services.mozilla.com/D210190
2024-05-28 06:57:15 +00:00
serge-sans-paille
53c408f3bc Bug 1894951 - Move MOZ_CHECK_ALLOCATOR to moz.configure r=glandium
MOZ_CHECK_ALLOCATOR was defining HAVE_VALLOC and HAVE_ALIGNED_MALLOC
which are unused, so get rid of these checks.

Differential Revision: https://phabricator.services.mozilla.com/D210278
2024-05-28 06:53:55 +00:00
Malte Juergens
893f350260 Bug 1884921 - Update HTTPS-First Tests to work with new exception behaviour on failiure r=freddyb
These tests would fail if we automatically add a HTTPS-First exception. So this
patch either removes those exceptions again throughout the tests, or disables
the adding of automatic exceptions via a pref.

Differential Revision: https://phabricator.services.mozilla.com/D204757
2024-05-27 18:57:25 +00:00
Malte Juergens
6a1787e9e9 Bug 1885893 - Only collect HTTPS-First telemetry on successful request r=freddyb
This patch addresses the problem that we currently collect HTTPS-First telemetry
for sites that are not reachable at all, be it through always causing a error or
through always timing out.

- On a downgrade, do not collect telemetry instantly, but instead save the
  telemetry data in the load state for the downgraded request
- That telemetry data will then be copied over into the document load listener
  of the new request
- On a successful request, if we have downgrade data in the load listener, we
  collect the downgrade telemetry, as the downgrade seems to have been
  successful
- Similar to the downgrade case, we only count the upgrade metric once we
  encounter a successful request annotated with the information that it was
  upgraded by HTTPS-First, instead of counting it instantly on the decision to
  upgrade. This also means the upgrade metric will not include loads that are
  downgraded again anymore
- Add a testcase for a site which is neither reachable via HTTP nor HTTPS, and
  ensure no telemetry is collected

Differential Revision: https://phabricator.services.mozilla.com/D210792
2024-05-27 14:20:11 +00:00
serge-sans-paille
869f6f9bc2 Bug 1898499 - Rename building_with_gnu_cc into a more explicit name r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211369
2024-05-24 10:26:49 +00:00
ahochheiden
9a271c3566 Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.

Differential Revision: https://phabricator.services.mozilla.com/D150649
2024-05-23 23:55:38 +00:00
Sandor Molnar
f71ec5a437 Backed out changeset 0af3d58955db (bug 1898499) for causing build bustages CLOSED TREE 2024-05-24 00:35:35 +03:00
serge-sans-paille
5bcf1b508a Bug 1898499 - Rename build_with_gnu_cc into a more explicit name r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211369
2024-05-23 21:25:58 +00:00
serge-sans-paille
5047036a8a Bug 1896066 - Move -ffunction-sections, -fdata-sections, -fno-exceptions and -fno-math-errno flag detection to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210036
2024-05-23 12:52:36 +00:00
serge-sans-paille
29440c6680 Bug 1896063 - Move _MOZ_USE_RTTI to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210009
2024-05-23 12:31:07 +00:00
Mike Hommey
05d708653f Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-23 04:28:38 +00:00
Mike Hommey
42354bc6ca Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-23 04:28:37 +00:00
Iulian Moraru
b341993f71 Backed out changeset 78c755371e44 (bug 1776255) for causing artifact build bustages related to Necko WiFi scanning. CLOSED TREE 2024-05-23 04:50:13 +03:00
ahochheiden
15589ca635 Bug 1776255 - Add the appropriate 'when' to all 'option' that end up calling 'pkg_check_modules' later r=firefox-build-system-reviewers,glandium
We don't check for pkg-config on some platforms (Windows, OSX, Android).
On those platforms, calling 'pkg_check_modules' will not work. Adding
the same 'when' used for the 'pkg_config' check to all the options that
end up calling 'pkg_check_modules' effectively disables them, and prevents
'pkg_check_modules' from being called.

Differential Revision: https://phabricator.services.mozilla.com/D150649
2024-05-22 23:38:25 +00:00
Mike Hommey
2cde894963 Bug 1898109 - Allow the Android system linker to handle RELR relocations itself. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D211122
2024-05-22 20:22:59 +00:00
Erich Gubler
3231651cd0 Bug 1894791 - build: upgrade clang-sys 1.6.0 → 1.7.0 r=supply-chain-reviewers,glandium
Now that WGPU has upgraded its dependency on `libloading`, we can
finally remove our fake `libloading` 0.7 crate! 🙌

I found this audit and review easiest to do by generating a diff. that
ignores whitespace-only differences. In my case, I did the following:

```
git diff --ignore-space-at-eol --ignore-space-change --ignore-all-space --ignore-blank-lines
```

Differential Revision: https://phabricator.services.mozilla.com/D209290
2024-05-22 19:55:01 +00:00
serge-sans-paille
a40d3c0d23 Bug 1892043 - Move MOZ_EXPAND_LIBS check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D207752
2024-05-22 08:22:16 +00:00
serge-sans-paille
6d437ba43e Bug 1895511 - Move MOZ_DEBUGGING_OPTS to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D209734
2024-05-22 06:01:37 +00:00
Cristina Horotan
22fa3c4f67 Backed out 2 changesets (bug 1849075, bug 1878764) for causing remote failures at remote/shared/messagehandler/test/browser/*
Backed out changeset 0dbba1a7b5ab (bug 1878764)
Backed out changeset 86555ffb064f (bug 1849075)
2024-05-22 03:34:48 +03:00
Kershaw Chang
6ae3c284a1 Bug 1895319 - refactor http3server to use neqo-bin for I/O, timers, event-loop etc. r=necko-reviewers,valentin,glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D209574
2024-05-21 09:34:48 +00:00
Kershaw Chang
53ac4125c5 Bug 1895319 - Patch socket2 to 0.5, r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D210623
2024-05-21 09:34:47 +00:00
Mike Hommey
010891448c Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-21 07:24:02 +00:00
Mike Hommey
d5182ee779 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-21 07:24:02 +00:00
Ryan VanderMeulen
657651cbad Merge m-c to autoland. a=merge 2024-05-20 14:10:24 -04:00
Ryan VanderMeulen
c84d3db8d7 Backed out 3 changesets (bug 1849075, bug 1897015, bug 1878764) for causing Android arm32 startup crashes (bug 1897635).
Backed out changeset 916680b7cdce (bug 1897015)
Backed out changeset c6dd0210975b (bug 1878764)
Backed out changeset c9e28db916e5 (bug 1849075)
2024-05-20 12:54:45 -04:00
Tooru Fujisawa
4b6ff158ec Bug 1897647 - Generate URL_ analysis item for chrome:// and resource:// string literals in C++ code. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D210892
2024-05-20 14:11:27 +00:00
serge-sans-paille
ae07881baa Bug 1883940 - Replace MOZ_CXX11 autoconf macro by a moz.configure check r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203781
2024-05-18 07:10:57 +00:00
serge-sans-paille
b19d89343d Bug 1883782 - Move pthread checks from old-configure to moz.configure r=glandium
Get read of -pthreads because (according to gcc info page) it's only
there on solaris and as an alias to -pthread.

-D_REENTRANT is always defined by gcc and clang when -pthreads is on.
-D_THREAD_SAFE is only defined on AIX by clang

so get rid of the related actions.

libpthreads is an AIX thing, I assume we can remove it too.

c/cxx flags are always added to the linker flags, so don't do any
linker-related addition.

Differential Revision: https://phabricator.services.mozilla.com/D203687
2024-05-17 14:38:08 +00:00
Jamie Nicol
49e398ebff Bug 1897179 - Update GeckoView native debugging docs with new symbols search dir. r=geckoview-reviewers,nalexander,ohall
The location of the built libraries was changed by bug 1459764.

Additionally update the search paths in the .lldbinit file that gets
put in the objdir during build.

Differential Revision: https://phabricator.services.mozilla.com/D210667
2024-05-17 10:36:48 +00:00
serge-sans-paille
a1106cbc85 Bug 1883720 - (re)Move checks for socket, gethostbyname_r and demangle to moz.configure r=glandium
Actually remove the check for demangle, no supported target need that
check.

Also make library dependencies explicit instead of relying on "$LIBS".

Differential Revision: https://phabricator.services.mozilla.com/D203637
2024-05-17 07:35:09 +00:00
serge-sans-paille
2e6000ad33 Bug 1895505 - Move MOZ_NO_DEBUG_RTL check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D209733
2024-05-17 07:34:32 +00:00
Aron Cseh
385f6deeda Backed out changeset 95da9894a2b1 (bug 1610148) for causing mass failures 2024-05-17 02:48:02 +03:00
Mike Hommey
6577227124 Bug 1897015 - Fix valgrind suppression for rustc 1.78
Differential Revision: https://phabricator.services.mozilla.com/D210739
2024-05-16 21:36:42 +00:00
Masatoshi Kimura
2c1cddd5b8 Bug 1610148 - Add -DEPENDENTLOADFLAG:0x800 to DLL link flags. r=firefox-build-system-reviewers,glandium
We can't add the flag to EXE files unless we do either
* Make the CRT an SxS assembly (bug 1733734) or
* Ship the redistributable installer to install the CRT to System32.
Because otherwise firefox.exe will no longer be able to find the CRT.

Differential Revision: https://phabricator.services.mozilla.com/D210639
2024-05-16 21:27:14 +00:00
serge-sans-paille
b9f78f0cc2 Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-05-15 20:29:07 +00:00
serge-sans-paille
f310391803 Bug 1883719 - Introduce check_lib(s) moz.configure to mimic AC_CHECK_LIB r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203636
2024-05-15 20:29:06 +00:00
Mike Hommey
7072328ee9 Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-15 19:38:32 +00:00
Mike Hommey
eaa48cfb89 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-15 19:38:32 +00:00
Ting-Yu Lin
89d03cb81b Bug 1824877 Part 1 - Rename nsGfxScrollFrame.{h,cpp} to ScrollContainerFrame.{h,cpp}. r=dholbert
Remove the #include from `nsFrameState.cpp` because it is not used.

Differential Revision: https://phabricator.services.mozilla.com/D210232
2024-05-15 17:50:48 +00:00
Sandor Molnar
6830ea8560 Backed out changeset 7bdfbe708282 (bug 1896351) for causing android bustages CLOSED TREE 2024-05-15 21:53:15 +03:00
serge-sans-paille
eff73d2aa2 Bug 1896351 - Move sanitizer-related AC_SUBST and AC_DEFINE from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210190
2024-05-15 15:34:27 +00:00
Tamas Szentpeteri
329474c3dc Backed out changeset 3050967a3854 (bug 1896351) for causing fuzzing bustages. 2024-05-15 15:13:14 +03:00
serge-sans-paille
861cbbc578 Bug 1896351 - Move sanitizer-related AC_SUBST and AC_DEFINE from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210190
2024-05-15 09:52:31 +00:00
Tamas Szentpeteri
22c92af506 Backed out 3 changesets (bug 1883720, bug 1883719, bug 1883615) for causing multiple failures. CLOSED TREE
Backed out changeset 495b9e84ba9d (bug 1883720)
Backed out changeset 5a89cbc54dd2 (bug 1883615)
Backed out changeset 9d075e352b0e (bug 1883719)
2024-05-15 13:30:17 +03:00
serge-sans-paille
ceff7deb44 Bug 1883720 - (re)Move checks for socket, gethostbyname_r and demangle to moz.configure r=glandium
Actually remove the check for demangle, no supported target need that
check.

Also make library dependencies explicit instead of relying on "$LIBS".

Differential Revision: https://phabricator.services.mozilla.com/D203637
2024-05-15 07:47:56 +00:00
serge-sans-paille
863475a670 Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-05-15 07:47:55 +00:00
serge-sans-paille
1e80fadb55 Bug 1883719 - Introduce check_lib(s) moz.configure to mimic AC_CHECK_LIB r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203636
2024-05-15 07:47:55 +00:00
Mike Hommey
036686a6a3 Bug 1896792 - Refresh rust workspace hack. r=firefox-build-system-reviewers,nalexander
With this refresh, we get from 620 crates compilations down to 565 on a
local Linux opt build.

Differential Revision: https://phabricator.services.mozilla.com/D210394
2024-05-15 02:35:30 +00:00
acseh
e9228802fc Backed out 2 changesets (bug 1878764, bug 1849075) for causing build bustages and xpcshell failures on /test_content_annotation.js
Backed out changeset 8dc928e0dd33 (bug 1878764)
Backed out changeset 605e19d02f88 (bug 1849075)
2024-05-14 12:48:46 +03:00
Mike Hommey
a2b11ddcc7 Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-14 07:10:44 +00:00
Mike Hommey
e75b7d2a26 Bug 1849075 - Update builders to clang 18. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208955
2024-05-14 07:10:43 +00:00
Emilio Cobos Álvarez
2580c7b865 Bug 1894756 - Remove owning_ref. r=firefox-style-system-reviewers,supply-chain-reviewers,zrhoffman,sylvestre
The only use of this type used to be carrying around an owning reference
to a thread-local. However, since bug 1577439 we're leaking the
allocation intentionally, so we can simplify the code to explicitly use
`Box::leak()`, which in turn removes all unsafe usage around these, and
allows us to drop the owning_ref dependency altogether.

Differential Revision: https://phabricator.services.mozilla.com/D209912
2024-05-10 08:15:04 +00:00
Mike Hommey
c9d6bd0d23 Bug 1894860 - Adjust searchfox plugin to LLVM 19 changes. r=asuth CLOSED TREE
Differential Revision: https://phabricator.services.mozilla.com/D209325
2024-05-04 20:10:29 +00:00
Cristian Tuns
c4685ab34e Backed out 4 changesets (bug 1878764, bug 1894860, bug 1849075) for causing multiple Gtest failures. CLOSED TREE
Backed out changeset 1b6f68a55002 (bug 1878764)
Backed out changeset dbcef036309d (bug 1894860)
Backed out changeset 440056d02985 (bug 1878764)
Backed out changeset df59a0aca986 (bug 1849075)
2024-05-04 18:03:30 -04:00
Cristian Tuns
db6d6f8879 Bug 1878764 - Fix clang-format linting failures r=fix CLOSED TREE 2024-05-04 16:50:24 -04:00
Mike Hommey
d54eab8c25 Bug 1894860 - Adjust searchfox plugin to LLVM 19 changes. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D209325
2024-05-04 20:10:29 +00:00
Mike Hommey
41ff0f1467 Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-04 20:07:21 +00:00
Mike Hommey
72df76cf20 Bug 1894830 - Upgrade fallible_collections to 0.4.9 for soundness fixes. r=supply-chain-reviewers
Because fallible_collections pulls hashbrown 0.13, we also upgrade
hashlink to 0.8.2, which updates to that version as well. Those were the
last two uses of hashbrown 0.12, so we can update the fake hashbrown
0.12 to 0.13.

We could skip the upgrade of hashlink, but that would leave us with two
fake hashbrowns, and we'd hit https://github.com/rust-lang/cargo/issues/13405

Differential Revision: https://phabricator.services.mozilla.com/D209317
2024-05-04 19:59:52 +00:00
serge-sans-paille
8507c5b50c Bug 1892005 - Move MOZ_LINUX_32_SSE2_STARTUP_ERROR env check to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D207729
2024-05-03 05:57:52 +00:00
Tamas Szentpeteri
6217d9f010 Backed out 2 changesets (bug 1849075, bug 1878764) for causing mass crashes at panicking.rs. CLOSED TREE
Backed out changeset e48d46145ba4 (bug 1878764)
Backed out changeset b92b25790374 (bug 1849075)
2024-05-03 00:17:49 +03:00
Mike Hommey
a1e8eaa7d1 Bug 1878764 - Update builders to rustc 1.78. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208953
2024-05-02 19:35:40 +00:00
Erich Gubler
f838b21416 Bug 1893057 - build: use libloading 0.8, fake 0.7 over 0.8 r=glandium,webgpu-reviewers,jimb
Differential Revision: https://phabricator.services.mozilla.com/D208799
2024-05-02 18:17:36 +00:00
Erich Gubler
37c1ce9b19 Bug 1893057 - build: swap indexmap 2.* façade and 1.* impl. with 1.* façade and 2.* impl. r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208797
2024-05-02 18:17:35 +00:00
Erich Gubler
292ca7b861 Bug 1893057 - build: upgrade hashbrown 0.12.3 → 0.14.3 via fake build crate r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D208795
2024-05-02 18:17:34 +00:00
Mike Hommey
8b46fa4da5 Bug 1893677 - Stop making some automation tiers print their own BUILDSTATUS. r=firefox-build-system-reviewers,ahochheiden
Some automation tiers ultimately end up calling normal tiers, which
will print their own BUILDSTATUS already. This kind of didn't cause
problems before bug 1859011 presumably because of buffering of the
automation tier output, but is now causing problems because the tier
monitor doesn't want to see a tier start multiple times.

Also, now that bug 1859011 made automation tiers buffered by command
rather than by target, we don't need the hack with automation-start,
simplifying the setup.

Differential Revision: https://phabricator.services.mozilla.com/D209095
2024-05-01 03:50:06 +00:00
ahochheiden
dd1abfa37f Bug 1894157 - Remove Python2 compatibility code in Mach r=firefox-build-system-reviewers,glandium
Mach can currently only run on Python version 3.8 or higher, so it
doesn't make sense to continue having dead code that provides support
for Python2.

Differential Revision: https://phabricator.services.mozilla.com/D209030
2024-05-01 02:32:23 +00:00
Mike Hommey
cf328a56ac Bug 1459764 - Build libraries in their FINAL_TARGET location rather than installing them during the build. r=firefox-build-system-reviewers,ahochheiden
Like bug 1255485, but for libraries.

Original patch by Chris Manchester.

Differential Revision: https://phabricator.services.mozilla.com/D63281
2024-04-30 23:29:46 +00:00
serge-sans-paille
c956aba4f0 Bug 1892198 - No longer support linkerscript style for moz_expand_libs r=glandium
@file are supported by gcc since gcc 7 and by clang since clang 3.x,
which removes the need for linker script to list input files.

We cannot directly use @file from the compiler driver (it would expand
to a large number of arguments and hit the linker limit) so pass
-Wl,@FILE instead, which is supported since binutils 2.17.

As a side effect this removes the LTO dependency from the check.

Differential Revision: https://phabricator.services.mozilla.com/D207839
2024-04-30 20:51:32 +00:00
Mike Hommey
b7aeb82b5e Bug 1873574 - Adjust searchfox plugin to LLVM 18 changes. r=asuth
StringLiteral was changed in 3e6ce58701

isPure was changed in e90e43fb9c

Differential Revision: https://phabricator.services.mozilla.com/D208723
2024-04-30 19:49:41 +00:00
Mike Hommey
e41b7821eb Bug 1892493 - Support reading a response file when that's the only thing on the command line. r=sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D208284
2024-04-29 20:58:36 +00:00
Mike Hommey
600a6d9419 Bug 1893578 - Fix clang-plugin to build against clang trunk. r=sylvestre
starts_with was added in LLVM 16, and startswith was deprecated in LLVM 18
and removed in LLVM 19.

Differential Revision: https://phabricator.services.mozilla.com/D208714
2024-04-26 07:28:29 +00:00
Florian Quèze
b3b4d143a6 Bug 1859011 - avoid prefixing BUILDSTATUS lines, r=glandium.
Differential Revision: https://phabricator.services.mozilla.com/D208580
2024-04-26 05:30:50 +00:00
Mike Hommey
bdef86af1e Bug 1874251 - Apply clang trunk patch fixing -fsanitize=function on macOS. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D208591
2024-04-25 20:01:20 +00:00
Mike Hommey
c00945c898 Bug 1892812 - Adjust revert-llvmorg-16-init-11301-g163bb6d64e5f_clang_19.patch to upstream changes. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D208246
2024-04-25 01:19:49 +00:00
Alex Franchuk
ad23630d00 Bug 1882578 - Update the minidump-writer and minidump-common crates r=gsvelto,glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D207315
2024-04-22 13:42:39 +00:00
Cristian Tuns
f1d454ad58 Backed out changeset 390c5748d868 (bug 1892198) for causing Bug 1892493. CLOSED TREE 2024-04-19 15:46:42 -04:00
serge-sans-paille
074aeb56b5 Bug 1892198 - No longer support linkerscript style for moz_expand_libs r=glandium
@file are supported by gcc since gcc 7 and by clang since clang 3.x,
which removes the need for linker script to list input files.

We cannot directly use @file from the compiler driver (it would expand
to a large number of arguments and hit the linker limit) so pass
-Wl,@FILE instead, which is supported since binutils 2.17.

As a side effect this removes the LTO dependency from the check.

Differential Revision: https://phabricator.services.mozilla.com/D207839
2024-04-19 09:31:13 +00:00
serge-sans-paille
420631590e Bug 1891776 - Split mkdir and ensureParentDir from mozbuild/util.py r=perftest-reviewers,afinder
Differential Revision: https://phabricator.services.mozilla.com/D207593
2024-04-19 09:08:56 +00:00
Mike Hommey
4fa90ff433 Bug 1887808 - Bump valgrind timeout to 1 hour. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D207658
2024-04-19 02:58:21 +00:00
Andrew Halberstadt
d68e3340c5 Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 20:39:09 +00:00
Mike Hommey
fb939bec25 Bug 1892128 - Simplify the llvm-symbolizer patch for bug 1798613. r=firefox-build-system-reviewers,sergesanspaille
Reverting the entire commit that is causing problems has caused a number
of conflicts with further changes in LLVM in the past year and a half,
making us have to revert a bunch of other patches.

Instead of doing that, we just revert the small part of the original
change that is causing the problem, avoiding conflicts with newer
changes. This also gives us a better hint at what's really going on.

Differential Revision: https://phabricator.services.mozilla.com/D207829
2024-04-18 19:48:58 +00:00
Stanca Serban
f9c5779927 Backed out 2 changesets (bug 1868440) for gecko decision task broken. CLOSED TREE
Backed out changeset 4b22948d849a (bug 1868440)
Backed out changeset 837bdcb3694a (bug 1868440)
2024-04-18 21:25:43 +03:00
Andrew Halberstadt
f33979228a Bug 1868440 - [ci] Upgrade taskcluster-taskgraph to v7.4.0, r=perftest-reviewers,geckoview-reviewers,ci-and-tooling,devtools-reviewers,taskgraph-reviewers,releng-reviewers,mach-reviewers,omc-reviewers,jmaher,hneiva,aminomancer,jari,dom-storage-reviewers,afinder,asuth,bhearsum,owlish
Differential Revision: https://phabricator.services.mozilla.com/D206260
2024-04-18 17:50:50 +00:00
Sylvestre Ledru
397d15d90f Bug 1617369 - Reformat recent rust changes with rustfmt r=emilio,webdriver-reviewers,glandium,whimboo
done with: rustfmt 1.7.0-stable (25ef9e3 2024-04-09)

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D207645
2024-04-18 08:50:15 +00:00
Iulian Moraru
6237235109 Backed out 2 changesets (bug 1835983) for causing http related mochitest failures. CLOSED TREE
Backed out changeset deb09f084bed (bug 1835983)
Backed out changeset 057e5bd486b4 (bug 1835983)
2024-04-17 21:32:39 +03:00
Malte Juergens
1339f2a503 Bug 1835983 - Make https://trackertest.org available to mochitest r=nss-reviewers,jschanck
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/D205545
2024-04-17 12:17:36 +00:00
Dennis Jackson
b00e9ae0b9 Bug 1891763 - land NSS NSS_3_100_BETA1 UPGRADE_NSS_RELEASE, r=nss-reviewers,nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D207694
2024-04-17 11:45:12 +00:00
Tamas Szentpeteri
a86fd1fb23 Backed out changeset 4309f75eaa90 (bug 1883615) for causing build bustages related to check_symbol_in_libs. CLOSED TREE 2024-04-17 12:57:02 +03:00
serge-sans-paille
78ac6a6ccf Bug 1883615 - Move libdl checks to moz.configure and make libdl dependencies explicit r=glandium
The -ldl flag was previously set globally, it's now set for the libs
that use it.

Also rationalize the difference between HAVE_DLOPEN and HAVE_DLFCN_H.

Differential Revision: https://phabricator.services.mozilla.com/D203594
2024-04-17 09:33:00 +00:00
Martin Robinson
1473c23cbf Bug 1885597 - Remove GitHub synchronization task r=jrmuizel,jnicol,taskgraph-reviewers,releng-reviewers,ahal,bhearsum
This synchronization is now handled in the downstream repositories. In
the case of WebRender by the Servo project and in the case of qcms by a
Gecko-managed GitHub Action. This change removes the github-sync task
from mozilla-central.

Differential Revision: https://phabricator.services.mozilla.com/D204787
2024-04-16 09:31:17 +00:00
Mike Hommey
f9c7fc80a0 Bug 1890887 - Revert more patches that conflict with previous reverts. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D207220
2024-04-15 20:50:05 +00:00
Ben Dean-Kawamura
2bb9af8156 Bug 1888683 - Upgrade UniFFI to 0.27.1. r=markh,janerik,glandium,supply-chain-reviewers,mach-reviewers,android-reviewers,kaya
Update:
  - UniFFI to 0.27.1
  - Glean to 59.0.0
  - App-services to a recent version

This removes the need for the goblin build hack, although we still have
duplicate versions of goblin since UniFFI is ahead of the moz-central
version.  I think that should be easy to resolve as a follow-up.

Updating uniffi-bindget-gecko-js based on upstream changes:
  - Clone objects before lowering them
    (https://github.com/mozilla/uniffi-rs/pull/1880)
  - Use u64 for the RustBuffer length and capacity field
    (https://github.com/mozilla/uniffi-rs/pull/1978)

I didn't implement the new callback interface VTable code.  Instead I
simply disabled the one fixture that tests it.  I'd rather implement
https://bugzilla.mozilla.org/show_bug.cgi?id=1888668 first, since that
will simplify the process a bunch. The only real-world use-case for
callbacks that I know of is Mark's logging changes, but that will
require implementing trait interfaces anyways so I'd rather wait than
write a bunch of C++ code that we then throw away.

Differential Revision: https://phabricator.services.mozilla.com/D206130
2024-04-10 17:23:00 +00:00
Natalia Csoregi
5905e649c1 Backed out 3 changesets (bug 1879975) for causing valgrind bustages. CLOSED TREE
Backed out changeset e66749b7e244 (bug 1879975)
Backed out changeset c3ab151d75bd (bug 1879975)
Backed out changeset f9aa23ba9fde (bug 1879975)
2024-04-10 10:13:21 +03:00
Michael Hughes
8a12c37b30 Bug 1879975 - Hooking up secret keys with try and release builds for new windows api taskbar pinning r=bhearsum,taskgraph-reviewers,ahal
Added new secret data storing the release keys. Modifying scripts to hook them up. Testing will be done thoroughly with try and release builds to confirm that pinning works on newer machines and falls back to the old mechanism on older machines.

Differential Revision: https://phabricator.services.mozilla.com/D205361
2024-04-10 05:19:20 +00:00
Cristian Tuns
4deecb1d98 Backed out 2 changesets (bug 1888683) for causing hazard bustages in UniFFIPointer.cpp CLOSED TREE
Backed out changeset 42fe954d2d47 (bug 1888683)
Backed out changeset 2403582c3c8d (bug 1888683)
2024-04-09 21:54:42 -04:00
Mike Hommey
69a278aed5 Bug 1889822 - Add hackish support for arm64e to LLD. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D206725
2024-04-09 21:51:57 +00:00
Mike Hommey
d9955d97cc Bug 1888738 - Stop reverting patches working around llvm-symbolizer problems on clang. r=firefox-build-system-reviewers,sergesanspaille
We're currently applying patches to clang to work around some yet
unidentified problem with some change that, when applied to
llvm-symbolizer, makes tsan tests timeout for some reason.

Those patches regularly conflict with newer changes to LLVM, blocking
the clang build. We however actually don't need to apply these reverts
to clang itself, only to llvm-symbolizer, which we build separately. So
we do that, and fix the llvm-symbolizer-trunk task to revert the new
conflicting upstream patches.

Differential Revision: https://phabricator.services.mozilla.com/D206727
2024-04-09 21:27:51 +00:00
Ben Dean-Kawamura
3c47b31e06 Bug 1888683 - Upgrade UniFFI to 0.27.1. r=markh,janerik,glandium,supply-chain-reviewers,mach-reviewers,android-reviewers,kaya
Update:
  - UniFFI to 0.27.1
  - Glean to 59.0.0
  - App-services to a recent version

This removes the need for the goblin build hack, although we still have
duplicate versions of goblin since UniFFI is ahead of the moz-central
version.  I think that should be easy to resolve as a follow-up.

Updating uniffi-bindget-gecko-js based on upstream changes:
  - Clone objects before lowering them
    (https://github.com/mozilla/uniffi-rs/pull/1880)
  - Use u64 for the RustBuffer length and capacity field
    (https://github.com/mozilla/uniffi-rs/pull/1978)

I didn't implement the new callback interface VTable code.  Instead I
simply disabled the one fixture that tests it.  I'd rather implement
https://bugzilla.mozilla.org/show_bug.cgi?id=1888668 first, since that
will simplify the process a bunch. The only real-world use-case for
callbacks that I know of is Mark's logging changes, but that will
require implementing trait interfaces anyways so I'd rather wait than
write a bunch of C++ code that we then throw away.

Differential Revision: https://phabricator.services.mozilla.com/D206130
2024-04-09 20:15:16 +00:00
Sandor Molnar
ecaff7c868 Backed out 5 changesets (bug 1890092, bug 1888683) for causing build bustages & crashes CLOSED TREE
Backed out changeset d43df75c14de (bug 1888683)
Backed out changeset b4267327c7dd (bug 1888683)
Backed out changeset 11892428e2dc (bug 1890092)
Backed out changeset 42598e432246 (bug 1888683)
Backed out changeset 372016bf3614 (bug 1888683)
2024-04-08 19:56:29 +03:00
Ben Dean-Kawamura
b3c3067e2b Bug 1888683 - Upgrade UniFFI to 0.27.1. r=janerik,glandium,supply-chain-reviewers,mach-reviewers,android-reviewers,kaya
Update:
  - UniFFI to 0.27.1
  - Glean to 59.0.0
  - App-services to a recent version

This removes the need for the goblin build hack, although we still have
duplicate versions of goblin since UniFFI is ahead of the moz-central
version.  I think that should be easy to resolve as a follow-up.

Updating uniffi-bindget-gecko-js based on upstream changes:
  - Clone objects before lowering them
    (https://github.com/mozilla/uniffi-rs/pull/1880)
  - Use u64 for the RustBuffer length and capacity field
    (https://github.com/mozilla/uniffi-rs/pull/1978)

I didn't implement the new callback interface VTable code.  Instead I
simply disabled the one fixture that tests it.  I'd rather implement
https://bugzilla.mozilla.org/show_bug.cgi?id=1888668 first, since that
will simplify the process a bunch. The only real-world use-case for
callbacks that I know of is Mark's logging changes, but that will
require implementing trait interfaces anyways so I'd rather wait than
write a bunch of C++ code that we then throw away.

Differential Revision: https://phabricator.services.mozilla.com/D206130
2024-04-08 15:07:50 +00:00
Norisz Fay
c3037f06ac Backed out changeset d667b589d8cd (bug 1888738) per request by glandium for causing toolchain python related failures CLOSED TREE 2024-04-06 23:05:06 +03:00
Mike Hommey
1c1ded579f Bug 1888738 - Stop reverting patches working around llvm-symbolizer problems on clang. r=firefox-build-system-reviewers,sergesanspaille
We're currently applying patches to clang to work around some yet
unidentified problem with some change that, when applied to
llvm-symbolizer, makes tsan tests timeout for some reason.

Those patches regularly conflict with newer changes to LLVM, blocking
the clang build. We however actually don't need to apply these reverts
to clang itself, only to llvm-symbolizer, which we build separately. So
we do that, and fix the llvm-symbolizer-trunk task to revert the new
conflicting upstream patches.

Differential Revision: https://phabricator.services.mozilla.com/D206727
2024-04-06 19:40:17 +00:00
Iulian Moraru
7a5c2499ac Backed out changeset fdbb6cbe2018 (bug 1888738) for making bug 1889833 block plenty of tasks. CLOSED TREE 2024-04-05 13:18:08 +03:00
Mike Hommey
cfa813d4c6 Bug 1888738 - Stop reverting patches working around llvm-symbolizer problems on clang. r=firefox-build-system-reviewers,sergesanspaille
We're currently applying patches to clang to work around some yet
unidentified problem with some change that, when applied to
llvm-symbolizer, makes tsan tests timeout for some reason.

Those patches regularly conflict with newer changes to LLVM, blocking
the clang build. We however actually don't need to apply these reverts
to clang itself, only to llvm-symbolizer, which we build separately. So
we do that, and fix the llvm-symbolizer-trunk task to revert the new
conflicting upstream patches.

Differential Revision: https://phabricator.services.mozilla.com/D206727
2024-04-05 06:54:49 +00:00
Mike Hommey
89d3716254 Bug 1889823 - Adjust clang patches to recent upstream changes. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D206726
2024-04-05 06:54:48 +00:00
Mike Hommey
e896a829d2 Bug 1889308 - Remove proc-macro-back-compat flag. r=firefox-build-system-reviewers,ahochheiden
The flag was added because of problems building the rental crate, but
that crate hasn't been used since bug 1724747.

Differential Revision: https://phabricator.services.mozilla.com/D206458
2024-04-04 01:33:39 +00:00
Mike Hommey
733fb2d4df Bug 1851739 - Switch default target for android to x86_64 on x86_64 hosts. r=geckoview-reviewers,owlish
Differential Revision: https://phabricator.services.mozilla.com/D205760
2024-04-01 21:20:14 +00:00
Mike Hommey
913c767472 Bug 1887728 - Switch builds to macOS 14.4 SDK. r=spohl,firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D205627
2024-03-28 21:22:56 +00:00
Mike Hommey
276a489450 Bug 1888283 - Refresh config.guess and config.sub from upstream. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D205931
2024-03-28 20:58:32 +00:00
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
Mike Hommey
1a74a9f1bc Bug 1881358 - Only enable redistribution of the MSVCRT when building with clang-cl. r=firefox-build-system-reviewers,sergesanspaille
And not when building with clang, which is for mingw builds.

Differential Revision: https://phabricator.services.mozilla.com/D202355
2024-02-27 00:04:02 +00:00
Cristina Horotan
f3c06c8f30 Backed out 10 changesets (bug 1759175) for causing build bustages cocoabind related. CLOSED TREE
Backed out changeset 3d8279b62b0e (bug 1759175)
Backed out changeset fa1545689826 (bug 1759175)
Backed out changeset 00b28a515e8d (bug 1759175)
Backed out changeset 40dfe0d499df (bug 1759175)
Backed out changeset acde6c99092c (bug 1759175)
Backed out changeset e6d83c21eadc (bug 1759175)
Backed out changeset b34e196120aa (bug 1759175)
Backed out changeset 45a2a256b9d4 (bug 1759175)
Backed out changeset 4aba1755a610 (bug 1759175)
Backed out changeset 68d2d1abab21 (bug 1759175)
2024-02-26 23:35:36 +02:00
Alex Franchuk
4cc22c966e Bug 1759175 pt1 - Repository integration r=glandium,supply-chain-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D174916
2024-02-26 19:12:33 +00:00
Alexandre Lissy
8fa6420763 Bug 1880704 - Allow downloading Snap package from mozilla-central r=mboldan
Differential Revision: https://phabricator.services.mozilla.com/D202338
2024-02-26 13:29:08 +00:00
serge-sans-paille
d07a1a5ec5 Bug 1879120 - Remove all python deprecation warning: invalid escape sequence r=ahochheiden,webdriver-reviewers,perftest-reviewers,afinder UPGRADE_NSPR_RELEASE
Differential Revision: https://phabricator.services.mozilla.com/D201012
2024-02-26 08:26:38 +00:00
Narcis Beleuzu
7eae8c1064 Backed out 16 changesets (bug 1770944) as req by asuth.
Backed out changeset 61af32f40777 (bug 1770944)
Backed out changeset 4ff0c45db93b (bug 1770944)
Backed out changeset 8a217eff7bcd (bug 1770944)
Backed out changeset 6435f48c96bf (bug 1770944)
Backed out changeset 0d2432765ca0 (bug 1770944)
Backed out changeset 58e02566db85 (bug 1770944)
Backed out changeset 0a8c4c2460ee (bug 1770944)
Backed out changeset 9416bafd9982 (bug 1770944)
Backed out changeset 79de4f83fe2e (bug 1770944)
Backed out changeset 63ac518aceb0 (bug 1770944)
Backed out changeset 14952f872b77 (bug 1770944)
Backed out changeset f65e0967ad75 (bug 1770944)
Backed out changeset bd53c42038f7 (bug 1770944)
Backed out changeset 36c378ba8212 (bug 1770944)
Backed out changeset 9ba54ab06348 (bug 1770944)
Backed out changeset fb5a54b3cbe9 (bug 1770944)
2024-02-23 21:11:08 +02:00
Artur Iunusov
b82ab75625 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-02-22 10:13:16 +00:00
serge-sans-paille
93c6e276e8 Bug 1879837 - silent out orderfile warning on Windows r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D202300
2024-02-22 08:19:44 +00:00
Mike Hommey
cf08887328 Bug 1880929 - Drop support for VS 2017. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202188
2024-02-22 00:53:52 +00:00
Mike Hommey
6774898a0c Bug 1880919 - Add missing bits to build Firefox to the vs2022 toolchain. r=firefox-build-system-reviewers,sergesanspaille
Namely, the arm64 CRT and ASAN support.

Differential Revision: https://phabricator.services.mozilla.com/D202183
2024-02-22 00:53:26 +00:00
Mike Hommey
655173b75a Bug 1880919 - Refresh Visual Studio artifacts. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D202182
2024-02-22 00:53:26 +00:00
Mike Hommey
ab92757f36 Bug 1880941 - Remove build/win*/mozconfig.vs*. r=firefox-build-system-reviewers,sergesanspaille
They don't do anything useful anymore.

Differential Revision: https://phabricator.services.mozilla.com/D202193
2024-02-21 22:18:11 +00:00
Mike Hommey
5f6db47218 Bug 1880941 - Remove target from mozconfig.vs2019. r=firefox-build-system-reviewers,sergesanspaille
It's redundant with browser/config/mozconfigs/win32/common-win32

Differential Revision: https://phabricator.services.mozilla.com/D202192
2024-02-21 22:18:10 +00:00
Mike Hommey
c7fe957839 Bug 679359 - Autodetect WIN32_REDIST_DIR. r=firefox-build-system-reviewers,sergesanspaille,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D202191
2024-02-21 22:18:10 +00:00
Stephen A Pohl
530dbf112d Bug 1854868: Remove the use of update-settings.ini on macOS and query the accepted MAR channels from the macOS Framework instead. r=bytesized
Differential Revision: https://phabricator.services.mozilla.com/D189488
2024-02-21 18:50:32 +00:00
Mike Hommey
6f2b9826af Bug 1880207 - Remove parts of Windows mozconfigs redundant with configure defaults. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D201792
2024-02-21 00:38:31 +00:00
Sandor Molnar
be27c149eb Backed out 16 changesets (bug 1770944) for causing asan failures @ dom/base/InProcessBrowserChildMessageManager.cpp
Backed out changeset b73885731e73 (bug 1770944)
Backed out changeset 23d0dc98eb51 (bug 1770944)
Backed out changeset 15661e24d8e1 (bug 1770944)
Backed out changeset 97aa839dc200 (bug 1770944)
Backed out changeset 0d4318bf3239 (bug 1770944)
Backed out changeset be28bb62e9f3 (bug 1770944)
Backed out changeset 708b2671410e (bug 1770944)
Backed out changeset 0a138f3b56b9 (bug 1770944)
Backed out changeset 3a149ef794c2 (bug 1770944)
Backed out changeset 4b6ae7dd0e69 (bug 1770944)
Backed out changeset e3960ad85182 (bug 1770944)
Backed out changeset 9ea253525227 (bug 1770944)
Backed out changeset 1828b66c2f7c (bug 1770944)
Backed out changeset 55b0886f9025 (bug 1770944)
Backed out changeset a4197071d10a (bug 1770944)
Backed out changeset 9b18524f541e (bug 1770944)
2024-02-20 20:34:55 +02:00
Artur Iunusov
c4a7adae53 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-02-20 16:53:25 +00:00
Ryan VanderMeulen
a5a6bab9d7 Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-20 14:10:07 +00:00
Cristian Tuns
3491328262 Backed out 5 changesets (bug 1822171) for causing Android failures with "Uncaught exception: Traceback (most recent call last)" CLOSED TREE
Backed out changeset cedd2977706a (bug 1822171)
Backed out changeset ba5550494437 (bug 1822171)
Backed out changeset 126552a59648 (bug 1822171)
Backed out changeset 072153b2a9fe (bug 1822171)
Backed out changeset 577745e56c02 (bug 1822171)
2024-02-19 15:05:47 -05:00
Ryan VanderMeulen
ba1657eb48 Bug 1822171 - Update NDK to r26c. r=geckoview-reviewers,m_kato
Differential Revision: https://phabricator.services.mozilla.com/D202074
2024-02-19 16:09:51 +00:00
Iulian Moraru
89778a1b12 Backed out changeset 66aeec0a8589 (bug 1880207) for causing spidermonkey build bustages. CLOSED TREE 2024-02-15 10:52:28 +02:00
Mike Hommey
99bb6d396b Bug 1879242 - Make --enable-bootstrap=something properly prioritize the bootstrapped toolchain. r=firefox-build-system-reviewers,sergesanspaille
At the same time, add more extensive bootstrap unit tests.

Differential Revision: https://phabricator.services.mozilla.com/D201791
2024-02-15 08:05:28 +00:00
Mike Hommey
e0f3635dd2 Bug 1880207 - Remove parts of Windows mozconfigs redundant with configure defaults. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D201792
2024-02-15 08:04:35 +00:00