[LLVMdev] Undefined references when LLVM is configured with "--host=x86_64-gnu-linux --target=x86_64-w64-mingw32"

NAKAMURA Takumi geek4civic at gmail.com
Tue Aug 23 03:10:09 PDT 2011


Ruben,

Your failure must be due to --disable-pthreads.
lib/Support/Unix/Mutex.inc does not have "acquire()".
(Shall we fix it?)

It might be a bug, though, --disable-pthreads would not make sense to
your configuration.
--enable-pthreads affects host platform.

Note, LLVM and Clang have multi-target architecture. --target is
understood as "default target".
(EE/JIT should take the host triplet then. Consider "--target=i686
--host=x86_64 --build=i686")

...Takumi



More information about the llvm-dev mailing list