[LLVMdev] llvm-gcc4.2-2.4 build failure in /gcc/java/lang.c

Tielei Wang wangtielei at icst.pku.edu.cn
Thu Feb 12 23:25:12 PST 2009


Hi, every body,

I get stuck when trying to build llvm-gcc4.2-2.4 on x86_64 Linux with 
GCC-4.3.3. I meet this error:

make[3]: Entering directory `/home/wangtielei/TOOLS/llvm/llvm-gcc-obj/gcc'
/home/wangtielei/TOOLS/llvm/llvm-gcc-obj/./prev-gcc/xgcc 
-B/home/wangtielei/TOOLS/llvm/llvm-gcc-obj/./prev-gcc/ 
-B/usr/local/x86_64-unknown-linux-gnu/bin/ -c -g -O2 -DIN_GCC -W -Wall 
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic 
-Wno-long-long -Wno-variadic-macros -Wno-overlength-strings 
-Wold-style-definition -Wmissing-format-attribute -DHAVE_CONFIG_H -I. 
-Ijava -I../../llvm-gcc4.2-2.4.source/gcc 
-I../../llvm-gcc4.2-2.4.source/gcc/java 
-I../../llvm-gcc4.2-2.4.source/gcc/../include 
-I../../llvm-gcc4.2-2.4.source/gcc/../libcpp/include 
-I../../llvm-gcc4.2-2.4.source/gcc/../libdecnumber -I../libdecnumber 
-I/home/wangtielei/TOOLS/llvm/llvm-obj//include 
-I/home/wangtielei/TOOLS/llvm/llvm-2.4/include -DENABLE_LLVM 
-I/home/wangtielei/TOOLS/llvm/llvm-obj/../llvm-2.4/include -D_DEBUG 
-D_GNU_SOURCE -D__STDC_LIMIT_MACROS 
../../llvm-gcc4.2-2.4.source/gcc/java/lang.c -o java/lang.o
../../llvm-gcc4.2-2.4.source/gcc/java/lang.c: In function ‘java_init’:
../../llvm-gcc4.2-2.4.source/gcc/java/lang.c:378: error: 
‘force_align_functions_log’ undeclared (first use in this function)
../../llvm-gcc4.2-2.4.source/gcc/java/lang.c:378: error: (Each 
undeclared identifier is reported only once
../../llvm-gcc4.2-2.4.source/gcc/java/lang.c:378: error: for each 
function it appears in.)
make[3]: *** [java/lang.o] Error 1
make[3]: Leaving directory `/home/wangtielei/TOOLS/llvm/llvm-gcc-obj/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/home/wangtielei/TOOLS/llvm/llvm-gcc-obj'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/home/wangtielei/TOOLS/llvm/llvm-gcc-obj'
make: *** [all] Error 2


Anybody can help me?



More information about the llvm-dev mailing list