Commit Graph

11061 Commits

Author SHA1 Message Date
Gabriele Svelto
4eb991d08e Bug 1872920 - Change the way we identify the parent process a=diannaS
Original Revision: https://phabricator.services.mozilla.com/D199353

Differential Revision: https://phabricator.services.mozilla.com/D202913
2024-02-28 19:57:14 +00:00
Sebastian Hengst
a9239f3eec Bug 1874627 - regenerate expiring test certificates for 2024 (branch patch), this time with certificates included. r=jschank a=test-only
* the certificates were regenerated using `./mach generate-test-certs`
* the build/pgo/certs/ changes were made using
  `./mach python build/pgo/genpgocert.py`
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were
  updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js needed manual
  updating

These certificates and other test artifacts will now expire in 2025.

Differential Revision: https://phabricator.services.mozilla.com/D199156
2024-02-05 19:30:23 +01:00
Dana Keeler
afaf0a856f Bug 1874627 - regenerate expiring test certificates for 2024 (branch patch) r=jschanck a=pascalc
* the certificates were regenerated using `./mach generate-test-certs`
* the build/pgo/certs/ changes were made using
  `./mach python build/pgo/genpgocert.py`
* the zip files in security/manager/ssl/tests/unit/test_signed_apps/ were
  updated per the directions in the corresponding moz.build file
* security/manager/ssl/tests/unit/test_cert_override_read.js needed manual
  updating

These certificates and other test artifacts will now expire in 2025.

Test Plan:
https://treeherder.mozilla.org/jobs?repo=try&revision=04e3780551b5e83a70b51acd84e1b3383a249f14

Differential Revision: https://phabricator.services.mozilla.com/D199156
2024-01-20 00:28:42 +00:00
Malte Juergens
dea845ea78 Bug 1855734 - Use innermost nested URI in PopulateTopLevelInfoFromURI a=RyanVM
Original Revision: https://phabricator.services.mozilla.com/D190468

Differential Revision: https://phabricator.services.mozilla.com/D193277
2023-11-21 00:51:32 +00:00
Mike Hommey
e997d18600 Bug 1847101 - Define WORDS_BIGENDIAN when targeting big endians. r=firefox-build-system-reviewers,ahochheiden, a=RyanVM
Some third party code (cairo, pixman, some media libs) rely on this
define being set. When they are built standalone, they get it from
autoconf, but we don't run their configure scripts, so that's missed.

Differential Revision: https://phabricator.services.mozilla.com/D185351
2023-08-09 22:25:07 +00:00
Mike Hommey
ca7cd49f34 Bug 1840931 - More properly handle files > 4GB in elfhack. r=gsvelto, a=RyanVM
I'm pretty sure there are other theoretical problems in the code,
notably when a single section is larger than 4GB, but by the time
we reach that limit, bug 1839740 will have been fixed.

Differential Revision: https://phabricator.services.mozilla.com/D182447
2023-06-29 19:56:20 +00:00
donal meehan
197ac9ad9d No bug - post beta 6, unset EARLY_BETA_OR_EARLIER. a=me 2023-06-16 08:13:48 -04:00
Mike Hommey
ae345270da Bug 1837086 - Properly pass -pie when linking. r=firefox-build-system-reviewers,sergesanspaille, a=dmeehan
There was a syntax error introduced in bug 1796380 that removed the flag
entirely. In practice, it didn't make a difference for us because clang
now defaults to PIE, but it can make a difference in environments where
the compiler is not using such a default.

However, on both Darwin and WASI, clang complains the flag is unused, so
we have to do something about it.

Differential Revision: https://phabricator.services.mozilla.com/D180279
2023-06-08 05:59:21 +00:00
Mike Hommey
5fc3f9a336 Bug 1836020 - Patch llvm-strip to strip as much as cctools's strip. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D179636
2023-06-02 23:47:53 +00:00
Mike Hommey
7f9189e866 Bug 1836412 - Replace oslog with a dummy crate. r=janerik,supply-chain-reviewers
It's only used by glean in code that is not actually used. It allows to
remove the only use of dashmap, which is a rather complex crate.

Differential Revision: https://phabricator.services.mozilla.com/D179747
2023-06-02 21:42:02 +00:00
Mike Hommey
25a2da729c Bug 1836402 - Disable clap default features in uniffi-bindgen-gecko-js. r=bdk,supply-chain-reviewers
The tool is not directly user visible, and it's not super useful for
features like color to be enabled.

Differential Revision: https://phabricator.services.mozilla.com/D179742
2023-06-02 21:40:30 +00:00
Butkovits Atila
0a47281515 Backed out changeset fb52e6ee18c6 (bug 1714690) for causing bustages at complaining about charmap. CLOSED TREE 2023-06-02 02:23:24 +03:00
vax-r
67513fa535 Bug 1714690 - Remove usages of "six" in build/RunCbindgen.py. r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D178515
2023-06-01 20:13:27 +00:00
Mike Hommey
e97e5246fd Bug 1834436 - Upgrade minimum supported GCC version to 8. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178736
2023-06-01 20:09:19 +00:00
Mike Hommey
c6281d6814 Bug 1835431 - Handle hardlinks when unpacking a SDK. r=gsvelto
Differential Revision: https://phabricator.services.mozilla.com/D179281
2023-05-31 22:24:34 +00:00
Mike Hommey
53bcd833e1 Bug 1835708 - Upgrade mercurial to 6.4.3 in docker images. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D179392
2023-05-30 20:51:50 +00:00
Mike Hommey
4ae64cc3df Bug 1835717 - Disable _FORTIFY_SOURCE by setting it to 0 rather than undefining it. r=tjr
Clang 17 made a change that made it an error to undefine _FORTIFY_SOURCE
on mac, because it's defined as a builtin when ASAN is enabled.
Defining it as 0 has the same effect of disabling it, but avoids the
error.

Differential Revision: https://phabricator.services.mozilla.com/D179398
2023-05-30 19:59:29 +00:00
Botond Ballo
6c66902ec0 Bug 1835696 - Handle DependentNameTypeLoc in MozsearchIndexer. r=asuth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D179402
2023-05-29 23:48:49 +00:00
Botond Ballo
9af5a6e19a Bug 1835694 - Factor out a helper function for handling heuristic results in MozsearchIndexer. r=asuth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D179401
2023-05-29 23:43:42 +00:00
Mike Hommey
62f7b36735 Bug 1834707 - Update builders to clang 16.0.4. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178907
2023-05-29 22:31:34 +00:00
Ryan VanderMeulen
bd25a9e6ea Bug 1835676 - Update gcc11 to version 11.4. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D179374
2023-05-29 21:07:56 +00:00
Mike Hommey
fd126d15a5 Bug 1834955 - Upgrade minimum supported Clang-cl version to 9. r=firefox-build-system-reviewers,sergesanspaille
We have less constraints on the minimum supported clang-cl version, and
it would unlock C++17 inline variables (which had a bug on Windows
targets in clang up-to 8.x).

Differential Revision: https://phabricator.services.mozilla.com/D179037
2023-05-29 20:31:08 +00:00
Mike Hommey
cf6909d677 Bug 1835428 - Do config.sub munging in a more generic way. r=firefox-build-system-reviewers,nalexander
This will allow to add other munging more easily in the future.

Differential Revision: https://phabricator.services.mozilla.com/D179280
2023-05-29 20:29:25 +00:00
Botond Ballo
11e68ffe93 Bug 1621789 - Handle DependentScopeDeclRefExpr in MozsearchIndexer. r=andi
Differential Revision: https://phabricator.services.mozilla.com/D179326
2023-05-29 16:16:47 +00:00
Sylvestre Ledru
e11a9df047 no bug - doc/rust: fix some 404 DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D179205
2023-05-28 16:39:41 +00:00
Mike Hommey
543f3e05c0 Bug 1835189 - Make TARGET_OS in the build system mean the same as target.os in configure. r=firefox-build-system-reviewers,nalexander
The situation is confusing enough.

Eventually, we'll want to have TARGET_FOO mean the same as target.foo,
but let's start with the easy one.

Differential Revision: https://phabricator.services.mozilla.com/D179178
2023-05-26 22:55:28 +00:00
Mike Hommey
99720f5500 Bug 1835239 - Make the new -Wbuiltin-macro-redefined warning a non-error. r=firefox-build-system-reviewers,sergesanspaille
... until we fix the underlying issues.

Differential Revision: https://phabricator.services.mozilla.com/D179197
2023-05-26 19:36:15 +00:00
Mike Hommey
463113cd50 Bug 1796380 - Remove -Qunused-arguments flag. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178734
2023-05-26 08:53:41 +00:00
Mike Hommey
1ccf25b93b Bug 1796380 - Don't add -pie to LDFLAGS on mac. r=firefox-build-system-reviewers,sergesanspaille
It's the default and clang complains the argument is unused.

Differential Revision: https://phabricator.services.mozilla.com/D178733
2023-05-26 08:53:41 +00:00
Chris Peterson
ed58e665fe Bug 1791961 - Re-enable C++20 -Wambiguous-reversed-operator warnings. r=firefox-build-system-reviewers,glandium
clang only reports these warnings when compiling with -std=c++20.

Depends on D179025

Differential Revision: https://phabricator.services.mozilla.com/D179026
2023-05-26 04:51:45 +00:00
Botond Ballo
2d6051aa5b Bug 1834859 - Handle fields in VisitCXXDependentScopeMemberExpr. r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D179182
2023-05-26 03:37:25 +00:00
Mike Hommey
ba66f762bd Bug 1834937 - Remove test that relies on void* deref in TestCanRunScript.cpp. r=andi
clang 17 is making void* deref a non-disablable error, and this tests
relies on the deref "error" being disablable. Arranging things to make
it not deref makes not different from test_ref_9, so remove it.

Differential Revision: https://phabricator.services.mozilla.com/D179031
2023-05-25 19:19:22 +00:00
Benjamin Beurdouche
3b5631e630 Bug 1821434 - land NSS NSS_3_90_BETA1 UPGRADE_NSS_RELEASE, r=nkulatova
Differential Revision: https://phabricator.services.mozilla.com/D179063
2023-05-25 12:00:46 +00:00
Mike Hommey
04d95a11e2 Bug 1833998 - Switch Firefox builds to macOS 13.3 SDK. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178500
2023-05-25 09:48:54 +00:00
Mike Hommey
63148715c6 Bug 1834446 - Move otool detection to python configure. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178750
2023-05-24 21:27:03 +00:00
Mike Hommey
6bd39b79a5 Bug 1834446 - Move install-name-tool detection to python configure. r=firefox-build-system-reviewers,andi
At the same time, fix the sole use of the tool to actually use what's
found by configure, and only enable that configure check when building
Spidermonkey standalone.

And while we're here, add llvm-install-name-tool to the list.

Differential Revision: https://phabricator.services.mozilla.com/D178749
2023-05-24 21:27:03 +00:00
Mike Hommey
95ed7c89c4 Bug 1834446 - Remove check for lipo. r=firefox-build-system-reviewers,sergesanspaille
Nothing in the build system is using it anymore. It is still used on some
taskcluster tasks, but those are outside the build system.

Differential Revision: https://phabricator.services.mozilla.com/D178748
2023-05-24 21:27:03 +00:00
Mike Hommey
f1618ae8eb Bug 1834446 - Find dsymutil in the clang directory automatically. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178747
2023-05-24 21:27:03 +00:00
Iulian Moraru
a4fd6daad3 Backed out changeset 26904179b913 (bug 1832022) for causing multiple crashes related to nsCOMPtr. CLOSED TREE 2023-05-23 21:53:07 +03:00
serge-sans-paille
41ac11b6d4 Bug 1832022 - Reset to default -import-instr-limit threshold r=glandium
The compiler may be imperfect but it evolves, and hard-coded threshold
don't. Plus according to prefherder, the impact on size is within
reasonable bounds.

Differential Revision: https://phabricator.services.mozilla.com/D178152
2023-05-23 12:15:48 +00:00
Mike Hommey
1ff5f4f2af Bug 1834001 - Remove VS 2017 toolchain. r=firefox-build-system-reviewers,sergesanspaille
Differential Revision: https://phabricator.services.mozilla.com/D178501
2023-05-23 03:00:02 +00:00
Mike Hommey
ed40b2cd61 Bug 1833995 - Add a script to explore the Apple software update catalog. r=firefox-build-system-reviewers,gsvelto,sergesanspaille
and a doc on how to use it to find SDKs.

Differential Revision: https://phabricator.services.mozilla.com/D178497
2023-05-23 00:16:41 +00:00
Mike Hommey
c95c96ee73 Bug 1833958 - Upgrade minimum supported Clang version to 7. r=firefox-build-system-reviewers,sergesanspaille
Per
https://glandium.github.io/firefox-linux-compat-matrix/#scope=build&version=115&show_eol=false
this leaves out Ubuntu 16.04, which hasn't built a newer version of
Firefox since version 88.0, and SUSE SLE-12-SP4, which goes EOL next
month, so before 115 is released.

Differential Revision: https://phabricator.services.mozilla.com/D178485
2023-05-22 23:07:29 +00:00
Botond Ballo
a05bbb7251 Bug 1833272 - Handle templated heuristic results in VisitCXXDependentScopeMemberExpr. r=asuth DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178258
2023-05-22 19:14:10 +00:00
Narcis Beleuzu
3eca53acc3 Backed out changeset e2e3b5157913 (bug 1834071) for python failures 2023-05-22 17:40:38 +03:00
Emilio Cobos Álvarez
90a78fbbbb Bug 1834071 - Allow disabling thread-safety analysis. r=firefox-build-system-reviewers,sergesanspaille
This doesn't change behavior, it just adds an option to disable
thread-safety analysis in local builds. I want to measure it in
different machines, and this would be useful for that. It's also useful
to workaround stuff like bug 1833676 which causes my builds to OOM
frequently.

Differential Revision: https://phabricator.services.mozilla.com/D178540
2023-05-22 13:58:39 +00:00
Botond Ballo
79288aaf4a Bug 1833072 - Use clangd's full HeuristicResolver implementation. r=asuth,sylvestre DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D178122
2023-05-22 08:26:14 +00:00
Mark Banner
2a53076d43 Bug 1826063 - Automatic fixes for enabling Prettier on production xhtml and html files. r=mossop,webdriver-reviewers,webcompat-reviewers,geckoview-reviewers,extension-reviewers,settings-reviewers,application-update-reviewers,credential-management-reviewers,fxview-reviewers,sgalich,nalexander,devtools-reviewers,sclements,denschub,robwu,owlish
Differential Revision: https://phabricator.services.mozilla.com/D177938
2023-05-20 12:26:56 +00:00
Mike Hommey
5b8d15821d Bug 1829051 - Add clang path to $PATH during the build for mac builds. r=firefox-build-system-reviewers,andi
While here, replace the manual split of os.environ["PATH"] with
original_path, which is the same thing.

Differential Revision: https://phabricator.services.mozilla.com/D178408
2023-05-18 21:31:03 +00:00
Mike Hommey
71bcf54e47 Bug 1832700 - Set MSVS_VERSION according to the MSVC version. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D177836
2023-05-15 21:56:37 +00:00