[Lldb-commits] [PATCH] lldb: To allow cross-compilation of Linux/ProcessMonitor.cpp, hide PC-related stuff behind #ifdef's

Paul Osmialowski newchief at king.net.pl
Wed Jun 11 13:19:02 PDT 2014


Now I'm facing problem similar to this ("(...)doesnt contain any host 
platform architectures:"):

http://comments.gmane.org/gmane.comp.debugging.lldb.devel/3530

That's the message I got whet I tried to attach cross-compiled lldb to any 
process working in Linux that works in the emulator.

What I found in mentioned ArchSpec.cpp is that AArch64 architecture is 
defined as ARM64, while I'm building everything with 
-DLLVM_TARGET_ARCH=AArch64 (cmake setting). There must be some confusion 
with ARM64 vs AArch64 naming. I'll try to address it somehow in my free 
time.

On Wed, 11 Jun 2014, Todd Fiala wrote:

> Ah I see.
> I'll have to ping you separately on details - I had started doing something like that for some chip bringup a few months back.  Let me know how it goes!
> 
> Will have a look at this shortly.
> 
> 
> On Wed, Jun 11, 2014 at 1:08 PM, Paul Osmialowski <newchief at king.net.pl> wrote:
>       Hi Todd,
>
>       I'm cross-compiling on desktop Linux (x86_64) for Linaro Linux (Foundation_V2 AArch64 simulator) using Linaro's toolchain.
>
>       On Tue, 10 Jun 2014, Todd Fiala wrote:
>
>             Hey Paul,
>
>             Am I understanding you correctly that you are trying to cross compile this
>             for Linux on a non-Linux box?
>
>             -Todd
>
>             http://reviews.llvm.org/D4092
> 
> 
> 
> 
> 
> 
> --
> Todd Fiala |
>  Software Engineer |
>  tfiala at google.com |
>  650-943-3180
> 
>


More information about the lldb-commits mailing list