Krzysztof Parzyszek
2014-Mar-29 18:35 UTC
[LLVMdev] Unresolved symbols: LLVMInitializeARM64*
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 at 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 at 205111 91177308-0d34-0410-b5e6-96231b3b80d8 -K -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
> Am I missing something?You've probably not rerun configure. It's been striking various bots throughout the day too. Cheers. Tim.
Krzysztof Parzyszek
2014-Mar-29 18:49 UTC
[LLVMdev] Unresolved symbols: LLVMInitializeARM64*
On 3/29/2014 1:42 PM, Tim Northover wrote:>> Am I missing something? > > You've probably not rerun configure. It's been striking various bots > throughout the day too.Configure was updated in a git-pull, so it did "reconfigure" upon "make all". I can again from scratch though. -K -- Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by The Linux Foundation
I had to run configure again after syncing to tip of tree. Before that, I was getting similar errors. I don't remember exactly if it was identical to what you are getting. Reed On 03/29/2014 11:35 AM, Krzysztof Parzyszek wrote:> 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 at 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 at 205111 > 91177308-0d34-0410-b5e6-96231b3b80d8 > > > -K > >
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 at 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 at 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