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

6021 Коммитов

Автор SHA1 Сообщение Дата
Henri Sivonen 2dbc784d5a Bug 1814862 - Build ICU with UCONFIG_NO_BREAK_ITERATION r=anba
Differential Revision: https://phabricator.services.mozilla.com/D168970
2023-07-07 07:16:30 +00:00
Mike Hommey eada0e7fc8 Bug 1841567 - Stop running check_binary on host binaries. r=firefox-build-system-reviewers,sergesanspaille
Back when this was added, we weren't using sysroots, and we did end up
with host binaries that couldn't run on the host because libstdc++ came
along the host compiler, and was newer than the system libstdc++. These
concerns are long gone (libstdc++ in the sysroots is older than any
supported linux host build system), so we don't need to run those checks
anymore.

Differential Revision: https://phabricator.services.mozilla.com/D182691
2023-07-05 07:50:50 +00:00
Norisz Fay e2a456d64f Merge mozilla-central to autoland 2023-07-04 12:32:31 +03:00
Mozilla Releng Treescript b5775ab82f Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-07-04 08:35:07 +00:00
Mike Hommey 565773fe68 Bug 1841571 - Treat rust libraries as objects in the build graph. r=firefox-build-system-reviewers,sergesanspaille
The build graph has dependencies like:
  some/dir/target: some/dir/target-objects

where some/dir/target-objects will build the objects in the directory,
and some/dir/target will link some binary (executable or shared library)
using those objects (and/or objects in other directories).

From that perspective, the rust (static) libraries are more similar to
objects, and we should treat them as such.

This will allow to add the right dependencies to use a in-tree-built tool
to link shared libraries without having building the rust libraries
depend on it just because they are treated as other binaries in the
build graph.

Differential Revision: https://phabricator.services.mozilla.com/D182694
2023-07-04 07:30:05 +00:00
Tooru Fujisawa c1cdda9cde Bug 1838771 - Assert the thread matches between JS::SetNativeStackQuota call and JS::CompileGlobalScriptToStencil for JS::FrontendContext. r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D181201
2023-06-28 11:36:42 +00:00
Sandor Molnar 13d9eec5cc Backed out 2 changesets (bug 1821228) for causing xpc failures in netwerk/test/unit/test_http_sfv.js CLOSED TREE
Backed out changeset 5b97a82950dd (bug 1821228)
Backed out changeset b3729323872a (bug 1821228)
2023-06-23 16:20:02 +03:00
Mike Hommey 958d93a72d Bug 1821228 - Work around 32-bits windows debug problem with rustc 1.70. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D181845
2023-06-23 08:53:53 +00:00
Mike Hommey 16bc411f25 Bug 1840008 - Undo bug 1632776. r=firefox-build-system-reviewers,andi
The bug it worked around
(https://github.com/rust-lang/rust/issues/61002) was fixed in rustc
1.55, and we currently require 1.66.

Differential Revision: https://phabricator.services.mozilla.com/D181843
2023-06-23 08:43:16 +00:00
Mike Hommey 39ed3add07 Bug 1838354 - Change how the rust workspace hack is added. r=firefox-build-system-reviewers,webdriver-reviewers,ahochheiden,whimboo
First, instead of using a path, use a version, which is more convenient
(via a patch in the top-level Cargo.toml).

Second, we make the build system itself enforce its presence for any
crate that is hooked to the build system as a program or library.

Finally, for each crate depending on the workspace hack, we add a
feature named after it, and make the build system enforce that the
feature is set. For now, this remains unused, but the end goal is to
have each of those features enable the dependencies each of these
crates need, so that if crate A and B need dependency D, but crate C
doesn't, building crate C doesn't build D.

Differential Revision: https://phabricator.services.mozilla.com/D180910
2023-06-21 07:31:44 +00:00
Mike Hommey 6cfdfb5db2 Bug 1749856 - Use GeneratedFile for rlbox.wasm.c. r=firefox-build-system-reviewers,andi
This moves the creation of both rlbox.wasm.c and rlbox.wasm.h to
pre-compile, which allows static-analysis to create both files (but more
importantly the .h) without also compiling rlbox.wasm.c, which takes
forever.

Differential Revision: https://phabricator.services.mozilla.com/D180173
2023-06-07 07:28:31 +00:00
Mozilla Releng Treescript 5e58683eba Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-06-05 14:40:55 +00:00
serge-sans-paille 9ea38abea5 Bug 1831334 - Make sure every rust dependency has a default implicit rule r=glandium
When rustc generates its dependency file, it takes into account current
version of the codebase. If an update of the code then happens, with,
say an ipdl file being removed, the corresponding .h is no longer
generated and make rightfully complains about missing dependency.

Allow this kind of transition by providing a dummy rule for each
dependency generated by rustc.

Differential Revision: https://phabricator.services.mozilla.com/D178617
2023-05-29 11:00:35 +00:00
André Bargull 806d734076 Bug 1824744 - Part 3: Update tzdata files to 2023c. r=platform-i18n-reviewers,gregtatum
Depends on D176264

Differential Revision: https://phabricator.services.mozilla.com/D176265
2023-05-25 20:40:54 +00:00
André Bargull 9f5d869662 Bug 1824744 - Part 2: Update in-tree ICU to 73. r=platform-i18n-reviewers,gregtatum
Depends on D176263

Differential Revision: https://phabricator.services.mozilla.com/D176264
2023-05-25 20:40:43 +00:00
serge-sans-paille 0d9d9d644b Bug 1834600 - Only pass -C lto to rustc when relevant r=glandium
Instead of duplicating the flag location, use a single place to pass
either lto or lto=fat.

Differential Revision: https://phabricator.services.mozilla.com/D178841
2023-05-24 13:06:49 +00:00
Noemi Erli 40c92c02c2 Backed out changeset a18b8f64f7b8 (bug 1831334) for causing build bustages in rust.mk CLOSED TREE 2023-05-23 16:40:35 +03:00
serge-sans-paille 4f667e41d0 Bug 1831334 - Make sure every rust dependency has a default implicit rule r=glandium
When rustc generates its dependency file, it takes into account current
version of the codebase. If an update of the code then happens, with,
say an ipdl file being removed, the corresponding .h is no longer
generated and make rightfully complains about missing dependency.

Allow this kind of transition by providing a dummy rule for each
dependency generated by rustc.

Differential Revision: https://phabricator.services.mozilla.com/D178617
2023-05-23 11:58:26 +00:00
serge-sans-paille 4378e70adc Bug 1821680 - provide --enable-lto=full-cross r=glandium
This combines the effect of full LTO for C/C++ code with rust cross LTO
capability.

Differential Revision: https://phabricator.services.mozilla.com/D172266
2023-05-10 10:56:31 +00:00
Sandor Molnar 2b1a30bb79 Backed out changeset 8ed1797a2640 (bug 1821680) dev spotted a bug. CLOSED TREE 2023-05-10 12:26:12 +03:00
serge-sans-paille 3d53fad43c Bug 1821680 - provide --enable-lto=full-cross r=glandium
This combines the effect of full LTO for C/C++ code with rust cross LTO
capability.

Differential Revision: https://phabricator.services.mozilla.com/D172266
2023-05-10 07:41:10 +00:00
Iulian Moraru e6dc9ce946 Merge mozilla-central to autoland on a CLOSED TREE 2023-05-09 00:44:10 +03:00
Shravan Narayan 38277b4a83 Bug 1831227 - Remove windows.h dependency in wasm2c host program r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D177123
2023-05-08 21:21:54 +00:00
Mike Hommey e120474d55 Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-08 21:10:19 +00:00
Mozilla Releng Treescript 35afddde8a Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-05-08 17:34:56 +00:00
Shravan Narayan b6f5e0b726 Bug 1830962: Update wasm2c to disable Wasm exception handling code from runtime r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176949
2023-05-04 02:57:19 +00:00
Noemi Erli 573fdf0764 Backed out changeset e261c34a0fc4 (bug 1829765) for depanding on Bug 1830962 CLOSED TREE 2023-05-03 11:24:23 +03:00
Noemi Erli bbbc12385f Backed out changeset 6fceae307b7c (bug 1830962) for causing build bustages in rlbox.wasm.h 2023-05-03 11:20:47 +03:00
Willy R. Vasquez 4bb6675060 Bug 1829765 - Enable SIMD support in wasm2c for RLBox sandboxing r=glandium,shravanrn CLOSED TREE
Vendor in support for simd-everywhere

Differential Revision: https://phabricator.services.mozilla.com/D176371
2023-04-25 00:20:52 +00:00
Shravan Narayan 09eab83044 Bug 1830962: Update wasm2c to disable Wasm exception handling code from runtime r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176949
2023-05-03 07:30:39 +00:00
Noemi Erli b021722dbf Backed out changeset e06349a5b0f2 (bug 1829050) for causing build bustages in rlbox_wasm2c_sandbox.hpp 2023-05-03 08:16:13 +03:00
Mike Hommey d9b2a96f8d Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-03 04:05:07 +00:00
Norisz Fay 7aa97db372 Backed out changeset cddc0b331d97 (bug 1829050) for causing bustages on CheckedInt.h CLOSED TREE 2023-05-03 04:31:34 +03:00
Mike Hommey da624910fc Bug 1829050 - Enable STL wrapping (and thus infallible new) for wasm-sandboxed code. r=firefox-build-system-reviewers,shravanrn,andi
Differential Revision: https://phabricator.services.mozilla.com/D175981
2023-05-03 00:56:33 +00:00
Shravan Narayan a4cc61ac4c Bug 1830036 - Update wasm2c compiler used with RLBox to support OpenBSD r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176567
2023-05-02 00:00:29 +00:00
Gabriele Svelto 5c71cb8b3b Bug 1830709 - Remove old build rule used for Google Breakpad's dump_syms r=afranchuk
Differential Revision: https://phabricator.services.mozilla.com/D176805
2023-05-01 21:36:06 +00:00
Mike Hommey 5102bdbc4c Bug 1829049 - Adjust check_vanilla_allocations to handle the case where operator new is inlined. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D175995
2023-04-27 06:11:36 +00:00
Cosmin Sabou 566f69826b Backed out 3 changesets (bug 1829049) for causing nightlyasrelease build bustage.
Backed out changeset 0dad03fea3eb (bug 1829049)
Backed out changeset 1350772f04de (bug 1829049)
Backed out changeset 2585980fa4fe (bug 1829049)
2023-04-27 07:38:40 +03:00
Mike Hommey a579464f0d Bug 1829049 - Adjust check_vanilla_allocations to handle the case where operator new is inlined. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D175995
2023-04-26 23:32:16 +00:00
Cristian Tuns 56b2c76d14 Bug 1829245 - Fix spidermonkey linux64/debug bustages r=rix CLOSED TREE 2023-04-26 00:28:23 -04:00
Mike Hommey 1855bd6010 Bug 1829245 - Change how intl/component files are identified in check_vanilla_allocations. r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D176102
2023-04-26 04:00:09 +00:00
Mike Hommey acbe860fc5 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-26 02:44:12 +00:00
Shravan Narayan df636672ed Bug 1829268 - Update wasm2c compiler used with RLBox to support MinGW r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D176254
2023-04-25 07:00:41 +00:00
Natalia Csoregi 56e93e216a Backed out changeset 35f665d19e3a (bug 1274334) for causing Gtest failures on STLWrapper. CLOSED TREE 2023-04-21 15:35:35 +03:00
Mike Hommey 45f37efa8c Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 09:37:19 +00:00
Natalia Csoregi 639fa048d6 Backed out changeset 0ddf006ab8f0 (bug 1274334) for causing win 2012 bustages on WebGLRenderingContextBinding.h. CLOSED TREE 2023-04-21 12:11:01 +03:00
Mike Hommey 1b4a9de576 Bug 1274334 - Enable STL wrappers on macos. r=firefox-build-system-reviewers,ahochheiden
Practically speaking, this doesn't make a huge difference, because
libmozglue contains operator new/operator delete overrides. This will
enable inlining opportunities, though.

It is worth noting that there's equivalent code in
js/src/old-configure.in but it's left as is because it is actually no-op
at the moment. This will be fixed in bug 1829049.

The check for __EXCEPTIONS is replaced with __cpp_exceptions because the
former is defined for any type of exception, including ObjC exceptions,
while the latter is defined for C++ exceptions only.

Differential Revision: https://phabricator.services.mozilla.com/D175976
2023-04-21 08:26:50 +00:00
Shravan Narayan ed0bb19d78 Bug 1827704 - Migrate to the upstream wasm2c for RLBox sandboxing r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D175439
2023-04-21 01:31:35 +00:00
Mike Hommey 94f435dbdc Bug 1828577 - Properly set *-stl-wrapper.template.h as an input to the make-stl-wrappers script. r=firefox-build-system-reviewers,ahochheiden
Differential Revision: https://phabricator.services.mozilla.com/D175734
2023-04-20 21:49:03 +00:00
Mozilla Releng Treescript 504bd0a7ee Update configs. IGNORE BROKEN CHANGESETS CLOSED TREE NO BUG a=release ba=release 2023-04-10 15:05:17 +00:00