2019-05-29 06:15:17 +03:00
|
|
|
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
|
|
From: Shelley Vohr <shelley.vohr@gmail.com>
|
|
|
|
Date: Tue, 28 May 2019 18:12:17 -0700
|
2019-08-24 04:14:23 +03:00
|
|
|
Subject: fix_breakpad_symbol_generation_on_linux_arm.patch
|
2019-05-29 06:15:17 +03:00
|
|
|
|
|
|
|
Fixes broken Linux ARM breakpad symbol generation by patching
|
|
|
|
out an `ldd`-related call that was throwing.
|
|
|
|
|
|
|
|
diff --git a/components/crash/content/tools/generate_breakpad_symbols.py b/components/crash/content/tools/generate_breakpad_symbols.py
|
2019-10-18 22:57:34 +03:00
|
|
|
index 7ecc72117881fdfa64170d62f94627a7f6dda7ad..62c9dfaf7f4ac1bfaf6e453fad90bda66f682864 100755
|
2019-05-29 06:15:17 +03:00
|
|
|
--- a/components/crash/content/tools/generate_breakpad_symbols.py
|
|
|
|
+++ b/components/crash/content/tools/generate_breakpad_symbols.py
|
|
|
|
@@ -67,7 +67,8 @@ def GetSharedLibraryDependenciesLinux(binary, options):
|
|
|
|
"""Return absolute paths to all shared library dependencies of the binary.
|
|
|
|
|
|
|
|
This implementation assumes that we're running on a Linux system."""
|
|
|
|
- ldd = subprocess.check_output(['ldd', binary])
|
|
|
|
+ p = subprocess.Popen(['ldd', binary], stdout=subprocess.PIPE)
|
|
|
|
+ ldd = p.communicate()[0]
|
|
|
|
lib_re = re.compile('\t.* => (.+) \(.*\)$')
|
|
|
|
result = []
|
|
|
|
for line in ldd.splitlines():
|