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

5874 Коммитов

Автор SHA1 Сообщение Дата
Mike Hommey e7c54fc571 Bug 1751331 - Remove MOZ_DIST. r=firefox-build-system-reviewers,mhentges
As mentioned in bug 1747354, the location of the dist directory is
relied to be $topobjdir/dist, so just use that consistently rather
than getting it from a separate variable for rust build scripts.

Differential Revision: https://phabricator.services.mozilla.com/D136556
2022-01-25 21:29:49 +00:00
criss 592389ca2d Backed out 10 changesets (bug 1751331) for causing bustages. CLOSED TREE
Backed out changeset 5ce212465a26 (bug 1751331)
Backed out changeset 14d62b8ffa5a (bug 1751331)
Backed out changeset 76f46bd9afa1 (bug 1751331)
Backed out changeset 147faaad046f (bug 1751331)
Backed out changeset f85b049d12f9 (bug 1751331)
Backed out changeset 16d8d3f8378b (bug 1751331)
Backed out changeset 1cd9386a3927 (bug 1751331)
Backed out changeset 20faacba6db6 (bug 1751331)
Backed out changeset 7d17f75bcb38 (bug 1751331)
Backed out changeset 28b9aab1f174 (bug 1751331)
2022-01-25 13:00:25 +02:00
Mike Hommey 5999e70213 Bug 1751331 - Remove MOZ_DIST. r=firefox-build-system-reviewers,mhentges
As mentioned in bug 1747354, the location of the dist directory is
relied to be $topobjdir/dist, so just use that consistently rather
than getting it from a separate variable for rust build scripts.

Differential Revision: https://phabricator.services.mozilla.com/D136556
2022-01-25 09:03:01 +00:00
Jan de Mooij 844557ace1 Bug 1749665 part 3 - Replace atomic operation stubs with inline assembly. r=lth
Goal of this patch is to allow disabling all JIT codegen in certain Firefox processes
to let us enable more security mitigations. The JS VM uses the atomic operation stubs
we compile at runtime so this patch converts those to inline assembly instead.

This adds a Python script to generate a header file that has all the inline assembly code.
The inline assembly instructions are based on the JIT-compiled trampoline code.

The generated header is used for all x86/x64/arm32/arm64 builds, so this now includes
no-JIT builds as well.

Differential Revision: https://phabricator.services.mozilla.com/D135984
2022-01-24 09:11:50 +00:00
Iulian Moraru 4d6f01e19a Backed out 5 changesets (bug 1749665) for causing hazard failures. CLOSED TREE
Backed out changeset 750012d34b73 (bug 1749665)
Backed out changeset 7a30186c853a (bug 1749665)
Backed out changeset 1942703cc665 (bug 1749665)
Backed out changeset 012177f72587 (bug 1749665)
Backed out changeset e02c59ccee17 (bug 1749665)
2022-01-24 00:05:05 +02:00
Jan de Mooij 34ed6f1cab Bug 1749665 part 3 - Replace atomic operation stubs with inline assembly. r=lth
Goal of this patch is to allow disabling all JIT codegen in certain Firefox processes
to let us enable more security mitigations. The JS VM uses the atomic operation stubs
we compile at runtime so this patch converts those to inline assembly instead.

This adds a Python script to generate a header file that has all the inline assembly code.
The inline assembly instructions are based on the JIT-compiled trampoline code.

The generated header is used for all x86/x64/arm32/arm64 builds, so this now includes
no-JIT builds as well.

Differential Revision: https://phabricator.services.mozilla.com/D135984
2022-01-23 16:47:17 +00:00
Mitchell Hentges 0116a8d491 Bug 1748737: Update deprecated pytest code r=webdriver-reviewers,ahal,whimboo
`pytest` is about to be upgraded, so this patch resolves a bunch of the
issues currently blocking the upgrade.
Most changes done in this patch are described in the "deprecations" page
on the pytest docs:
https://docs.pytest.org/en/latest/deprecations.html#using-class-in-custom-collectors

One undocumented change is that defining a pytest argument as the same name as an
in-scope, imported fixture function, will no longer use that imported function.

Differential Revision: https://phabricator.services.mozilla.com/D136537
2022-01-21 18:21:55 +00:00
Christian Holler 6a7cccb953 Bug 1747298 - Use CXX for Cargo linking when necessary. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D135219
2022-01-11 11:26:39 +00:00
Iulian Moraru 30ccf11d2e Backed out changeset 30fb33fe9ec3 (bug 1747298) for causing multiple mochitest failures. CLOSED TREE 2022-01-11 13:14:36 +02:00
Christian Holler 7db161c99e Bug 1747298 - Use CXX for Cargo linking when necessary. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D135219
2022-01-11 09:31:31 +00:00
Mozilla Releng Treescript b1c26ef50c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2022-01-10 17:50:37 +00:00
Yoshi Cheng-Hao Huang d0dc9adda0 Bug 1748605 - Remove unused icu headers from check_spidermonkey_style.py. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D135107
2022-01-05 21:40:31 +00:00
Mike Hommey 2bd5e115bb Bug 1647542 - Work around wasm2c build failure when cross-compiling on Windows. r=firefox-build-system-reviewers,nalexander
Differential Revision: https://phabricator.services.mozilla.com/D135018
2022-01-05 00:47:56 +00:00
Mike Hommey 1acc37c7a6 Bug 1747756 - Move Windows system libraries from LIBS to moz.build. r=firefox-build-system-reviewers,mhentges
While mingw builds don't require user32 and advapi32 explicitly, it doesn't
hurt for them to be there (and they're required for clang-cl build).
Likewise, while clang-builds don't require uuid and userenv explicitly
because they're pulled in via #pragmas in the source code, mingw doesn't
support those #pragmas and needs them explicitly, which doesn't hurt the
clang-cl builds.

Differential Revision: https://phabricator.services.mozilla.com/D134737
2021-12-30 20:56:43 +00:00
Mike Hommey 73230b8c3e Bug 1744234 - Bump minimum Rust version to 1.57. r=firefox-build-system-reviewers,andi
Also update the table of Firefox requirements. It's worth noting that I
actually upgraded to 1.57 earlier than I should have (too close to
freeze), but what is done is done.

Differential Revision: https://phabricator.services.mozilla.com/D134124
2021-12-17 08:37:39 +00:00
Mike Hommey 72f163f712 Bug 1745079 - Remove INCREMENTAL_LINKER. r=firefox-build-system-reviewers,andi
It was only relevant with the MSVC linker, which we don't use anymore.

Differential Revision: https://phabricator.services.mozilla.com/D133296
2021-12-10 03:27:27 +00:00
Mike Hommey 95c3b50cea Bug 1745074 - Remove unused FILTER and IMPLIB substs. r=firefox-build-system-reviewers,andi
They are leftover from the long-gone OS/2 support.

Differential Revision: https://phabricator.services.mozilla.com/D133293
2021-12-10 03:27:26 +00:00
Mike Hommey 0343b1d227 Bug 1745069 - Remove MOZ_WEBM_ENCODER. r=bryce
It's always on and unsetting it manually in old-configure.in leads to a
busted build.

Differential Revision: https://phabricator.services.mozilla.com/D133287
2021-12-10 03:27:26 +00:00
shravanrn@gmail.com 7079358631 Bug 1744460 part 2 - Update woff2 RLBoxSandboxPool to track minimum sandbox size r=bholley
Depends on D133009

Differential Revision: https://phabricator.services.mozilla.com/D133158
2021-12-09 00:01:17 +00:00
Butkovits Atila 6ffe112d27 Backed out 2 changesets (bug 1744460) for causing build bustages at RLBoxSandboxPool.cpp. CLOSED TREE
Backed out changeset 582101d582a0 (bug 1744460)
Backed out changeset dba7b7c19b2f (bug 1744460)
2021-12-08 21:57:58 +02:00
shravanrn@gmail.com 8001ccc0fd Bug 1744460 part 2 - Update woff2 RLBoxSandboxPool to track minimum sandbox size r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D133158
2021-12-08 17:55:16 +00:00
Mozilla Releng Treescript a97268ae9e Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-12-06 19:18:29 +00:00
Mike Hommey e9ae64eacd Bug 1743539 - Remove -single_module from linker flags on mac. r=firefox-build-system-reviewers,mhentges
It is the default. It has been the default since at least Xcode 2.2,
from 2005. ld64 doesn't say anything, but lld warns about it.

Differential Revision: https://phabricator.services.mozilla.com/D132447
2021-11-30 21:39:50 +00:00
Deian Stefan 1ee9a841d8 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 23:30:49 +00:00
Cristian Tuns f0ef0360eb Backed out changeset d486edc7499b (bug 1732201) for causing web-platform-tests failures on header-totalsfntsize-001.xht CLOSED TREE 2021-11-27 07:32:22 -05:00
Deian Stefan 0a5e1f2075 Bug 1732201 - Sandbox woff2 in OTS using RLBox r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D126435
2021-11-27 04:41:21 +00:00
Mike Hommey bb2a47feb5 Bug 1742910 - Work around https://github.com/rust-lang/rust/issues/90045. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D132111
2021-11-25 21:07:45 +00:00
Sylvestre Ledru 70be2344fc Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=ahal,webdriver-reviewers,perftest-reviewers,whimboo,gerard-majax,alexandru.irimovici
This changed with this:
https://github.com/psf/black/pull/1740

Depends on D130964

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-22 22:10:03 +00:00
Deian Stefan 86e82e1036 Bug 1688452 - Retrofit nsExpatDriver to use RLBoxed libexpat r=tjr,peterv,bholley,glandium
Differential Revision: https://phabricator.services.mozilla.com/D104658
2021-11-22 06:19:17 +00:00
Sandor Molnar 51a05715fe Backed out changeset 4294063f1606 (bug 1688452) for causing mochitest and wpt failures. CLOSED TREE 2021-11-20 13:00:27 +02:00
Deian Stefan fcd2e09518 Bug 1688452 - Retrofit nsExpatDriver to use RLBoxed libexpat r=tjr,peterv,bholley,glandium
Differential Revision: https://phabricator.services.mozilla.com/D104658
2021-11-19 21:28:53 +00:00
Alexandru Michis d4f3d0994e Backed out changeset 7893bbd002e0 (bug 1688452) for causing bustages in nsRLBoxExpatDriver.
CLOSED TREE
2021-11-19 15:54:31 +02:00
Deian Stefan 76c5d8907d Bug 1688452 - Retrofit nsExpatDriver to use RLBoxed libexpat r=tjr,peterv,bholley,glandium
Differential Revision: https://phabricator.services.mozilla.com/D104658
2021-11-19 06:08:36 +00:00
Shravan Narayan b09e58929d Bug 1742032 - Update rlbox to correctly support re-entrancy across multiple sandbox instances r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D131582
2021-11-19 04:39:12 +00:00
june wilde 420b1ebb70 Bug 1730394 - Use vendoring url in mach vendor and update moz.yamls accordingly; r=tjr
Depends on D124799

Differential Revision: https://phabricator.services.mozilla.com/D125337
2021-11-18 16:48:51 +00:00
Yoshi Cheng-Hao Huang dc0595c868 Bug 1741564 - Add icu4x dir in config/external/moz.build. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D131327
2021-11-17 20:22:45 +00:00
André Bargull d814742408 Bug 1738422 - Part 2: Update in-tree ICU to release 70.1. r=platform-i18n-reviewers,dminor
Update to ICU 70.1 by running "update-icu.sh" with "maint/maint-70" as the target.

Differential Revision: https://phabricator.services.mozilla.com/D129924
2021-11-16 17:02:38 +00:00
Greg Tatum 0f0b78cc1d Bug 1736907 - Add a build flag to experimentally build with ICU4X static data; r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D129080
2021-11-16 15:09:09 +00:00
Andi-Bogdan Postelnicu 1faa3d40cf Bug 1519636 - Reformat recent changes to the Google coding style. r=firefox-build-system-reviewers,mhentges,sylvestre
Reformat with clang-format version 12.0.1 (taskcluster-FYV2l5wGTseBAhiqf8cxfQ)

Differential Revision: https://phabricator.services.mozilla.com/D131114
2021-11-16 08:07:29 +00:00
Iulian Moraru 897bb9d353 Backed out 2 changesets (bug 1707591) for causing python mozlint failures on test_yaml.py. CLOSED TREE
Backed out changeset a730ab2d0dbe (bug 1707591)
Backed out changeset 0269849fd7ef (bug 1707591)
2021-11-12 18:44:36 +02:00
Sylvestre Ledru c1b5edd8be Bug 1707591 - ride along - reformat the tree with black 21.10b0 r=webdriver-reviewers,whimboo,gerard-majax
This changed with this:
https://github.com/psf/black/pull/1740

Differential Revision: https://phabricator.services.mozilla.com/D130965
2021-11-12 15:06:56 +00:00
shravanrn@gmail.com 6314f91304 Bug 1740187 - Annotate crash reports with rlbox sandbox malloc failures r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D130727
2021-11-10 00:03:25 +00:00
shravanrn@gmail.com 8288a5976f Bug 1739762 - Update rlbox_wasm2c to support variable sized sandboxes in 32-bit platforms r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D130543
2021-11-09 07:46:11 +00:00
shravanrn@gmail.com dfca79f9ba Bug 1739298 - Configure RLBox to avoid using locks as it is only used in single threaded contexts r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D130326
2021-11-04 20:49:22 +00:00
Dan Minor 241373658c Bug 1654112 - Add Xrandr.h and XTest.h to system headers. r=ng
The Linux desktop capture code now relies on these. The build will fail at the
link stage if these are not in system header wrappers.

Differential Revision: https://phabricator.services.mozilla.com/D130090
2020-12-03 07:34:49 -05:00
Mozilla Releng Treescript 8a51c9e60d Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-11-01 16:01:18 +00:00
shravanrn@gmail.com 011ed92913 Bug 1736171 - Update wasm2c fork to fix hunspell crash when accessing top half of heap r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D129976
2021-10-31 21:28:06 +00:00
Mike Hommey e7c4b0a805 Bug 1736459 - Disable rust lto when enabling sancov. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D129482
2021-10-27 22:35:56 +00:00
Norisz Fay 51e8153e60 Backed out 5 changesets (bug 1736459) for causing Windows crashes (bug 1738034) a=backout
Backed out changeset c934eeb21692 (bug 1736459)
Backed out changeset 0b2da7db414c (bug 1736459)
Backed out changeset 798893f69a02 (bug 1736459)
Backed out changeset 2a8f412c4d08 (bug 1736459)
Backed out changeset 59eeaeafdf67 (bug 1736459)
2021-10-27 16:02:24 +03:00
shravanrn@gmail.com eb526a2eea Bug 1735935 - Configure rlbox library to call MOZ_CRASH on failure r=glandium,bholley
Differential Revision: https://phabricator.services.mozilla.com/D128544
2021-10-27 00:56:37 +00:00