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]

egcs on Sparc/Linux : 1.0.2 SUCCESS 980321 FAILURE



Hi folks,

first of all, nice job ! At least a compiler one can compile nearly as if
it was gawk or GNU make...

Platform : 
----------

software : Linux kernel 2.0.30 (vanilla RedHat 4.2) with libc 5.3.12 
hardware : Sun SPARCstation IPX 
bootstrap compiler : gcc-2.7.2.1 (RH 4.2 binary)

config.guess says : sparc-unknown-linux-gnulibc1

-----

egcs-980321 : FAILURE
gas chokes when asked to build _muldi3 (libgcc2.c),
see egcs-make-boostrap-tail (tail -3 nohup.out)  [apologies in advance if
this is a FAQ]

egcs-1.0.2 : SUCCESS (nearly out of the box)
I had to define NEED_ATEXIT, otherwise gbl-ctors.h
was fighting with stdlib's definition of atexit().


Keep up the good job !

	-- Cyrille

make: *** [bootstrap] Error 2
make[1]: Entering directory `/usr/src/egcs/egcs-980321/objdir/libiberty'
make[2]: Entering directory `/usr/src/egcs/egcs-980321/objdir/libiberty'
make[2]: Leaving directory `/usr/src/egcs/egcs-980321/objdir/libiberty'
make[1]: Leaving directory `/usr/src/egcs/egcs-980321/objdir/libiberty'
make[1]: Entering directory `/usr/src/egcs/egcs-980321/objdir/texinfo'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/usr/src/egcs/egcs-980321/objdir/texinfo'
Bootstrapping the compiler
make[1]: Entering directory `/usr/src/egcs/egcs-980321/objdir/gcc'
make CC="gcc" libdir=/usr/local/lib LANGUAGES="c "
make[2]: Entering directory `/usr/src/egcs/egcs-980321/objdir/gcc'
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3 _ashldi3 _ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf _floatdisf _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi _fixunsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp _varargs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors _eh  _pure; \
do \
  echo ${name}; \
  ./xgcc -B./ -O2   -DIN_GCC   -DUSE_GNULIBC_1 -g -I./include  -fPIC -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -fexceptions   -I. -I../../gcc -I../../gcc/config -c -DL${name} \
      ../../gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
/tmp/cca04725.s: Assembler messages:
/tmp/cca04725.s:207: Error: misaligned data
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/usr/src/egcs/egcs-980321/objdir/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/usr/src/egcs/egcs-980321/objdir/gcc'
make: *** [bootstrap] Error 2

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