make error

Helfried Tschemmernegg helfried.t@gmx.at
Thu Aug 24 08:48:00 GMT 2000


Hi!

When I compile my gcc-2.95.2-source I get the following error-message:

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 _fix
unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp
_varar
gs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit
_ctors _pur
e; \
do \
  echo ${name}; \
  /usr/src/build-gcc/gcc/xgcc -B/usr/src/build-gcc/gcc/
-B/usr/local/m68k-atroni
c-elf/bin/ -I/usr/local/m68k-atronic-elf/include -O2  -DCROSS_COMPILE
-DIN_GCC
   -g -O2 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_lib
c   -I. -I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
-I../../gcc-2.95.2/
gcc/../include -c -DL${name} \
       ../../gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  m68k-atronic-elf-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s: Assembler messages:
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:82: Error: Rest of line
ignored. F
irst ignored character is `('.
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:85: Error: Rest of line
ignored. F
irst ignored character is `1'.
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:86: Error: ignoring
unrecognized s
ymbol type ""
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:86: Error: Rest of line
ignored. F
irst ignored character is `1'.
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:87: Error: Rest of line
ignored. F
irst ignored character is `1'.
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:112: Error: expected comma
after n
ame `' in .size directive
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:112: Error: Rest of line
ignored.
First ignored character is `1'.
E:\DOKUME~1\ADMINI~1\LOKALE~1\Temp/ccjhXdbe.s:116: Error: Rest of line
ignored.
First ignored character valued 0xffffff83.
make[3]: *** [libgcc2.a] Error 1
make[3]: Leaving directory `/usr/src/build-gcc/gcc'
make[2]: *** [stmp-multilib-sub] Error 2
make[2]: Leaving directory `/usr/src/build-gcc/gcc'
make[1]: *** [stmp-multilib] Error 1
make[1]: Leaving directory `/usr/src/build-gcc/gcc'
make: *** [all-gcc] Error 2


Does anyone know where in the gcc source I can look for the error?
I've made changes in some files to force gcc prepending an underscore
befor the symbol-names. These are the files I've changed:
/gcc-2.95.2/gcc/config/elfos.h:122: "%U%s" instead of "%s"
/gcc-2.95.2/gcc/config/m68k/m68kelf.h:60: "_" instead of ""

I've configured with configure --target=m68k-elf and built with make.

Thanks for any help
  Helfried

-- 
Sent through GMX FreeMail - http://www.gmx.net



More information about the Gcc-help mailing list