[LLVMdev] Building LLVM-GCC on Linux/PowerPC failed

陳韋任 chenwj at iis.sinica.edu.tw
Wed Jan 5 22:07:59 PST 2011


Hi, Anton

  The "--disable-bootstrap" give me no luck. Why you think that
"--disable-bootstrap" might help?

  Here is my configuration options,
-----------------------------------------------------------------------------
../llvm-gcc-4.2-2.8.source/configure --prefix=/tmp/chenwj/install
--disable-bootstrap --disable-multilib --program-prefix=llvm-
--enable-llvm=/enwj/install --enable-languages=c,c++
-----------------------------------------------------------------------------

  And here is the error messge,
-----------------------------------------------------------------------------
/tmp/chenwj/build/./gcc/xgcc -B/tmp/chenwj/build/./gcc/
-B/tmp/chenwj/install/powerpc64-unknown-linux-gnu/bin/
-B/tmp/chenwj/install/powerpc64-unknown-linux-gnu/lib/ -isystem
/tmp/chenwj/install/powerpc64-unknown-linux-gnu/include -isystem
/tmp/chenwj/install/powerpc64-unknown-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I../../../llvm-gcc-4.2-2.8.source/libmudflap -I.
-Wall -ffunction-sections -fdata-sections -O2 -g -O2 -MT mf-hooks2.lo
-MD -MP -MF .deps/mf-hooks2.Tpo -c
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c  -fPIC -DPIC -o
.libs/mf-hooks2.o
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c: In function
'__mfwrap_recvfrom':
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c:1342: error:
incompatible type for argument 5 of 'recvfrom'
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c: In function
'__mfwrap_sendto':
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c:1368: error:
incompatible type for argument 5 of 'sendto'
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c: In function
'__mfwrap_accept':
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c:1405: error:
incompatible type for argument 2 of 'accept'
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c: In function
'__mfwrap_bind':
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c:1413: error:
incompatible type for argument 2 of 'bind'
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c: In function
'__mfwrap_connect':
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c:1423: error:
incompatible type for argument 2 of 'connect'
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c: In function
'__mfwrap_wait':
../../../llvm-gcc-4.2-2.8.source/libmudflap/mf-hooks2.c:1537: error:
incompatible type for argument 1 of 'wait'
make[4]: *** [mf-hooks2.lo] Error 1
make[4]: Leaving directory
`/tmp/chenwj/build/powerpc64-unknown-linux-gnu/libmudflap'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/tmp/chenwj/build/powerpc64-unknown-linux-gnu/libmudflap'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/tmp/chenwj/build/powerpc64-unknown-linux-gnu/libmudflap'
-----------------------------------------------------------------------------

Regards,
chenwj

-- 
Wei-Ren Chen (陳韋任)
Parallel Processing Lab, Institute of Information Science,
Academia Sinica, Taiwan (R.O.C.)
Tel:886-2-2788-3799 #1667




More information about the llvm-dev mailing list