[lldb-dev] [Bug 24959] New: Mismatch between binary and host architectures unless absolute path is given
lldb-dev at lists.llvm.org
Mon Sep 28 03:58:12 PDT 2015
Bug ID: 24959
Summary: Mismatch between binary and host architectures unless
absolute path is given
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: evangelos at foutrelis.com
CC: llvm-bugs at lists.llvm.org
The following behavior in LLDB 3.7.0 seems quite weird; unless I specify an
absolute path, lldb will refuse to create a target for an executable that
exists in $PATH. If I specify an absolute path then it works fine. (Perhaps
related to bug 20400.)
`llvm-config --host-target` prints "i686-pc-linux-gnu".
Bellow is an lldb session that showcases the issue:
(lldb) target create ls
error: '/usr/bin/ls' doesn't contain any 'host' platform architectures: i686
(lldb) target create /usr/bin/ls
Current executable set to '/usr/bin/ls' (i386).
(lldb) target list
* target #0: /usr/bin/ls ( arch=i386-unknown-linux, platform=remote-linux )
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev