The package rpms/v8.git has added or updated architecture specific content in its
spec file (ExclusiveArch/ExcludeArch or %ifarch/%ifnarch) in commit(s):
https://src.fedoraproject.org/cgit/rpms/v8.git/commit/?id=3c8bd8a5cbf6e7d....
Change:
+%ifarch i686
Thanks.
Full change:
============
commit 3c8bd8a5cbf6e7de4e88413caaa671c210c91e8f
Author: Tom Callaway <spot(a)fedoraproject.org>
Date: Thu Aug 3 17:17:21 2017 -0400
different way of doing g1
diff --git a/v8-6.2.91-i686-g1-to-avoid-mem-exhaust.patch
b/v8-6.2.91-i686-g1-to-avoid-mem-exhaust.patch
index cc6e0cc..3c44878 100644
--- a/v8-6.2.91-i686-g1-to-avoid-mem-exhaust.patch
+++ b/v8-6.2.91-i686-g1-to-avoid-mem-exhaust.patch
@@ -1,23 +1,12 @@
-diff -up v8-6.2.91/build/toolchain/linux/BUILD.gn.memexhaust
v8-6.2.91/build/toolchain/linux/BUILD.gn
---- v8-6.2.91/build/toolchain/linux/BUILD.gn.memexhaust 2017-08-03 11:59:42.310877752
-0400
-+++ v8-6.2.91/build/toolchain/linux/BUILD.gn 2017-08-03 12:00:13.030150723 -0400
-@@ -55,6 +55,9 @@ clang_toolchain("clang_x86") {
- # Output linker map files for binary size analysis.
- enable_linker_map = true
-
-+ # Turn debugging down to avoid memory exhaustion
-+ extra_cppflags = "-g1"
-+
- toolchain_args = {
- current_cpu = "x86"
- current_os = "linux"
-@@ -94,6 +97,9 @@ gcc_toolchain("x86") {
- ar = "ar"
- ld = cxx
-
-+ # Turn debugging down to avoid memory exhaustion
-+ extra_cppflags = "-g1"
-+
- # Output linker map files for binary size analysis.
- enable_linker_map = true
-
+diff -up v8-6.2.91/build/config/compiler/BUILD.gn.memexhaust
v8-6.2.91/build/config/compiler/BUILD.gn
+--- v8-6.2.91/build/config/compiler/BUILD.gn.memexhaust 2017-08-03 17:15:41.355834826
-0400
++++ v8-6.2.91/build/config/compiler/BUILD.gn 2017-08-03 17:15:46.587704667 -0400
+@@ -1739,7 +1739,7 @@ config("symbols") {
+ # TODO(thakis): Remove this again once dump_syms is fixed.
+ cflags += [ "-gdwarf-3" ]
+ }
+- cflags += [ "-g2" ]
++ cflags += [ "-g1" ]
+ }
+ if (use_debug_fission) {
+ cflags += [ "-gsplit-dwarf" ]
diff --git a/v8.spec b/v8.spec
index 059a770..556c1e2 100644
--- a/v8.spec
+++ b/v8.spec
@@ -65,7 +65,7 @@ Patch7: v8-6.2.91-noxlocale.patch
# do not assume we are cross compiling
# silly google
Patch8: v8-6.2.91-notcross.patch
-# Use -g1 to avoid mem exhaust on i686
+# On i686, use -g1 to avoid mem exhaust
Patch9: v8-6.2.91-i686-g1-to-avoid-mem-exhaust.patch
ExclusiveArch: %{ix86} x86_64 %{arm} ppc ppc64 aarch64 mipsel mips64el s390 s390x
BuildRequires: readline-devel, libicu-devel, ninja-build
@@ -103,7 +103,9 @@ Python libraries from v8.
%patch6 -p1 -b .sover
%patch7 -p1 -b .noxlocale
%patch8 -p1 -b .notcross
+%ifarch i686
%patch9 -p1 -b .memexhaust
+%endif
cp -a %{SOURCE2} third_party/icu/BUILD.gn