mirror of
https://github.com/electron/electron.git
synced 2026-01-08 15:13:52 -05:00
* chore: bump chromium in DEPS to 137.0.7151.0 * chore: update patches --------- Co-authored-by: electron-roller[bot] <84116207+electron-roller[bot]@users.noreply.github.com> Co-authored-by: John Kleinschmidt <jkleinsc@electronjs.org>
24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Samuel Maddock <smaddock@slack-corp.com>
|
|
Date: Fri, 28 Mar 2025 20:22:26 -0400
|
|
Subject: revert: Enable CREL for arm32 targets
|
|
|
|
Enabling CREL on Linux ARM64 seems to cause it to segfault. Disable for Electron
|
|
as its one of our supported platforms.
|
|
https://chromium-review.googlesource.com/q/I3a62f02f564f07be63173b0773b4ecaffbe939b9
|
|
|
|
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
|
|
index e579cc9a9d1fd01d390a64886f649dc53102166e..de1f3b7b1a33bf5ab4f6922f0cb2d305a8af7550 100644
|
|
--- a/build/config/compiler/BUILD.gn
|
|
+++ b/build/config/compiler/BUILD.gn
|
|
@@ -619,7 +619,8 @@ config("compiler") {
|
|
|
|
# Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
|
|
# (excluding toolchains that use an older version of LLVM).
|
|
- if (is_linux && use_lld && !llvm_android_mainline &&
|
|
+ # TODO(crbug.com/376278218): This causes segfault on Linux ARM builds.
|
|
+ if (is_linux && use_lld && !llvm_android_mainline && current_cpu != "arm" &&
|
|
default_toolchain != "//build/toolchain/cros:target") {
|
|
cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
|
|
}
|