Граф коммитов

1018 Коммитов

Автор SHA1 Сообщение Дата
serge-sans-paille 95a7613454 Bug 1907030 - Move some old_configure options to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216160
2024-08-15 23:27:17 +00:00
serge-sans-paille 09cc177dea Bug 1907067 - Remove AC_PROG_CC, AC_PROG_CXX and MOZ_CROSS_COMPILER from old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D216164
2024-08-15 09:39:59 +00:00
serge-sans-paille 499a5548e9 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-08-01 15:12:50 +00:00
Iulian Moraru 79f37e7fcd Backed out 2 changesets (bug 1906804, bug 1882553) for causing artifact build bustages. CLOSED TREE
Backed out changeset 47260bf5693c (bug 1882553)
Backed out changeset 16b093f86271 (bug 1906804)
2024-07-24 10:07:42 +03:00
serge-sans-paille b20b4b4303 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-07-24 05:35:34 +00:00
Cristina Horotan c3b1e4aaa2 Backed out 2 changesets (bug 1906804, bug 1882553) for causing build bustages
Backed out changeset 1c8040b6090f (bug 1882553)
Backed out changeset f9fc828b8987 (bug 1906804)
2024-07-23 09:49:15 +03:00
serge-sans-paille b647e2ff29 Bug 1882553 - Move clang plugin flag computation to python.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D203015
2024-07-23 05:47:55 +00:00
serge-sans-paille e84f42f0da Bug 1905600 - begin migration of CFLAGS, CXXFLAGS and LDFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215378
2024-07-17 23:45:25 +00:00
serge-sans-paille 31c500771f Bug 1905592 - Move ASFLAGS from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D215374
2024-07-03 19:50:06 +00:00
serge-sans-paille 4e14f3bba4 Bug 1905373 - Do not attempt to use confdefs.pytmp if it wasn't created r=glandium
If no AC_DEFINE are used, then confdefs.pytmp is never created, which
leads to bug 1905373.

This bug is a good sign, it means we're no longer using a lot of
autoconf stuff!

Differential Revision: https://phabricator.services.mozilla.com/D215240
2024-07-02 06:41:25 +00:00
serge-sans-paille ac0e662681 Bug 1903036 - Move check for libstdc++ static linkage from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213953
2024-06-28 13:59:02 +00:00
Norisz Fay 72626d385f Backed out 2 changesets (bug 1903036, bug 1903232) for causing build bustages CLOSED TREE
Backed out changeset bcc27418c8b8 (bug 1903232)
Backed out changeset 494b29d3ea18 (bug 1903036)
2024-06-28 14:35:31 +03:00
serge-sans-paille be5707afd4 Bug 1903036 - Move check for libstdc++ static linkage from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D213953
2024-06-28 11:16:39 +00:00
serge-sans-paille 47577bd50a Bug 1904789 - Move MOZ_PROGRAM_LDFLAGS from old-configure to moz.configure r=glandium
As a side effect, remove obsolete __ELF__ check on netbsd.

Differential Revision: https://phabricator.services.mozilla.com/D214934
2024-06-28 10:23:49 +00:00
serge-sans-paille a6f78b556a Bug 1899708 - Move DSO_LDOPTS old-configure references to moz.configure r=glandium
As a side effect, syndicate --enable-profile-generate option handling.

Differential Revision: https://phabricator.services.mozilla.com/D212121
2024-06-25 07:04:39 +00:00
serge-sans-paille 543905a53e Bug 1903070 - Remove unused mozprog.m4 and mozheader.m4 r=glandium
Last use of MOZ_PATH_PROG got removed by bug 1896414, and last use of
MOZ_CHECK_HEADER got removed in bug 1894951.

Differential Revision: https://phabricator.services.mozilla.com/D213986
2024-06-19 09:00:55 +00:00
serge-sans-paille c7d66816f8 Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium,geckoview-reviewers,m_kato
Also improve detection of runtime libraries as a side effect.

Differential Revision: https://phabricator.services.mozilla.com/D210196
2024-06-18 14:44:40 +00:00
serge-sans-paille e198881704 Bug 1900540 - No longer require -fno-sanitize-address-globals-dead-stripping r=glandium
The related bug was fixed in rustc 1.74, and we require 1.76.

This impacts the buildid section which gets modified by asan, so we
exclude it from the asan process through an attribute.

Differential Revision: https://phabricator.services.mozilla.com/D212532
2024-06-18 06:49:32 +00:00
Mike Hommey 309747f4ab Bug 1902214 - Don't try to convert arguments from /ARG form to -ARG form. r=firefox-build-system-reviewers,sergesanspaille
Back when this was done, we had some trouble with make calling commands
through the shell instead of via CreateProcess on Windows, which made
the intermediate shell replace /ARG with c:\path\to\msys\ARG paths,
which didn't end up well.

This however doesn't happen anymore, so we can get rid of the hack.

That leaves us with only the backslash problem, but because it's a windows
problem, rather than being related to the compiler being clang-cl, we also
fix the condition under which we make the switch to forward slashes.

Differential Revision: https://phabricator.services.mozilla.com/D213538
2024-06-14 01:59:05 +00:00
Mike Hommey b6f337c44b Bug 1902214 - Use -std:c++17 on clang-cl builds. r=firefox-build-system-reviewers,sergesanspaille
For some reason, we ended up using -Xclang -std=c++17, when we could
just have used -std:c++17, which simplifies things.

Differential Revision: https://phabricator.services.mozilla.com/D213537
2024-06-14 01:59:05 +00:00
Mike Hommey 54c79ac90e Bug 1902214 - Move clang library linkage to moz.build. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D213536
2024-06-14 01:59:04 +00:00
Mike Hommey 3bbbb618a2 Bug 1902214 - Move -flat_namespace and -undefined suppress flags out of configure. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D213535
2024-06-14 01:59:04 +00:00
Mike Hommey d88364f87d Bug 1902214 - Stop filtering out -isysroot and -gcc-toolchain. r=firefox-build-system-reviewers,sergesanspaille
-isysroot was appearing in the llvm-config output on mac in very old
clang.llvm.org builds. The latest builds don't do that anymore, and our
own bootstrapped builds don't either.

-gcc-toolchain was filtered out because we were using it to build our
own clang and that transpired in llvm-config, but we don't anymore, as
of bug 1719226.

Differential Revision: https://phabricator.services.mozilla.com/D213534
2024-06-14 01:59:04 +00:00
Mike Hommey c85392b4ef Bug 1902214 - Don't filter-out /path/to/clang/lib from LDFLAGS on mac. r=firefox-build-system-reviewers,sergesanspaille
We did that to avoid linking against clang's libc++, but that hasn't
been necessary since we removed it in bug 1788870.

Differential Revision: https://phabricator.services.mozilla.com/D213533
2024-06-14 01:59:03 +00:00
Tamas Szentpeteri 5187e73d1b Backed out changeset c2a2934db74e (bug 1900540) for causing Bp bustage related to buildid.cpp. CLOSED TREE. 2024-06-14 02:33:42 +03:00
serge-sans-paille 283e89136c Bug 1900540 - No longer require -fno-sanitize-address-globals-dead-stripping r=glandium
The related bug was fixed in rustc 1.74, and we require 1.76.

This impacts the buildid section which gets modified by asan, so we
exclude it from the asan process through an attribute.

Differential Revision: https://phabricator.services.mozilla.com/D212532
2024-06-13 15:57:07 +00:00
pstanciu bd1a1a86da Backed out changeset b2750ac1632c (bug 1900540) for causing build bustages CLOSED TREE 2024-06-13 16:49:09 +03:00
serge-sans-paille 0061b6f3c1 Bug 1900540 - No longer require -fno-sanitize-address-globals-dead-stripping r=glandium
The related bug was fixed in rustc 1.74, and we require 1.76.

This impacts the buildid section which gets modified by asan, so we
exclude it from the asan process through an attribute.

Differential Revision: https://phabricator.services.mozilla.com/D212532
2024-06-13 12:13:04 +00:00
Iulian Moraru 615e8c97ba Backed out changeset 6bdd08a7b8af (bug 1900540) for causing Gtest failures. CLOSED TREE 2024-06-12 07:28:37 +03:00
serge-sans-paille b1cad954ca Bug 1900540 - No longer require -fno-sanitize-address-globals-dead-stripping r=glandium
The related bug was fixed in rustc 1.74, and we require 1.76.

Differential Revision: https://phabricator.services.mozilla.com/D212532
2024-06-11 21:23:21 +00:00
Iulian Moraru 5944e49dc4 Backed out 3 changesets (bug 1900540, bug 1896414) for causing Gtest failures.
Backed out changeset b1e69d42bb91 (bug 1896414)
Backed out changeset 2740e0cb1ac8 (bug 1896414)
Backed out changeset 073d686a1233 (bug 1900540)
2024-06-11 22:40:58 +03:00
serge-sans-paille b7e36e86e2 Bug 1896414 - Move MOZ_ASAN checks from old.configure to moz.configure r=glandium
Also improve detection of runtime libraries as a side effect.

Differential Revision: https://phabricator.services.mozilla.com/D210196
2024-06-11 06:38:28 +00:00
serge-sans-paille cd32887438 Bug 1900540 - No longer require -fno-sanitize-address-globals-dead-stripping r=glandium
The related bug was fixed in rustc 1.74, and we require 1.76.

Differential Revision: https://phabricator.services.mozilla.com/D212532
2024-06-11 06:38:28 +00:00
serge-sans-paille c1e56449ff Bug 1896116 - Move icf check code to moz.configure r=glandium
While we're at it, also make it possible to activate icf in
developer mode, while not changing the default.

Also remove mentions to LD_PRINT_ICF_SECTIONS as it was never
referenced.

Differential Revision: https://phabricator.services.mozilla.com/D210037
2024-06-10 13:09:50 +00:00
serge-sans-paille 50b32b0a99 Bug 1897973 - Move MOZ_TOOL_VARIABLES from old-configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211090
2024-06-04 09:42:13 +00:00
serge-sans-paille 4c80e08fec Bug 1899097 - No longer use GNU_CC CLANG_CC and the likes in old-configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D211719
2024-06-04 09:42:12 +00:00
serge-sans-paille 6193636f9b Bug 1897978 - Move MOZ_ANDROID_NDK from old-configure to moz.configure r=glandium
Also remove the rustc < 1.68 hack, as we no longer support that version.

Differential Revision: https://phabricator.services.mozilla.com/D211091
2024-06-04 09:42:11 +00:00
serge-sans-paille 10060cc1ed Bug 1896413 - Move LIBFUZZER checks from old.configure to moz.configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D210195
2024-05-31 06:02:54 +00:00
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
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
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
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
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
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