Problems with Gcc3.0.1 for Hitachi sh

alberico@libero.it alberico@libero.it
Tue Aug 28 03:18:00 GMT 2001


hi to everybody,

when I try to build cross-gcc3.0.1 for target sh-hitachi-elf,
at a certain point, I have the following message:

done
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
./xgcc -B./ -B/opt/gcc/sh-30/sh-elf/bin/ -isystem
/opt/gcc/sh-30/sh-elf/include
-O2  -DCROSS_COMPILE -DIN_GCC    -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include   -g1
-DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I.
-I../../gcc-3.0.1-core/gcc -I../../gcc-3.0.1-core/gcc/.
-I../../gcc-3.0.1-core/gcc/config -I../../gcc-3.0.1-core/gcc/../include
-DL_divdi3 -c ../../gcc-3.0.1-core/gcc/libgcc2.c -o libgcc/./_divdi3.o
/home/hitachi/tmp/ccHbanSK.s: Assembler messages:
/home/hitachi/tmp/ccHbanSK.s:2: Warning: Missing string
/home/hitachi/tmp/ccHbanSK.s:2: Error: Rest of line ignored. First
ignored character is `1'.
make[1]: *** [libgcc/./_divdi3.o] Error 1
make[1]: Leaving directory `/opt/src/Gcc-30/build-gcc-core/gcc'
make: *** [stmp-multilib] Error 2

I tried to run the last step with the -S flag and I had the following
file,
        .file   "libgcc2.c"
        .file 1 "../../gcc-3.0.1-core/gcc/libgcc2.c"
        .section        .debug_abbrev
.Ldebug_abbrev0:
        .section        .text
.Ltext0:
        .section        .debug_info
.Ldebug_info0:
......

the "1" in the second line give the error, in fact if removed,
everything seems to work OK,

may someone help?

P.s. I tried two times, one whith "gcc version 2.96 20000731
(Linux-Mandrake 8.0 2.96-0.48mdk)"

another with gcc-3.0.1 compiled in native mode for i686-linux (with the
above compiler)


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list