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

5827 Коммитов

Автор SHA1 Сообщение Дата
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
shravanrn@gmail.com 0e49f3d498 Bug 1737718 - Configure wasm2c runtime to redirect crashes to MOZ_CRASH r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129461
2021-10-27 00:55:47 +00:00
shravanrn@gmail.com 82440ca93b Bug 1737717 - Update wasm2c to report more crash info and support crash redirection r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129460
2021-10-26 23:57:35 +00:00
shravanrn@gmail.com 2a11cb1f78 Bug 1737733 - Update rlbox wasm configuration to use direct function calls r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D128566
2021-10-26 23:41:11 +00:00
Mike Hommey e2dd5f9af6 Bug 1736459 - Disable rust lto when enabling sancov. r=truber
Differential Revision: https://phabricator.services.mozilla.com/D129482
2021-10-26 23:11:39 +00:00
Mike Hommey 9c95211ab1 Bug 1737731 - Rebuild rlbox.wasm.c when wasm2c is modified. r=firefox-build-system-reviewers,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D129459
2021-10-26 20:52:06 +00:00
André Bargull 33694d390f Bug 1737765 - Part 1: Update tzdata in ICU data files to 2021a3. r=platform-i18n-reviewers,gregtatum
Differential Revision: https://phabricator.services.mozilla.com/D129486
2021-10-26 13:50:53 +00:00
shravanrn@gmail.com 51ce33ec46 Bug 1737700 - Update rlbox_wasm2c for fallible sandbox, static linking support r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D129456
2021-10-26 03:38:11 +00:00
André Bargull 71bb35d484 Bug 1737533 - Part 1: Update tzdata in ICU data files to 2021a2. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D129370
2021-10-25 13:13:06 +00:00
Jesse Schwartzentruber f3cfbdb6aa Bug 1736485 - Update sancov flag for rustc 1.57 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D128917
2021-10-20 14:39:21 +00:00
Narcis Beleuzu 66967cc3e6 Backed out 4 changesets (bug 1733686, bug 1735935) for causing sandboxing crashes with the spellchecker (bug 1736171) . CLOSED TREE
Backed out changeset c981fa4490fe (bug 1735935)
Backed out changeset a6fef4dc35c2 (bug 1733686)
Backed out changeset d52827e69092 (bug 1733686)
Backed out changeset 29ed3620fa91 (bug 1733686)
2021-10-16 18:43:13 +03:00
shravanrn@gmail.com a0bc2bce48 Bug 1735935 - Update rlbox library and configure it to call MOZ_CRASH on failure r=glandium,bholley
Differential Revision: https://phabricator.services.mozilla.com/D128544
2021-10-15 08:07:14 +00:00
Alex Hochheiden 27d675ae70 Bug 1721208 - Added a preprocessor #define for the CPU architecture in created .res files to resolve a build breakwith with Windows SDK 10.0.22000.x. r=mhentges,glandium
On SDK versions older than 10.0.22000.x we defaulted to 128, but with
this update, Microsoft removed the default and created a compiler error
if the CPU architecture was not specified. This change explicitly
defines the CPU architecture, resolving the compiler error.

Differential Revision: https://phabricator.services.mozilla.com/D128509
2021-10-14 22:06:41 +00:00
Mike Hommey 64f94bf6c9 Bug 1735455 - Make the rlbox library a more normal library. r=firefox-build-system-reviewers,andi,mhentges
The SandoxedWasmLibrary now represents the wasm static library, which
is automatically converted to C via wasm2c. The corresponding source
is handled like a normal source, and the rlbox library is generated
as a normal GeckoSharedLibrary with no xpcom linkage.

Differential Revision: https://phabricator.services.mozilla.com/D128329
2021-10-14 21:09:29 +00:00
shravanrn@gmail.com 530a9df1f6 Bug 1734421 - Update wasm2c to support better use of 32-bit virtual space r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D127727
2021-10-12 04:54:41 +00:00
Mike Hommey 4ca51203f1 Bug 1732824 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126749
2021-10-06 08:56:32 +00:00
Mozilla Releng Treescript 19cb195529 Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-10-04 18:58:55 +00:00
Mike Hommey 5245f8491f Bug 1733545 - Remove REQUIRES_UNIFIED_BUILD from third-party directories that don't need it. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D127229
2021-10-01 09:01:27 +00:00
criss 7897dc6975 Backed out 4 changesets (bug 1728934) for causing Mochitest failures. CLOSED TREE
Backed out changeset 5e64ae0a8b00 (bug 1728934)
Backed out changeset 3538237090bf (bug 1728934)
Backed out changeset a240e5a52df4 (bug 1728934)
Backed out changeset a932fbd95f01 (bug 1728934)
2021-10-01 11:49:44 +03:00
shravanrn@gmail.com 86b9273282 Bug 1728934 Part 2 - Update rlbox,wasm2c plugin for fallible create_sandbox r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D127022
2021-10-01 07:25:03 +00:00
shravanrn@gmail.com edb3953d4b Bug 1728934 Part 1 - Update wasm2c to support better use of 32-bit virtual space r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D126878
2021-10-01 07:25:02 +00:00
Robert Mader ea68cb4546 Bug 1732443 - Remove remaining XRender leftovers,r=emilio,stransky
The few cases where we still use Xlib most likely benefit little
from Xrender. Lets drop the support for it.

Differential Revision: https://phabricator.services.mozilla.com/D126970
2021-09-30 14:14:13 +00:00
André Bargull f785b509a3 Bug 1733053 - Part 1: Update tzdata in ICU data files to 2021a1. r=platform-i18n-reviewers,dminor
Differential Revision: https://phabricator.services.mozilla.com/D126882
2021-09-30 08:32:45 +00:00
Mike Hommey fb95ccd0d4 Bug 1733017 - Remove support for INSTALL_EXTENSION_ID. r=firefox-build-system-reviewers,nalexander
Nothing uses it anymore.

Differential Revision: https://phabricator.services.mozilla.com/D126857
2021-09-29 04:04:12 +00:00
Butkovits Atila 8b745c7243 Backed out changeset 2f93c060a50c (bug 1732824) as per dev's request. CLOSED TREE 2021-09-29 04:21:35 +03:00
Robert Mader d1f9d3c317 Bug 1732436 - Link Xrandr directly instead of using dlopen, r=stransky,glandium
We already require Xrandr 1.3 inderectly through GTK3 (`>=1.2.99`).
This bumps the requirement to 1.4, which got released in 2012 and
is thus part of RHEL 7 and Ubuntu 14.04.

Differential Revision: https://phabricator.services.mozilla.com/D126581
2021-09-28 17:26:30 +00:00
Kagami Sascha Rosylight 8fa07430fe Bug 1731773 - Part 2: Add sanitizer/common_interface_defs.h to system_headers r=firefox-build-system-reviewers,glandium
Differential Revision: https://phabricator.services.mozilla.com/D126541
2021-09-28 10:54:25 +00:00
Mike Hommey f43531930b Bug 1732824 - Update wasi-sdk to the latest trunk. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D126749
2021-09-28 09:08:35 +00:00
Jeff Walden 5daf5fa679 Bug 1730275 - Move util/Windows.h to util/WindowsWrapper.h so that util/moz.build can be added in a subsequent rev without inducing <windows.h>/"Windows.h" conflicts. r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D125902
2021-09-17 17:57:35 +00:00
shravanrn@gmail.com b4ac64edc4 Bug 1729232 - Update wasm2c rt to ensure correct hunspell timeout r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D125025
2021-09-09 07:40:38 +00:00
shravanrn@gmail.com 7eb566a244 Bug 1727266 - Vendor latest wasm2c rt for correct 32-bit wasi clock handling r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D124308
2021-09-09 07:40:38 +00:00
Mike Hommey 4e8e23f4e8 Bug 1729383 - Simplify the parallel build setup. r=firefox-build-system-reviewers,mhentges
Historically, client.mk was not invoked with -jn because it would create
race conditions, but that was actually mostly solved by the addition of
`.NOTPARALLEL` in bug 422986, although the mechanism of adding -jn via
`MOZ_MAKE_FLAGS` or `MOZ_PARALLEL_BUILD` has continued well past that.

Nowadays, client.mk is only invoked by mach (it will even bail out if
that's not the case) and only has one target (`build`) and no
dependencies.

This means we don't need to rely on `MOZ_PARALLEL_BUILD` to pass `-jn` in
some cases, and can just always invoke `make -f client.mk` with `-jn`, even
when we just want no parallelism, in which case we can use `-j1`.

This, in turn, allows to remove the extra allow_parallel argument to
`_run_make`, and only rely on `num_jobs`, and to remove some of the
multiple ways the `n` in `-jn` could be set.

Differential Revision: https://phabricator.services.mozilla.com/D124729
2021-09-08 00:10:22 +00:00
Mozilla Releng Treescript 781375a23c Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2021-09-06 13:14:48 +00:00
Andreea Pavel 27b5d96d4e Backed out 3 changesets (bug 1727266, bug 1727678) for causing crashtest failures on a CLOSED TREE
Backed out changeset e0132512d73b (bug 1727678)
Backed out changeset 2422edf5bb2f (bug 1727266)
Backed out changeset 210ffc911429 (bug 1727266)
2021-09-02 15:06:26 +03:00
shravanrn@gmail.com 4df03184cb Bug 1727266 - Vendor latest wasm2c rt for correct 32-bit wasi clock handling r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D124308
2021-09-02 06:45:41 +00:00
Dzmitry Malyshau c196398803 Bug 1726628 - Switch cargo resolver to 2 r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D123157
2021-09-01 21:11:33 +00:00
Yury Delendik ad2ffab089 Bug 1721686 - wasm: Generate intrinsics boilerplate code via yaml. r=rhunt
Differential Revision: https://phabricator.services.mozilla.com/D120724
2021-08-30 14:18:51 +00:00
Andi-Bogdan Postelnicu 2fc4f70e9b Bug 1725145 - Preparation for the hybrid build env. r=necko-reviewers,firefox-build-system-reviewers,valentin,glandium
Automatically generated path that adds flag `REQUIRES_UNIFIED_BUILD = True` to `moz.build`
when the module governed by the build config file is not buildable outside on the unified environment.

This needs to be done in order to have a hybrid build system that adds the possibility of combing
unified build components with ones that are built outside of the unified eco system.

Differential Revision: https://phabricator.services.mozilla.com/D122345
2021-08-25 10:46:17 +00:00
Mike Hommey 2f70492b7a Bug 1726474 - Use clang.exe to build wasm files when the clang plugin is enabled. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D123591
2021-08-25 07:39:02 +00:00
Mike Hommey ebf3e96eb4 Bug 1726474 - Update rlbox_wasm2c_sandbox and wasm2c_sandbox_compiler for mingw builds. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D123541
2021-08-25 07:39:02 +00:00
Mike Hommey 707032f415 Bug 1726474 - Set IMPORT_LIBRARY when building WASM_LIBRARY. r=firefox-build-system-reviewers,mhentges
MKCSHLIB, used to build WASM_LIBRARY, refers to DSO_LDOPTS, which refers
to IMPORT_LIBRARY on mingw builds, but for WASM_LIBRARY, IMPORT_LIBRARY
is never set by the build backend.

Differential Revision: https://phabricator.services.mozilla.com/D123540
2021-08-25 07:39:01 +00:00
Mike Hommey b7bcda87f0 Bug 1726474 - Always use clang-type flags when targeting wasm. r=firefox-build-system-reviewers,mhentges
The build system assumes the target compiler is of the same type as the
wasm compiler, but that's not true for wasm32-wasi, which we compile
with clang, while targeting windows, which we compile with clang-cl.
We handle the duality for host/target in a compiler-specific way, but
here, the wasm compiler is always going to be clang.

Differential Revision: https://phabricator.services.mozilla.com/D123041
2021-08-25 07:39:01 +00:00
Cosmin Sabou 1958e4b9fe Backed out 4 changesets (bug 1726474) for causing windows build bustages. CLOSED TREE
Backed out changeset c7fcc6914b7c (bug 1726474)
Backed out changeset 1dcd8069568e (bug 1726474)
Backed out changeset 938043bb1ca2 (bug 1726474)
Backed out changeset e12c90f66a6c (bug 1726474)
2021-08-24 06:12:08 +03:00
Mike Hommey 7279280783 Bug 1726474 - Always use clang-type flags when targeting wasm. r=firefox-build-system-reviewers,mhentges
The build system assumes the target compiler is of the same type as the
wasm compiler, but that's not true for wasm32-wasi, which we compile
with clang, while targeting windows, which we compile with clang-cl.
We handle the duality for host/target in a compiler-specific way, but
here, the wasm compiler is always going to be clang.

Differential Revision: https://phabricator.services.mozilla.com/D123041
2021-08-24 02:52:19 +00:00
Csoregi Natalia 84d67f5d03 Backed out 4 changesets (bug 1726474) for causing crashes. CLOSED TREE
Backed out changeset 5add6784a784 (bug 1726474)
Backed out changeset e2047ab95703 (bug 1726474)
Backed out changeset d53f62933fd0 (bug 1726474)
Backed out changeset 796a54dcb5f0 (bug 1726474)
2021-08-24 04:49:04 +03:00
Mike Hommey 0c793d860d Bug 1726474 - Always use clang-type flags when targeting wasm. r=firefox-build-system-reviewers,mhentges
The build system assumes the target compiler is of the same type as the
wasm compiler, but that's not true for wasm32-wasi, which we compile
with clang, while targeting windows, which we compile with clang-cl.
We handle the duality for host/target in a compiler-specific way, but
here, the wasm compiler is always going to be clang.

Differential Revision: https://phabricator.services.mozilla.com/D123041
2021-08-24 01:01:39 +00:00
Mike Hommey ce86abf62b Bug 1726476 - Update rlbox_wasm2c_sandbox. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D123023
2021-08-20 23:33:04 +00:00
Mike Hommey 2a24675e58 Bug 1726476 - Update wasm2c_sandbox_compiler. r=shravanrn
Differential Revision: https://phabricator.services.mozilla.com/D123022
2021-08-20 23:33:04 +00:00