lldb fails to start with 'doesn't contain the architecture x86_64'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
LLVM |
Invalid
|
Medium
|
|||
llvm-toolchain-3.5 (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
When I try to run binary of ls in lldb I get this
$ lldb-3.5 /bin/ls
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named lldb.embedded_
error: '/bin/ls' doesn't contain the architecture x86_64
(lldb)
file command says it is x86_64:
$ file /bin/ls
/bin/ls: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[
ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: lldb-3.5 (not installed)
ProcVersionSign
Uname: Linux 3.16.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.14.7-0ubuntu8
Architecture: amd64
CurrentDesktop: KDE
Date: Sun Oct 26 16:29:28 2014
InstallationDate: Installed on 2014-07-05 (112 days ago)
InstallationMedia: Kubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.1)
SourcePackage: llvm-toolchain-3.5
UpgradeStatus: Upgraded to utopic on 2014-08-30 (57 days ago)
Changed in llvm-toolchain-3.5 (Ubuntu): | |
importance: | Undecided → High |
summary: |
- lldb-3.5 does not work + lldb fails to start with 'doesn't contain the architecture x86_64' |
Changed in llvm: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in llvm: | |
status: | Confirmed → Invalid |
Created attachment 12939
A "hello world" program that LLDB should be capable of debugging, but instead complains that it doesn't "contain" the right architecture.
Debian's LLDB 3.3 was able to load executables, but the latest Debian release produces this error, and so does a freshly-built binary from the SVN repository.
This error message is Google-proof. I can't find any information at all as to a possible cause.