[lldb-dev] Linux: "doesn't contain the architecture x86_64"
Todd Fiala
tfiala at google.com
Mon Jul 21 17:10:13 PDT 2014
FWIW - I just tried this on Ubuntu 14.04 with a build at r213575 (earlier
today):
tfiala at tfiala2:/mnt/ssd/work/macosx.sync/mbp-git/build-debug$ bin/lldb
(lldb) file /bin/ls
Current executable set to '/bin/ls' (x86_64).
(lldb) run
Process 20313 launching
Process 20313 launched: '/bin/ls' (x86_64)
Process 20313 stopped
* thread #1: tid = 20313, 0x00007fdaa88d42d0, name = 'ls', stop reason = trace
frame #0: 0x00007fdaa88d42d0
error: No such process
2014-06-29-23_22_22 CMakeFiles examples rules.ninja
2014-06-29-23_22_40 cmake_install.cmake include share
bin CPackConfig.cmake lib test
build.ninja CPackSourceConfig.cmake lldb-test-traces tools
cmake docs LLVMBuild.cmake unittests
CMakeCache.txt DummyConfigureOutput projects utils
Process 20313 exited with status = 0 (0x00000000)
(lldb)
That seemed to work, but is Ubuntu 14.04 vs. 12.04.
-Todd
On Mon, Jul 21, 2014 at 5:08 PM, Todd Fiala <tfiala at google.com> wrote:
> Can you send me your /bin/ls? (Direct send to me, might need to .tar.gz
> it). I can see if we're identifying it correctly at the object file level.
>
> With recent platform additions, we may have borked something.
>
> Have you tried running the tests on your end? There are a few tests in
> test/functionalities/object-file that will verify if we're parsing the
> object files correctly.
>
>
>
> On Mon, Jul 21, 2014 at 5:05 PM, Keno Fischer <
> kfischer at college.harvard.edu> wrote:
>
>> This is on
>>
>> 64-bit Ubuntu 12.04.4 LTS (GNU/Linux 3.2.0-61-generic x86_64)
>>
>> I started a bisect. I can confirm that this worked on Feb 28 (I chose
>> that arbitrarily for the start of the bisect), so it must have broken since.
>>
>>
>> On Mon, Jul 21, 2014 at 5:01 PM, Todd Fiala <tfiala at google.com> wrote:
>>
>>> Hi Keno,
>>>
>>> Which Linux distribution and bitness (64/32) are you on?
>>>
>>> I've seen similar behavior when platforms or object files
>>> inappropriately identify (or mis-identify) which files they can do
>>> something with.
>>>
>>>
>>> On Mon, Jul 21, 2014 at 3:26 PM, Keno Fischer <
>>> kfischer at college.harvard.edu> wrote:
>>>
>>>> I just rebuilt lldb on a linux machine (usually I'm on mac), and I'm
>>>> seeing this (for all programs on the machine). Has anybody seen this
>>>> before (before I dive into debugging)?
>>>>
>>>> >usr/bin/lldb /bin/ls
>>>> error: '/bin/ls' doesn't contain the architecture x86_64
>>>>
>>>> Keno
>>>> _______________________________________________
>>>> lldb-dev mailing list
>>>> lldb-dev at cs.uiuc.edu
>>>> http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>>>>
>>>
>>>
>>>
>>> --
>>> Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
>>>
>>
>>
>
>
> --
> Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
>
--
Todd Fiala | Software Engineer | tfiala at google.com | 650-943-3180
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140721/558b32c4/attachment.html>
More information about the lldb-dev
mailing list