[LLVMdev] Unresolved symbols: LLVMInitializeARM64*
NAKAMURA Takumi
geek4civic at gmail.com
Mon Mar 31 07:33:30 PDT 2014
llvm-build misses something when a new target is added with automatic
reconfiguration.
It could be resolved to run configure manually again, without removing
whole the build tree;
$ ./config.status --recheck && ./config.status
2014-03-30 3:35 GMT+09:00 Krzysztof Parzyszek <kparzysz at codeaurora.org>:
> Hi,
> Compiling on PP64/FreeBSd, I get several of these:
>
> /usr/home/kparzysz/bld.lv/tools/llvm-mc/Release+Asserts/llvm-mc.o: In
> function `llvm::formatted_raw_ostream::~formatted_raw_ostream()':
> llvm-mc.cpp:(.text.startup.main+0xe4): undefined reference to
> `LLVMInitializeARM64TargetInfo'
> llvm-mc.cpp:(.text.startup.main+0x154): undefined reference to
> `LLVMInitializeARM64TargetMC'
> llvm-mc.cpp:(.text.startup.main+0x194): undefined reference to
> `LLVMInitializeARM64AsmParser'
> llvm-mc.cpp:(.text.startup.main+0x1dc): undefined reference to
> `LLVMInitializeARM64Disassembler'
> collect2: error: ld returned 1 exit status
> gmake[2]: *** [/usr/home/kparzysz/bld.lv/Release+Asserts/bin/llvm-mc] Error
> 1
> gmake[2]: Leaving directory `/usr/home/kparzysz/bld.lv/tools/llvm-mc'
> gmake[1]: *** [llvm-mc/.makeall] Error 2
>
> Am I missing something?
>
> Latest commits:
>
> --- LLVM
> commit 17576b2e165286dbc4e406c2dac93cc4ca8a823b
> Author: Benjamin Kramer <benny.kra at googlemail.com>
> Date: Sat Mar 29 18:00:49 2014 +0000
>
> ARM64: Remove unused helper function, make others static.
>
> git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205112
> 91177308-0d34-0410-b5e6-96231b3b80d8
>
> --- Clang
> commit d57bb79310cadab07ed3b56d0de55318916f2fb0
> Author: Tim Northover <tnorthover at apple.com>
> Date: Sat Mar 29 17:35:34 2014 +0000
>
> Install: add arm_neon.h header back
>
> I'd gone too far pruning aarch64_simd.h this time and took out one
> instance of arm_neon.h. This should restore us to the status quo.
>
> git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205111
> 91177308-0d34-0410-b5e6-96231b3b80d8
>
>
> -K
>
>
> --
> Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by
> The Linux Foundation
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
More information about the llvm-dev
mailing list