[LLVMdev] Building bitcode modules

Eric Christopher echristo at apple.com
Wed Sep 28 23:48:40 PDT 2011


On Sep 28, 2011, at 11:31 PM, Speziale Ettore wrote:

> Hi,
> 
> I have updated llvm to the 113aa8612010434069fc5b5e09f6b2667e03e173 git
> commit. I have a small llvm project that builds a bitcode library, so I
> used MODULE_NAME=foo to build foo.bc. Now, I cannot build the library,
> because a compatible compiler cannot be found (Makefile.rules:1052).
> 
> I have seen that configure.ac has been modified, so:
> 
> 1) there is an update in progress?

No

> 2) I have to use cmake instead of autoconf?

Definitely not.

> 3) The way to build bitcode modules has changed?

Not really.

What compiler are you using to build with? I've made it default to clang with less looking around for llvm-gcc, so there may be an issue there. What is your configure line? What host are you trying to build on?

-eric



More information about the llvm-dev mailing list