Commit graph

11648 commits

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