Commit Graph

11604 Commits

Author SHA1 Message Date
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