Bug ID 24548
Summary Build fails on unsupported archs for Native Thread
Product lldb
Version 3.7
Hardware PC
OS Linux
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter sylvestre@debian.org
CC llvm-bugs@lists.llvm.org
Classification Unclassified
On s390x, lldb fails to build with:
/«BUILDDIR»/llvm-toolchain-3.7-3.7~+rc3/tools/lldb/source/Plugins/Process/Linux/NativeThreadLinux.cpp:167:29:
error: 'NativeRegisterContextLinux' has not been declared
Full log:
[https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.7&arch=s390x&ver=1%3A3.7~%2Brc3-1&stamp=1440186826](https://buildd.debian.org/status/fetch.php?pkg=llvm-toolchain-3.7&arch=s390x&ver=1%3A3.7~%2Brc3-1&stamp=1440186826)
Instead of failure, we should disable the feature on unsupported arch.