[cfe-dev] compilation failures

Eli Friedman eli.friedman at gmail.com
Tue Mar 9 16:01:01 PST 2010


On Tue, Mar 9, 2010 at 3:35 PM, Stefan Seefeld <stefan.seefeld at gmail.com> wrote:
> I'm also seeing compilation failures in llvm proper, which I'm working
> around with "make -C tools/clang".
> I get
>
> llvm[2]: Compiling AsmMatcherEmitter.cpp for Debug build
> In file included from AsmMatcherEmitter.cpp:78:
> Record.h: In constructor ‘llvm::VarBitInit::VarBitInit(llvm::TypedInit*,
> unsigned int)’:
> Record.h:973: error: ‘dynamic_cast’ not permitted with -fno-rtti
>
> How I can instruct the build system to print out the compiler command line ?
> And why does it want to compile with -fno-rtti, when the code actually
> requires it ?

Can you try building LLVM+clang with a clean tree?  This looks like
something is going very wrong in the configuration.

-Eli




More information about the cfe-dev mailing list