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@googlemail.com>

Am I missing something?

You've probably not rerun configure. It's been striking various bots
throughout the day too.

Cheers.

Tim.

Configure was updated in a git-pull, so it did "reconfigure" upon "make all". I can again from scratch though.

-K

Removing the build directory and reconfiguring manually worked.

-K

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

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