[llvm-dev] libunwind build errors on aarch64 during LLVM/Clang installation
Tim Northover via llvm-dev
llvm-dev at lists.llvm.org
Mon Jul 3 16:57:31 PDT 2017
On 3 July 2017 at 15:11, via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> Os: Ubuntu 16.04, gcc/g++ : 4.8
The GNU assembler doesn't support "fp" as an alias for "x29" so it's
complaining about that load instruction. Similarly "lr" is an alias
for "x30".
Libunwind in trunk has been fixed to be compatible with GNU now (the
instruction is "ldp x28, x29, [x0, #0x0e0]" etc) but obviously that
happened after 3.8 branched (it *was* quite a while ago, you're almost
always better using the latest release for LLVM). There'll be a
similar errors in UnwindRegistersSave.S.
Cheers.
Tim.
More information about the llvm-dev
mailing list