From nobody Sat Apr 16 04:21:21 2022 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 76AC45D6A58; Sat, 16 Apr 2022 04:21:24 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4KgKl62YCdz3Ldn; Sat, 16 Apr 2022 04:21:21 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BFBu5NywUdTl9DcGKjdo4uwVGULaUvW8CniDjjOwU7A=; b=bp9U1X5qoIrbE/AVVqFY8Cxw7zw7Sd5ZStgMMkSTN7jAAlVFrMXBYr6odWal11cXYjwRPA 8k+nUBlOxfn0pUiREVffGqGKnoAnkRBi67iFjBaJRprzYhjdy5EvAUSSs3EtLyz73bl6v6 5kGzaSh/jNLChR2VHtTKFrjpn+UfwoII5QKdO2e3VM68ndSDKZyylKn6eORXLayF/mgHk5 GBhjowfAm7WeenDFTmKtQM07QR62dV0LcJuuxd5rYR1RmvbpHxjy+F2zSrvh42qjfHoGVp ubyqO+cdHzqrySJLrVPXVENdPkyCY7qMrE6e6Yj2BEsmYu4qjUlEEDYCxSq6zA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 7E7B822D55; Sat, 16 Apr 2022 04:21:21 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23G4LLEq001707; Sat, 16 Apr 2022 04:21:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23G4LL8Z001706; Sat, 16 Apr 2022 04:21:21 GMT (envelope-from git) Date: Sat, 16 Apr 2022 04:21:21 GMT Message-Id: <202204160421.23G4LL8Z001706@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Po-Chuan Hsieh Subject: git: ddfd479b913d - main - lang/v8-beta: Update to 10.1.124.1 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: sunpoet X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ddfd479b913d1cd764b925ad5edb812b84b4b34f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1650082883; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BFBu5NywUdTl9DcGKjdo4uwVGULaUvW8CniDjjOwU7A=; b=OOwdJUkp6jLy3GalOi3IAfzc4/OqTn4JHW6UyWiEWODl1ZzAoT439i8mYEUbxzjMbFRPzF FFVnoTVQIc7ZwUexI0eaTbdO46vC6g2TSAfeVkE4CwHvLpFJHgr3K4PdzutzhU4N8IIwD9 zber/mhwvt8fScPjrp1iysfLWNorUXYCMxxmJOBDcrZqwsE9u0zP7WfVwtYp65oekKAck2 /jrdkn5zJe/zPrgMjoXwbAFpHjiApMVuY1Abjbp3Ts37byhBw6tnsi6qZv8anYMcmDwuty vjWI8U/eCaM3vAcLMDb3FinKaVX3BWCX0UkliQi3DxU9vPe3/BFCTVhhQYFa+g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1650082883; a=rsa-sha256; cv=none; b=NrzEXcapAJ9GYGRo7zTElglZtQmJnAFN/05Q1X/PZOKgJowluBPK4/+UJP6TEmrs7dELg/ LVuqz+hlyHGCEb/PR1GjQBsC4YcI/0pBvSEwwPUU+bVHg53htS+Yl1IcvXkT0vyXOfAFcm PcxlMovtrLRM6eylo9kkMuZNsUSc45VnASgFW9YdPzZnBW1wddGaHy1jxfIL8g1b0je2sh 4BhxjIYqzAxyDL2h9YP0GQqOhZtOxilhDUF+wIji9Llg9cEnyZx3Y3RbJ2kODnUh8ihvPo 5ohguA1F6PEdjgYygWgiLQMCpaVGtpjNc+l+/go4tVQqlfFDkcIS5UnZCDa36Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by sunpoet: URL: https://cgit.FreeBSD.org/ports/commit/?id=ddfd479b913d1cd764b925ad5edb812b84b4b34f commit ddfd479b913d1cd764b925ad5edb812b84b4b34f Author: Po-Chuan Hsieh AuthorDate: 2022-04-16 03:55:55 +0000 Commit: Po-Chuan Hsieh CommitDate: 2022-04-16 04:19:09 +0000 lang/v8-beta: Update to 10.1.124.1 - Use v8 tarball from GitHub mirror Changes: https://chromium.googlesource.com/v8/v8.git/+log/refs/heads/10.1-lkgr --- lang/v8-beta/Makefile | 21 +++++++------ lang/v8-beta/distinfo | 34 +++++++++++----------- lang/v8-beta/files/patch-BUILD.gn | 8 ++--- lang/v8-beta/files/patch-build_config_BUILD.gn | 8 ++--- .../files/patch-build_config_compiler_BUILD.gn | 18 ++++++------ .../files/patch-build_config_compiler_compiler.gni | 4 +-- .../files/patch-build_config_linux_BUILD.gn | 4 +-- lang/v8-beta/files/patch-build_config_rust.gni | 9 ++++-- lang/v8-beta/files/patch-build_linux_chrome.map | 6 ++-- .../files/patch-build_toolchain_gcc__toolchain.gni | 6 ++-- .../patch-buildtools_third__party_libc++_BUILD.gn | 15 +++++----- lang/v8-beta/files/patch-include_v8config.h | 4 +-- lang/v8-beta/files/patch-src_api_api.cc | 8 ++--- lang/v8-beta/files/patch-src_base_cpu.cc | 6 ++-- .../patch-src_base_platform_platform-posix.cc | 10 +++---- lang/v8-beta/pkg-plist | 1 - 16 files changed, 82 insertions(+), 80 deletions(-) diff --git a/lang/v8-beta/Makefile b/lang/v8-beta/Makefile index 78fa8aaee2e9..6e2a2bb936a4 100644 --- a/lang/v8-beta/Makefile +++ b/lang/v8-beta/Makefile @@ -2,13 +2,11 @@ # https://chromium.googlesource.com/v8/v8/+/refs/heads/10.0-lkgr PORTNAME= v8 -PORTVERSION= 10.0.139.6 -PORTREVISION= 1 +PORTVERSION= 10.1.124.1 CATEGORIES= lang MASTER_SITES= LOCAL/sunpoet/v8/${PORTVERSION:R:R} PKGNAMESUFFIX= -beta -DISTFILES= v8-${PORTVERSION}.tar.gz \ - build-${BUILD_REV}.tar.gz \ +DISTFILES= build-${BUILD_REV}.tar.gz \ buildtools-${BUILDTOOLS_REV}.tar.gz \ clang-${CLANG_REV}.tar.gz \ common-${COMMON_REV}.tar.gz \ @@ -36,22 +34,23 @@ USE_GNOME= glib20 BINARY_ALIAS= python3=${PYTHON_CMD} MAKE_ARGS= -C out/Release -NO_WRKSUBDIR= yes USE_LDCONFIG= yes SUB_FILES= v8.pc v8_libbase.pc v8_libplatform.pc +USE_GITHUB= yes + CPE_VENDOR= google CONFLICTS_INSTALL= v8 -BUILD_REV= 62a6377648eb82cff75e3a12f689400694fbbb63 -BUILDTOOLS_REV= 169eef5b952dea9b285bf1a0a7aff7518a3ed907 -CLANG_REV= 62e2cd966f93a27aab0953ce7c2d83ffd6bdfdcc +BUILD_REV= 3d9590754d5d23e62d15472c5baf6777ca59df20 +BUILDTOOLS_REV= 113dd1badbcbffea108a8c95ac7c89c22bfd25f3 +CLANG_REV= b60d34c100e5a8f4b01d838527f000faab673da3 COMMON_REV= d115b033c4e53666b535cbd1985ffe60badad082 -GOOGLETEST_REV= ea55f1f52c489535f0d3b583c81529762c9cb5ea -ICU_REV= b867f209e4b56b0a8c01aaaba3882ad41e438c4f -ZLIB_REV= 9538f4194f6e5eff1bd59f2396ed9d05b1a8d801 +GOOGLETEST_REV= ae5e06dd35c6137d335331b0815cf1f60fd7e3c5 +ICU_REV= 8a5b728e4f43b0eabdb9ea450f956d67cfb22719 +ZLIB_REV= b0676a1f52484bf53a1a49d0e48ff8abc430fafe # Run "gn args --list out/Release" for all variables. # Some parts don't have use_system_* flag, and can be turned on/off by using diff --git a/lang/v8-beta/distinfo b/lang/v8-beta/distinfo index ef6336ade4ed..3285fd2e3082 100644 --- a/lang/v8-beta/distinfo +++ b/lang/v8-beta/distinfo @@ -1,17 +1,17 @@ -TIMESTAMP = 1647264438 -SHA256 (v8/10.0/v8-10.0.139.6.tar.gz) = 80378a7242c0dbac5273884f0d6a209eef3f0e100bf460b862a8a25acb7b3b79 -SIZE (v8/10.0/v8-10.0.139.6.tar.gz) = 27533786 -SHA256 (v8/10.0/build-62a6377648eb82cff75e3a12f689400694fbbb63.tar.gz) = a40bd84480727c8679658f8603c27ba2745c3e3d81feadd2a63face077aec958 -SIZE (v8/10.0/build-62a6377648eb82cff75e3a12f689400694fbbb63.tar.gz) = 1406814 -SHA256 (v8/10.0/buildtools-169eef5b952dea9b285bf1a0a7aff7518a3ed907.tar.gz) = 4bcd975013578a719ef010e090a605e0fc167812b1257e7c97a468a23402edcd -SIZE (v8/10.0/buildtools-169eef5b952dea9b285bf1a0a7aff7518a3ed907.tar.gz) = 86888 -SHA256 (v8/10.0/clang-62e2cd966f93a27aab0953ce7c2d83ffd6bdfdcc.tar.gz) = 73f0ccf32390764b1c463f05d75b340174fefddd0b5f8a920bacc4952673be0a -SIZE (v8/10.0/clang-62e2cd966f93a27aab0953ce7c2d83ffd6bdfdcc.tar.gz) = 300831 -SHA256 (v8/10.0/common-d115b033c4e53666b535cbd1985ffe60badad082.tar.gz) = 568c091ad5ce5291f4bae7e86a25622aa7d6dcfe4efb0b20d0771557a0c57eea -SIZE (v8/10.0/common-d115b033c4e53666b535cbd1985ffe60badad082.tar.gz) = 10496 -SHA256 (v8/10.0/googletest-ea55f1f52c489535f0d3b583c81529762c9cb5ea.tar.gz) = 0f89aad1ce740025f9175b7c188f3e00be982fe3671b02c937dba47e60a0a088 -SIZE (v8/10.0/googletest-ea55f1f52c489535f0d3b583c81529762c9cb5ea.tar.gz) = 834690 -SHA256 (v8/10.0/icu-b867f209e4b56b0a8c01aaaba3882ad41e438c4f.tar.gz) = e07eb4ce9dbdc85774a7bcbc1fe4c5c8f96429fb51be037b51fa46463d992420 -SIZE (v8/10.0/icu-b867f209e4b56b0a8c01aaaba3882ad41e438c4f.tar.gz) = 52380232 -SHA256 (v8/10.0/zlib-9538f4194f6e5eff1bd59f2396ed9d05b1a8d801.tar.gz) = 49ccb41bd1ce2cd94de8d51029ab4bece040ab3385f542a0068ede86ff2c4b84 -SIZE (v8/10.0/zlib-9538f4194f6e5eff1bd59f2396ed9d05b1a8d801.tar.gz) = 318008 +TIMESTAMP = 1649423680 +SHA256 (v8/10.1/build-3d9590754d5d23e62d15472c5baf6777ca59df20.tar.gz) = 02fa820708804f25489f6f9ce8b2d8d9fbc8be28a71707d94bd8c25619087373 +SIZE (v8/10.1/build-3d9590754d5d23e62d15472c5baf6777ca59df20.tar.gz) = 1412762 +SHA256 (v8/10.1/buildtools-113dd1badbcbffea108a8c95ac7c89c22bfd25f3.tar.gz) = b2b5584e6c355f85aeba32f040e77f5d6780fea6ab8bb794eaddae25f0066077 +SIZE (v8/10.1/buildtools-113dd1badbcbffea108a8c95ac7c89c22bfd25f3.tar.gz) = 87013 +SHA256 (v8/10.1/clang-b60d34c100e5a8f4b01d838527f000faab673da3.tar.gz) = a75b61def87693b6942477d81c52db2c0a7451309fdfac6e0e500304f55d10a4 +SIZE (v8/10.1/clang-b60d34c100e5a8f4b01d838527f000faab673da3.tar.gz) = 300514 +SHA256 (v8/10.1/common-d115b033c4e53666b535cbd1985ffe60badad082.tar.gz) = 14d235ff3cc1c035090ef4fe26a9f46c0147474e6eb47ab6cbe85abcb47b84f7 +SIZE (v8/10.1/common-d115b033c4e53666b535cbd1985ffe60badad082.tar.gz) = 10495 +SHA256 (v8/10.1/googletest-ae5e06dd35c6137d335331b0815cf1f60fd7e3c5.tar.gz) = de43e6a5b60920910d0176fd422127eeb1568c585498c9809bfe4892bf232c03 +SIZE (v8/10.1/googletest-ae5e06dd35c6137d335331b0815cf1f60fd7e3c5.tar.gz) = 834526 +SHA256 (v8/10.1/icu-8a5b728e4f43b0eabdb9ea450f956d67cfb22719.tar.gz) = 1390ec1bb71a5d84941f8868c421651690cb6de99ada5626a534b49df9b9244d +SIZE (v8/10.1/icu-8a5b728e4f43b0eabdb9ea450f956d67cfb22719.tar.gz) = 52450740 +SHA256 (v8/10.1/zlib-b0676a1f52484bf53a1a49d0e48ff8abc430fafe.tar.gz) = 79d59e69e2a4c53548b45c9e5c7f601b19af3759d3b00a0792e8789ef51adf3f +SIZE (v8/10.1/zlib-b0676a1f52484bf53a1a49d0e48ff8abc430fafe.tar.gz) = 319424 +SHA256 (v8/10.1/v8-v8-10.1.124.1_GH0.tar.gz) = 584ce1b41c3398ee8aa4fe74362df7d585dc565f31922b55d2fdd3f4a7679a0f +SIZE (v8/10.1/v8-v8-10.1.124.1_GH0.tar.gz) = 27726717 diff --git a/lang/v8-beta/files/patch-BUILD.gn b/lang/v8-beta/files/patch-BUILD.gn index 8ec8de722036..14f0db784cd8 100644 --- a/lang/v8-beta/files/patch-BUILD.gn +++ b/lang/v8-beta/files/patch-BUILD.gn @@ -1,6 +1,6 @@ ---- BUILD.gn.orig 2022-01-23 11:58:51 UTC +--- BUILD.gn.orig 2022-03-17 10:34:15 UTC +++ BUILD.gn -@@ -5094,7 +5094,7 @@ v8_component("v8_libbase") { +@@ -5229,7 +5229,7 @@ v8_component("v8_libbase") { } } @@ -9,7 +9,7 @@ sources += [ "src/base/debug/stack_trace_posix.cc", "src/base/platform/platform-linux.cc", -@@ -5111,6 +5111,12 @@ v8_component("v8_libbase") { +@@ -5246,6 +5246,12 @@ v8_component("v8_libbase") { ] libs = [ "dl" ] @@ -22,7 +22,7 @@ } else if (is_android) { if (current_toolchain == host_toolchain) { libs = [ -@@ -5611,6 +5617,7 @@ if (v8_monolithic) { +@@ -5769,6 +5775,7 @@ if (v8_monolithic) { ":v8_libplatform", "//build/win:default_exe_manifest", ] diff --git a/lang/v8-beta/files/patch-build_config_BUILD.gn b/lang/v8-beta/files/patch-build_config_BUILD.gn index 3bf0166e6eea..6cae03c76623 100644 --- a/lang/v8-beta/files/patch-build_config_BUILD.gn +++ b/lang/v8-beta/files/patch-build_config_BUILD.gn @@ -1,6 +1,6 @@ ---- build/config/BUILD.gn.orig 2022-01-23 11:59:03 UTC +--- build/config/BUILD.gn.orig 2022-04-04 20:12:26 UTC +++ build/config/BUILD.gn -@@ -125,7 +125,7 @@ config("debug") { +@@ -121,7 +121,7 @@ config("debug") { # builds, and we have to tell it to turn it off. defines += [ "_HAS_ITERATOR_DEBUGGING=0" ] } @@ -9,7 +9,7 @@ enable_iterator_debugging) { # Enable libstdc++ debugging facilities to help catch problems early, see # http://crbug.com/65151 . -@@ -224,9 +224,7 @@ config("default_libs") { +@@ -220,9 +220,7 @@ config("default_libs") { ] } else if (is_linux || is_chromeos) { libs = [ @@ -19,7 +19,7 @@ ] } } -@@ -305,7 +303,7 @@ config("executable_config") { +@@ -304,7 +302,7 @@ config("executable_config") { "//build/config/ios:ios_dynamic_flags", "//build/config/ios:ios_executable_flags", ] diff --git a/lang/v8-beta/files/patch-build_config_compiler_BUILD.gn b/lang/v8-beta/files/patch-build_config_compiler_BUILD.gn index d13361651345..29e53e72c188 100644 --- a/lang/v8-beta/files/patch-build_config_compiler_BUILD.gn +++ b/lang/v8-beta/files/patch-build_config_compiler_BUILD.gn @@ -1,4 +1,4 @@ ---- build/config/compiler/BUILD.gn.orig 2022-01-23 11:59:03 UTC +--- build/config/compiler/BUILD.gn.orig 2022-04-04 20:12:27 UTC +++ build/config/compiler/BUILD.gn @@ -140,7 +140,7 @@ declare_args() { # @@ -27,7 +27,7 @@ cflags += [ "-fcrash-diagnostics-dir=" + clang_diagnostic_dir ] # TODO(hans): Remove this once Clang generates better optimized debug info -@@ -917,7 +917,7 @@ config("compiler_cpu_abi") { +@@ -929,7 +929,7 @@ config("compiler_cpu_abi") { cflags += [ "-mtune=$arm_tune" ] } } else if (current_cpu == "arm64") { @@ -36,7 +36,7 @@ cflags += [ "--target=aarch64-linux-gnu" ] ldflags += [ "--target=aarch64-linux-gnu" ] } -@@ -1238,7 +1238,7 @@ config("compiler_deterministic") { +@@ -1250,7 +1250,7 @@ config("compiler_deterministic") { # different build directory like "out/feature_a" and "out/feature_b" if # we build same files with same compile flag. # Other paths are already given in relative, no need to normalize them. @@ -45,7 +45,7 @@ # TODO(https://crbug.com/1231236): Use -ffile-compilation-dir= here. cflags += [ "-Xclang", -@@ -1251,7 +1251,7 @@ config("compiler_deterministic") { +@@ -1263,7 +1263,7 @@ config("compiler_deterministic") { # and -fcoverage-compilation-dir=. cflags += [ "-ffile-compilation-dir=." ] } @@ -54,7 +54,7 @@ # We don't use clang -cc1as on Windows (yet? https://crbug.com/762167) asmflags = [ "-Wa,-fdebug-compilation-dir,." ] } -@@ -1502,7 +1502,7 @@ config("default_warnings") { +@@ -1517,7 +1517,7 @@ config("default_warnings") { "-Wno-unneeded-internal-declaration", ] @@ -63,7 +63,7 @@ if (is_win) { # TODO(thakis): https://crbug.com/617318 # Currently goma can not handle case sensitiveness for windows well. -@@ -1791,7 +1791,7 @@ config("thin_archive") { +@@ -1853,7 +1853,7 @@ config("thin_archive") { # archives. # TODO(crbug.com/1221615): Enable on is_apple if use_lld once that no longer # confuses lldb. @@ -72,7 +72,7 @@ arflags = [ "-T" ] } else if (is_win && use_lld) { arflags = [ "/llvmlibthin" ] -@@ -2289,7 +2289,7 @@ config("symbols") { +@@ -2354,7 +2354,7 @@ config("symbols") { # flag, so we can use use -g1 for pnacl and nacl-clang compiles. # gcc nacl is is_nacl && !is_clang, pnacl and nacl-clang are && is_clang. if ((!is_nacl || is_clang) && current_os != "zos") { @@ -81,7 +81,7 @@ } if (!is_nacl && is_clang && !is_tsan && !is_asan && -@@ -2329,7 +2329,7 @@ config("symbols") { +@@ -2394,7 +2394,7 @@ config("symbols") { # sections" there. Maybe just a bug in nacl_switch_32.S. _enable_gdb_index = symbol_level == 2 && !is_apple && !is_nacl && current_cpu != "x86" && @@ -90,7 +90,7 @@ # Disable on non-fission 32-bit Android because it pushes # libcomponents_unittests over the 4gb size limit. !(is_android && !use_debug_fission && current_cpu != "x64" && -@@ -2347,7 +2347,7 @@ config("symbols") { +@@ -2412,7 +2412,7 @@ config("symbols") { } if (is_clang && (!is_nacl || is_nacl_saigo) && current_os != "zos") { diff --git a/lang/v8-beta/files/patch-build_config_compiler_compiler.gni b/lang/v8-beta/files/patch-build_config_compiler_compiler.gni index 716914e2fb67..2d5c39500e57 100644 --- a/lang/v8-beta/files/patch-build_config_compiler_compiler.gni +++ b/lang/v8-beta/files/patch-build_config_compiler_compiler.gni @@ -1,6 +1,6 @@ ---- build/config/compiler/compiler.gni.orig 2022-01-23 11:59:03 UTC +--- build/config/compiler/compiler.gni.orig 2022-04-04 20:12:27 UTC +++ build/config/compiler/compiler.gni -@@ -224,7 +224,7 @@ declare_args() { +@@ -225,7 +225,7 @@ declare_args() { declare_args() { # Whether to use the gold linker from binutils instead of lld or bfd. diff --git a/lang/v8-beta/files/patch-build_config_linux_BUILD.gn b/lang/v8-beta/files/patch-build_config_linux_BUILD.gn index 9b9bb1d634f9..c258aa9e3d38 100644 --- a/lang/v8-beta/files/patch-build_config_linux_BUILD.gn +++ b/lang/v8-beta/files/patch-build_config_linux_BUILD.gn @@ -1,6 +1,6 @@ ---- build/config/linux/BUILD.gn.orig 2021-10-13 07:49:03 UTC +--- build/config/linux/BUILD.gn.orig 2022-04-04 20:12:27 UTC +++ build/config/linux/BUILD.gn -@@ -39,7 +39,7 @@ config("runtime_library") { +@@ -42,7 +42,7 @@ config("runtime_library") { if ((!(is_chromeos_ash || is_chromeos_lacros) || default_toolchain != "//build/toolchain/cros:target") && diff --git a/lang/v8-beta/files/patch-build_config_rust.gni b/lang/v8-beta/files/patch-build_config_rust.gni index 522727d59a1a..d61569e43549 100644 --- a/lang/v8-beta/files/patch-build_config_rust.gni +++ b/lang/v8-beta/files/patch-build_config_rust.gni @@ -1,11 +1,14 @@ ---- build/config/rust.gni.orig 2022-01-23 11:59:03 UTC +--- build/config/rust.gni.orig 2022-04-04 20:12:27 UTC +++ build/config/rust.gni -@@ -66,7 +66,7 @@ toolchain_has_official_rust = +@@ -84,9 +84,9 @@ android_toolchain_supports_platform = (!is_nacl && (is_android && (current_cpu == "arm" || current_cpu == "arm64" || current_cpu == "x64" || current_cpu == "x86"))) || - (is_linux && current_cpu == "x64") + (current_os == "linux" && current_cpu == "x64") + chromium_toolchain_supports_platform = +- !is_nacl && is_linux && current_cpu == "x64" ++ !is_nacl && current_os == "linux" && current_cpu == "x64" toolchain_has_rust = - enable_rust && (toolchain_has_official_rust || rust_sysroot_absolute != "") + enable_rust && diff --git a/lang/v8-beta/files/patch-build_linux_chrome.map b/lang/v8-beta/files/patch-build_linux_chrome.map index f540509b3054..b2fb711f743d 100644 --- a/lang/v8-beta/files/patch-build_linux_chrome.map +++ b/lang/v8-beta/files/patch-build_linux_chrome.map @@ -1,4 +1,4 @@ ---- build/linux/chrome.map.orig 2021-05-01 21:15:31 UTC +--- build/linux/chrome.map.orig 2022-04-04 20:12:27 UTC +++ build/linux/chrome.map @@ -1,4 +1,7 @@ { @@ -18,8 +18,8 @@ + # Memory allocation symbols. We want chrome and any libraries to # share the same heap, so it is correct to export these symbols. - calloc; -@@ -83,7 +90,4 @@ global: + aligned_alloc; +@@ -84,7 +91,4 @@ global: localtime_r; v8dbg_*; diff --git a/lang/v8-beta/files/patch-build_toolchain_gcc__toolchain.gni b/lang/v8-beta/files/patch-build_toolchain_gcc__toolchain.gni index efab25893949..ccd1d7c366f7 100644 --- a/lang/v8-beta/files/patch-build_toolchain_gcc__toolchain.gni +++ b/lang/v8-beta/files/patch-build_toolchain_gcc__toolchain.gni @@ -1,6 +1,6 @@ ---- build/toolchain/gcc_toolchain.gni.orig 2022-01-23 11:59:03 UTC +--- build/toolchain/gcc_toolchain.gni.orig 2022-04-04 20:12:27 UTC +++ build/toolchain/gcc_toolchain.gni -@@ -49,6 +49,11 @@ if (enable_resource_allowlist_generation) { +@@ -53,6 +53,11 @@ if (enable_resource_allowlist_generation) { "enable_resource_allowlist_generation=true does not work for target_os=$target_os") } @@ -12,7 +12,7 @@ # This template defines a toolchain for something that works like gcc # (including clang). # -@@ -738,13 +743,23 @@ template("gcc_toolchain") { +@@ -780,13 +785,23 @@ template("gcc_toolchain") { # use_gold too. template("clang_toolchain") { gcc_toolchain(target_name) { diff --git a/lang/v8-beta/files/patch-buildtools_third__party_libc++_BUILD.gn b/lang/v8-beta/files/patch-buildtools_third__party_libc++_BUILD.gn index da2a4bc2e17a..890594e0d571 100644 --- a/lang/v8-beta/files/patch-buildtools_third__party_libc++_BUILD.gn +++ b/lang/v8-beta/files/patch-buildtools_third__party_libc++_BUILD.gn @@ -1,10 +1,11 @@ ---- buildtools/third_party/libc++/BUILD.gn.orig 2021-09-19 10:01:13 UTC +--- buildtools/third_party/libc++/BUILD.gn.orig 2022-04-04 20:12:27 UTC +++ buildtools/third_party/libc++/BUILD.gn -@@ -23,6 +23,7 @@ config("config") { - cflags += [ - "-fPIC", - "-std=c++17", -+ "-I%%LOCALBASE%%/include", +@@ -23,7 +23,7 @@ config("config") { + "-std:c++20", ] + } else { +- cflags += [ "-fPIC" ] ++ cflags += [ "-fPIC", "-I%%LOCALBASE%%/include" ] + cflags_cc = [ "-std=c++20" ] } - } + diff --git a/lang/v8-beta/files/patch-include_v8config.h b/lang/v8-beta/files/patch-include_v8config.h index b302d21db2c1..f8c1fa27b800 100644 --- a/lang/v8-beta/files/patch-include_v8config.h +++ b/lang/v8-beta/files/patch-include_v8config.h @@ -1,6 +1,6 @@ ---- include/v8config.h.orig 2022-01-23 11:58:51 UTC +--- include/v8config.h.orig 2022-03-17 10:34:15 UTC +++ include/v8config.h -@@ -342,7 +342,18 @@ path. Add it with -I to the command line +@@ -344,7 +344,18 @@ path. Add it with -I to the command line # define V8_HAS_CPP_ATTRIBUTE_NO_UNIQUE_ADDRESS \ (V8_HAS_CPP_ATTRIBUTE(no_unique_address)) diff --git a/lang/v8-beta/files/patch-src_api_api.cc b/lang/v8-beta/files/patch-src_api_api.cc index a853a756e0af..fee9a1131c3e 100644 --- a/lang/v8-beta/files/patch-src_api_api.cc +++ b/lang/v8-beta/files/patch-src_api_api.cc @@ -1,11 +1,11 @@ ---- src/api/api.cc.orig 2022-01-23 11:58:51 UTC +--- src/api/api.cc.orig 2022-03-17 10:34:15 UTC +++ src/api/api.cc -@@ -6126,7 +6126,7 @@ bool v8::V8::Initialize(const int build_config) { +@@ -6044,7 +6044,7 @@ bool v8::V8::Initialize(const int build_config) { return true; } --#if V8_OS_LINUX || V8_OS_MACOSX -+#if V8_OS_LINUX || V8_OS_MACOSX || V8_OS_OPENBSD || V8_OS_FREEBSD +-#if V8_OS_LINUX || V8_OS_DARWIN ++#if V8_OS_LINUX || V8_OS_DARWIN || V8_OS_OPENBSD || V8_OS_FREEBSD bool TryHandleWebAssemblyTrapPosix(int sig_code, siginfo_t* info, void* context) { #if V8_ENABLE_WEBASSEMBLY && V8_TRAP_HANDLER_SUPPORTED diff --git a/lang/v8-beta/files/patch-src_base_cpu.cc b/lang/v8-beta/files/patch-src_base_cpu.cc index 21d3d4fb596d..e622d5bea128 100644 --- a/lang/v8-beta/files/patch-src_base_cpu.cc +++ b/lang/v8-beta/files/patch-src_base_cpu.cc @@ -1,6 +1,6 @@ ---- src/base/cpu.cc.orig 2021-11-15 18:52:12 UTC +--- src/base/cpu.cc.orig 2022-03-17 10:34:15 UTC +++ src/base/cpu.cc -@@ -575,6 +575,7 @@ CPU::CPU() +@@ -581,6 +581,7 @@ CPU::CPU() #if V8_OS_LINUX @@ -8,7 +8,7 @@ CPUInfo cpu_info; // Extract implementor from the "CPU implementer" field. -@@ -608,6 +609,7 @@ CPU::CPU() +@@ -614,6 +615,7 @@ CPU::CPU() } delete[] part; } diff --git a/lang/v8-beta/files/patch-src_base_platform_platform-posix.cc b/lang/v8-beta/files/patch-src_base_platform_platform-posix.cc index effa5c032da2..dec5f31e32fc 100644 --- a/lang/v8-beta/files/patch-src_base_platform_platform-posix.cc +++ b/lang/v8-beta/files/patch-src_base_platform_platform-posix.cc @@ -1,15 +1,15 @@ ---- src/base/platform/platform-posix.cc.orig 2022-01-23 11:58:51 UTC +--- src/base/platform/platform-posix.cc.orig 2022-03-17 10:34:15 UTC +++ src/base/platform/platform-posix.cc -@@ -547,7 +547,7 @@ bool OS::FreeAddressSpaceReservation(AddressSpaceReser +@@ -612,7 +612,7 @@ void OS::DestroySharedMemoryHandle(PlatformSharedMemor // static bool OS::HasLazyCommits() { --#if V8_OS_AIX || V8_OS_LINUX || V8_OS_MACOSX -+#if V8_OS_AIX || V8_OS_LINUX || V8_OS_MACOSX || V8_OS_FREEBSD +-#if V8_OS_AIX || V8_OS_LINUX || V8_OS_DARWIN ++#if V8_OS_AIX || V8_OS_LINUX || V8_OS_DARWIN || V8_OS_FREEBSD return true; #else // TODO(bbudge) Return true for all POSIX platforms. -@@ -686,6 +686,12 @@ int OS::GetCurrentThreadId() { +@@ -751,6 +751,12 @@ int OS::GetCurrentThreadId() { return static_cast(syscall(__NR_gettid)); #elif V8_OS_ANDROID return static_cast(gettid()); diff --git a/lang/v8-beta/pkg-plist b/lang/v8-beta/pkg-plist index 79585dd8a9f1..fe822237b60a 100644 --- a/lang/v8-beta/pkg-plist +++ b/lang/v8-beta/pkg-plist @@ -23,7 +23,6 @@ include/cppgc/internal/logging.h include/cppgc/internal/name-trait.h include/cppgc/internal/persistent-node.h include/cppgc/internal/pointer-policies.h -include/cppgc/internal/prefinalizer-handler.h include/cppgc/internal/write-barrier.h include/cppgc/liveness-broker.h include/cppgc/macros.h