gcc-4.0.2 in section 10

Justin justinwhelan at tiscali.co.uk
Wed Dec 21 06:39:27 PST 2005


Hi,

I am having trouble compiling the CLFS-SVN-20051220 (multilibs). The 
specific failure is in chapter 10, gcc-4.0.2. It runs through configure 
fine, but around 10 minutes into the make I get the following errors..

make[3]: Entering directory 
`/sources/gcc-build/x86_64-unknown-linux-gnu/libmudflap'
if /bin/sh ./libtool --mode=compile /sources/gcc-build/gcc/xgcc 
-B/sources/gcc-build/gcc/ -B/usr/x86_64-unknown-linux-gnu/bin/ 
-B/usr/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/x86_64-unknown-linux-gnu/include -isystem 
/usr/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. 
-I../../../gcc-4.0.2/libmudflap -I.    -Wall -ffunction-sections 
-fdata-sections -O2 -g -O2  -MT mf-runtime.lo -MD -MP -MF 
".deps/mf-runtime.Tpo" -c -o mf-runtime.lo 
../../../gcc-4.0.2/libmudflap/mf-runtime.c; \
then mv -f ".deps/mf-runtime.Tpo" ".deps/mf-runtime.Plo"; else rm -f 
".deps/mf-runtime.Tpo"; exit 1; fi
/sources/gcc-build/gcc/xgcc -B/sources/gcc-build/gcc/ 
-B/usr/x86_64-unknown-linux-gnu/bin/ 
-B/usr/x86_64-unknown-linux-gnu/lib/ -isystem 
/usr/x86_64-unknown-linux-gnu/include -isystem 
/usr/x86_64-unknown-linux-gnu/sys-include -DHAVE_CONFIG_H -I. 
-I../../../gcc-4.0.2/libmudflap -I. -Wall -ffunction-sections 
-fdata-sections -O2 -g -O2 -MT mf-runtime.lo -MD -MP -MF 
.deps/mf-runtime.Tpo -c ../../../gcc-4.0.2/libmudflap/mf-runtime.c  
-fPIC -DPIC -o .libs/mf-runtime.o
../../../gcc-4.0.2/libmudflap/mf-runtime.c:167: error: conflicting types 
for '__mf_lc_mask'
../../../gcc-4.0.2/libmudflap/mf-runtime.h:19: error: previous 
declaration of '__mf_lc_mask' was here
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mfu_check':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:807: warning: cast from 
pointer to integer of different size
[lots more]
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function 
'__mf_insert_new_object':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:1050: warning: cast to 
pointer from integer of different size
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mfu_register':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:1121: warning: cast from 
pointer to integer of different size
[lots more]
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mfu_unregister':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:1217: warning: cast from 
pointer to integer of different size
[lots more]
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mf_adapt_cache':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:1465: warning: cast to 
pointer from integer of different size
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function 
'__mf_describe_object':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:1682: warning: cast to 
pointer from integer of different size
[lots more]
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mf_violation':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:1956: warning: cast to 
pointer from integer of different size
[lots more]
../../../gcc-4.0.2/libmudflap/mf-runtime.c: In function '__mf_watch_or_not':
../../../gcc-4.0.2/libmudflap/mf-runtime.c:2126: warning: cast from 
pointer to integer of different size
[lots more]
make[3]: *** [mf-runtime.lo] Error 1
make[3]: Leaving directory 
`/sources/gcc-build/x86_64-unknown-linux-gnu/libmudflap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/sources/gcc-build/x86_64-unknown-linux-gnu/libmudflap'
make[1]: *** [all] Error 2
make[1]: Leaving directory 
`/sources/gcc-build/x86_64-unknown-linux-gnu/libmudflap'
make: *** [all-target-libmudflap] Error 2

I have 2 main concerns with the above code, the first is the actual 
failure, and the second is the fact that my system is generating -> 
x86_64-unknown-linux-gnu.

Are the two problems related, running uname -p/-m also indicates 
unknown, however all other uname commands seem to be ok.

Thanks in advance for any help you can offer,

Justin Whelan



More information about the cross-lfs mailing list