[LLVMdev] Building LLVM 2.7 on OpenSolaris
Eric Christopher
echristo at apple.com
Thu Jul 29 17:40:35 PDT 2010
On Jul 29, 2010, at 5:36 PM, Laszlo Kiss wrote:
> The build process fails to link the LLVM tools. Specifically, the
> first tool to build is 'opt' which results in 700+ undefined symbols.
>
> I looked into the Makefiles and found that the "LINK_COMPONENTS" make
> variable does not get the correct set of libraries. In fact, at the
> top level Makefile.rules, the variable is set to "support system",
> however, these do not seem to make it to the 'opt' make context.
>
> The list of libraries for 'opt' is (from the g++ link command):
>
> ... -lLLVMipo -lLLVMScalarOpts -lLLVMInstrumentation -lLLVMAsmParser -
> lLLVMBitWriter -lLLVMBitReader ...
>
> It is missing at a minimum LLVMCore, which when added reduces the
> unresolved externals to 400+.
>
> Guidance about how to deal with the link process would be great.
>
It should work, however, none of us that I know of have access to solaris.
At minimum you should file a bug (llvm.org/bugs) with your configure and
make output.
I'm also curious why you chose those configure options (not --prefix, the
others).
-eric
More information about the llvm-dev
mailing list