diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-29 01:16:47 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-29 11:12:52 +0200 |
commit | 122e6582d33dc55d00d5f3bee4100aeff01e1dbb (patch) | |
tree | 2b611eea17b505306a89b0b5ca2fef4ad7a02f8a /testing/lldb | |
parent | 34b5ddad1e811119825ca579c615f9b969ed8521 (diff) | |
download | aports-122e6582d33dc55d00d5f3bee4100aeff01e1dbb.tar.bz2 aports-122e6582d33dc55d00d5f3bee4100aeff01e1dbb.tar.xz |
testing/lldb: fix missing user_pt_regs and user_fpsimd_state on aarch64
Diffstat (limited to 'testing/lldb')
-rw-r--r-- | testing/lldb/APKBUILD | 12 | ||||
-rw-r--r-- | testing/lldb/musl-include-ptrace.aarch64.patch | 17 |
2 files changed, 25 insertions, 4 deletions
diff --git a/testing/lldb/APKBUILD b/testing/lldb/APKBUILD index 18898015eb..94f822daf4 100644 --- a/testing/lldb/APKBUILD +++ b/testing/lldb/APKBUILD @@ -14,7 +14,8 @@ makedepends="clang clang-libs clang-dev cmake doxygen libedit-dev libffi-dev subpackages="$pkgname-dev py-$pkgname:py $pkgname-libs" source="http://llvm.org/releases/$pkgver/lldb-$pkgver.src.tar.xz lldb-3.8-alpine.patch - D15067.id41365.patch" + D15067.id41365.patch + musl-include-ptrace.aarch64.patch" builddir="$srcdir/build" _srcdir="$srcdir/lldb-$pkgver.src" @@ -58,10 +59,13 @@ py() { md5sums="9e4787b71be8e432fffd31e13ac87623 lldb-3.8.1.src.tar.xz 985443fb4b6ad8742743ff8ea4856ac1 lldb-3.8-alpine.patch -78785ba3c6a19b3f805abd261109a595 D15067.id41365.patch" +78785ba3c6a19b3f805abd261109a595 D15067.id41365.patch +f13ad6da35dba8fe7bc299b2465f1456 musl-include-ptrace.aarch64.patch" sha256sums="349148116a47e39dcb5d5042f10d8a6357d2c865034563283ca512f81cdce8a3 lldb-3.8.1.src.tar.xz bc9c8ba97e5ee9f9e29946b1cc611a75a3a8ba4fa4e2727e4514b5c8b0c6ca14 lldb-3.8-alpine.patch -c6dd7dee0856f2ea20bd697f8aa3b09cef04fd32ff2daa9e3625ef69f5bab61f D15067.id41365.patch" +c6dd7dee0856f2ea20bd697f8aa3b09cef04fd32ff2daa9e3625ef69f5bab61f D15067.id41365.patch +6038588b2089bfdbf1a0168208a443d8832622188076e79f3d2c2545eb73fc53 musl-include-ptrace.aarch64.patch" sha512sums="d73c55daed6ef5e5ca784c7010f2d75be26024b14fa61a2861a8a6cbe129e417fb7be2a3b532e17e9d7de98ae38ce6a689d8166049eff365fb04f4bd772758f3 lldb-3.8.1.src.tar.xz b935be858c45958018ed79557f8061dee18d0949beaff4c717233497f86432c7811960c5a656772a9858e314122049121985cd8333758c508a806653b9200c1b lldb-3.8-alpine.patch -3c10e8b059d5db12776f066b679c328e54bc40d139830c4a49ec35acfa6b9775b1544fd1cb83cc1c0f449b28657c57c2d3d92d08f4c373d4ea413aed5bb3a4f9 D15067.id41365.patch" +3c10e8b059d5db12776f066b679c328e54bc40d139830c4a49ec35acfa6b9775b1544fd1cb83cc1c0f449b28657c57c2d3d92d08f4c373d4ea413aed5bb3a4f9 D15067.id41365.patch +1613a1cb042edd430aba6b86e4971ebb01f7d2bc3f13a5a1264cb94da7612188897e9dcaaa9233be8af5c8f4bad013dd0cfb821e323cd73dfe07fe125869ccef musl-include-ptrace.aarch64.patch" diff --git a/testing/lldb/musl-include-ptrace.aarch64.patch b/testing/lldb/musl-include-ptrace.aarch64.patch new file mode 100644 index 0000000000..f6ec2cc34b --- /dev/null +++ b/testing/lldb/musl-include-ptrace.aarch64.patch @@ -0,0 +1,17 @@ +From: Jakub Jirutka <jakub@jirutka.cz> +Date: Mon, 29 Aug 2016 00:18:00 +0200 +Subject: [PATCH] Fix compile error on aarch64 + +NativeRegisterContextLinux_arm64 uses user_pt_regs and user_fpsimd_state +which are defined in asm/ptrace.h. + +--- a/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp ++++ b/source/Plugins/Process/Linux/NativeRegisterContextLinux_arm64.cpp +@@ -29,6 +29,7 @@ + + // System includes - They have to be included after framework includes because they define some + // macros which collide with variable names in other modules ++#include <asm/ptrace.h> + #include <sys/socket.h> + // NT_PRSTATUS and NT_FPREGSET definition + #include <elf.h> |