https://bugs.llvm.org/show_bug.cgi?id=52106

            Bug ID: 52106
           Summary: Cross Compiling Clang Build is broken in Clang 13
           Product: clang
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: Tooling
          Assignee: unassignedclangb...@nondot.org
          Reporter: lancethepa...@gmail.com
                CC: llvm-bugs@lists.llvm.org

I'm cross-compiling clang, lld and ldb for an arm32 cpu. I previously
cross-compiled clang 12.0.1, and am now trying to now compile clang 13.

With llvm 13 I'm now getting the error "clang-ast-dump: Exec format error". It
is attempting to run the cross-compiled 'clang-ast-dump' which of course won't
run on the build system.  I built the host version of 'clang-ast-dump' but I
can't see any cmake variable to tell it the location of the build system's
'clang-ast-dump' like with the various TABLEGEN.  I attempted putting it ahead
in the PATH but it doesn't automatically pick it up that way.

The issue was also brought up in this thread.
https://reviews.llvm.org/D93164/new/

Am I looking over a variable to pass this to cmake, or is there something I can
disable so it does not require 'clang-ast-dump'? I just want the c/c++
compiler, lld and ldb.

thanks,

Lance Fredrickson

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to