[lldb-dev] [lldb-3.4] 'host' Platform architecture error

Maxime PUYS drakes00 at gmail.com
Fri Apr 4 00:00:19 PDT 2014


Hello Greg,

Please find attached the 'test.o' file.
i396 is definitly a typo of mine (i386 was meant).

Best regards,
Maxime.


2014-04-03 20:24 GMT+02:00 Greg Clayton <gclayton at apple.com>:

> If you can attach your .o file, I can take a look.
>
> and is the "i396" a typo in the error message?
>
> On Apr 3, 2014, at 7:19 AM, Maxime PUYS <drakes00 at gmail.com> wrote:
>
> > Hello,
> >
> > I am trying to run a program with lldb-3.4 but I always get the same
> error :
> > $ uname -a
> > Linux llvm-dev-x64 3.11.0-12-generic #19-Ubuntu SMP Oct 9 16:20:46 UTC
> 2013 x86_64 x86_64 x86_64 GNU/Linux
> >
> > $ clang -v
> > Ununtu clang version 3.4-1ubuntu1 (trunk) (based on LLVM 3.4)
> > Target: x86_64-pc-linux-gnu
> > Thread model: posix
> > $ cat test.c
> > #include <stdio.h>
> >
> > int main(void) {
> > int n = 5;
> > printf("n=%i\n", n);
> > return 0;
> > }
> > $ clang test.c -emit-llvm -c -o test.o
> > $ lldb-3.4 -v
> > lldb version 3.4 (  revision  )
> > $ lldb-3.4 test.o
> > error: '/home/llvm/tmp/test.o' doesn't contain any 'host' platform
> architectures: x86_64, i396
> > (lldb)
> > Thank you in advance,
> > Best regards.
> > _______________________________________________
> > lldb-dev mailing list
> > lldb-dev at cs.uiuc.edu
> > http://lists.cs.uiuc.edu/mailman/listinfo/lldb-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140404/2678cfe5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.c
Type: text/x-csrc
Size: 83 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140404/2678cfe5/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.ll
Type: application/octet-stream
Size: 1111 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140404/2678cfe5/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.o
Type: application/x-object
Size: 1248 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/lldb-dev/attachments/20140404/2678cfe5/attachment.o>


More information about the lldb-dev mailing list