[LLVMdev] llvm-gcc linux build broken

Török Edwin edwintorok at gmail.com
Wed Oct 1 06:37:35 PDT 2008


On 2008-10-01 15:04, Duncan Sands wrote:
> Anyone else seeing this?
>
> LLVM/gcc-4.2.llvm-objects/./gcc/xgcc -BLLVM/gcc-4.2.llvm-objects/./gcc/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/bin/ -B/usr/local/gnat-llvm/x86_64-unknown-linux-gnu/lib/ -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/include -isystem /usr/local/gnat-llvm/x86_64-unknown-linux-gnu/sys-include -c -DHAVE_CONFIG_H -O2 -g -O2  -I. -I../../../gcc-4.2.llvm/libiberty/../include  -W -Wall -pedantic -Wwrite-strings -Wstrict-prototypes -Wc++-compat ../../../gcc-4.2.llvm/libiberty/cplus-dem.c -o cplus-dem.o
> ../../../gcc-4.2.llvm/libiberty/cplus-dem.c:55: warning: function declaration isn’t a prototype
> ../../../gcc-4.2.llvm/libiberty/cplus-dem.c:55: error: conflicting types for ‘malloc’
>   

It builds here  (Linux x86_64), I use the following configure line:
../llvm-gcc4.2/configure  
--prefix=/home/edwin/llvm-svn/obj42/../install --program-prefix=llvm-
--enable-llvm=/home/edwin/llvm-svn/llvm/ --disable-multilib
--enable-checking=release --enable-languages=c,c++

What is yours?

Best regards,
--Edwin



More information about the llvm-dev mailing list