[LLVMdev] LLVM-gcc for Ada

Duncan Sands baldrick at free.fr
Mon May 25 07:59:42 PDT 2009


Hi Andre,

> I'm trying to build LLVM-gcc to compile Ada.

excellent!

But I'm having a few problems.

Oops :(

> Now when I ran make I get an error that for me it seams very weird.
> 
> ../../gcc/c-format.c: In function 'set_Wformat':
> ../../gcc/c-format.c:48: error: 'warn_format_security' undeclared (first 
> use in this function)
> ../../gcc/c-format.c:48: error: (Each undeclared identifier is reported 
> only once
> ../../gcc/c-format.c:48: error: for each function it appears in.)
> ../../gcc/c-format.c: In function 'check_format_info':
> ../../gcc/c-format.c:1304: error: 'warn_format_security' undeclared 
> (first use in this function)
> make[2]: *** [c-format.o] Error 1
> make[2]: Leaving directory `/home/andrelct/apps/llvm-gcc/build/gcc'
> make[1]: *** [all-gcc] Error 2
> make[1]: Leaving directory `/home/andrelct/apps/llvm-gcc/build'
> make: *** [all] Error 2

Looks like you forgot to specify --enable-llvm when configuring
llvm-gcc.

Ciao,

Duncan.



More information about the llvm-dev mailing list