This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

GCC 3.1 Build Errors


I am unable to build gcc on True64 4.0g. I use the following configure
command:

../configure --prefix=/opt/gcc31 --enable-libgcj --enable-threads=posix
--enable-languages=c,c++,f77,java

I am using gcc 3.0 to build version 3.1.

On three occasions I get the following error:

./xgcc -B./ -B/opt/gcc31/alphaev6-dec-osf4.0g/bin/ -isystem
/opt/gcc31/alphaev6-dec-osf4.0g/include -pthread -O2   -DIN_GCC    -W -W
all -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -isystem
./include  -fPIC -g1 -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_
FLOAT_NOT_NEEDED  -shared -nodefaultlibs -Wl,-msym -Wl,-set_version,gcc.1
-Wl,-soname,libgcc_s.so.1 -o libgcc_s.so   libgcc/./_muldi
3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o
libgcc/./_ashrdi3.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_cmpd
i2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o
libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsd
fdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o
libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.
o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o
libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_trampoli
ne.o libgcc/./__main.o libgcc/./_exit.o libgcc/./_absvsi2.o
libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_su
bvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o
libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc
/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o
libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./qrnn
d.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o
-lc && rm -f libgcc_s.so.1 && ln -s libgcc_s.so libgcc_s.
so.1
/usr/bin/ld:
Warning: Unresolved:
__pthread_create
__pthread_once
__pthread_mutex_unlock
__pthread_mutex_lock
/usr/bin/ld:
Warning: Unresolved:
__pthread_create
__pthread_once
__pthread_mutex_unlock
__pthread_mutex_lock

The build proceeds until I get the following:

Bootstrap comparison failure!
crtfastmath.o differs
make[1]: *** [compare] Error 1
make[1]: Leaving directory `/home/dwmorsb/gcc/build/gcc'
make: *** [bootstrap] Error 2

I did notice each stage gave me the following errors:

mv *.o insn-flags.h insn-config.h insn-codes.h insn-output.c insn-recog.c
insn-emit.c insn-extract.c insn-peep.c insn-attr.h insn-at
trtab.c insn-opinit.c insn-constants.h tm-preds.h tree-check.h s-flags
s-config s-codes s-mlib s-under s-genrtl s-output s-recog s-e
mit s-extract s-peep s-check s-attr s-attrtab s-opinit s-preds s-constants
s-crt0 genemit genoutput genrecog genextract genflags gen
codes genconfig genpeep genattrtab genattr genopinit gengenrtl gencheck
genpreds genconstants genrtl.c genrtl.h xgcc cpp cc1 cpp0 mi
ps-tfile mips-tdump  crtfastmath.o  gcc-cross cc1obj enquire protoize
unprotoize specs collect2 collect2 underscore.c tradcpp0 gcov
*.[0-9][0-9].* *.[si] libcpp.a libbackend.a libgcc.mk g++ g++-cross cc1plus
g77 g77-cross f771 jc1 gcj jvgenmain gcjh jv-scan jcf-du
mp stage2
mv: rename s-crt0 to stage2: No such file or directory
mv: rename crtfastmath.o to stage2: No such file or directory
mv: rename gcc-cross to stage2: No such file or directory
mv: rename cc1obj to stage2: No such file or directory
mv: rename enquire to stage2: No such file or directory
mv: rename protoize to stage2: No such file or directory
mv: rename unprotoize to stage2: No such file or directory
mv: rename collect2 to stage2: No such file or directory
mv: rename *.[0-9][0-9].* to stage2: No such file or directory
mv: rename *.[si] to stage2: No such file or directory
mv: rename g++-cross to stage2: No such file or directory
mv: rename g77-cross to stage2: No such file or directory

Any ideas?
-- 
David Morsberger 


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]