Browse Source

lldb: blacklist for x86_64 for now due to build error

Error was:

 FAILED: tools/driver/Options.inc
 cd /home/builder/.termux-build/lldb/build && /data/data/com.termux/files/usr/bin/llvm-tblgen -gen-opt-parser-defs -I /home/builder/.termux-build/lldb/src/tools/driver -I /data/data/com.termux/files/usr/include /home/builder/.termux-build/lldb/src/tools/driver/Options.td -o tools/driver/Options.inc -d tools/driver/Options.inc.d
 /data/data/com.termux/files/usr/bin/llvm-tblgen: error while loading shared libraries: /lib/x86_64-linux-gnu/libc.so: invalid ELF header

%ci:no-build
emacs-27
Leonid Plyushch 5 years ago
parent
commit
8c985205b9
No known key found for this signature in database GPG Key ID: 45F2964132545795
  1. 3
      packages/lldb/build.sh

3
packages/lldb/build.sh

@ -18,6 +18,9 @@ TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
-DLLVM_LINK_LLVM_DYLIB=ON -DLLVM_LINK_LLVM_DYLIB=ON
" "
# Can't be compiled for x86_64 due to 'llvm-tblgen' error.
TERMUX_PKG_BLACKLISTED_ARCHES="x86_64"
termux_step_pre_configure() { termux_step_pre_configure() {
LDFLAGS+=" -Wl,--exclude-libs=libLLVMSupport.a" LDFLAGS+=" -Wl,--exclude-libs=libLLVMSupport.a"
} }

Loading…
Cancel
Save