sh-coff build error with gcc-3.5-20040801
Nitin Shah
NitinS2@KPITCummins.com
Tue Aug 3 05:15:00 GMT 2004
Hi,
I have taken following source code snapshots to build SH(COFF) toolchain,
1. GCC(gcc-3.5-20040801).
2. binutils(binutils-040802).
3. newlib-1.12.0 (Dated 15/07/2004 from CVS).
Host:i686-pc-linux-gnu
I am able to build tool chain for ELF format.
I am already adding the new cross-binutils to my path after I built and installed them.
While building toolchain for targets SH(COFF), I am getting error as mentioned below at the stage of final cross gcc building. Kindly suggest how to remove this error.
************************************ Error Text******************************************************************
/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/gcc/g++ -shared-libgcc -B/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/gcc/ -nostdinc++ -L/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/sh-coff/libstdc++-v3/src -L/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/sh-coff/libstdc++-v3/src/.libs -B/home/nitins2/intmdt_share/gnush_v0403_coff-1/sh-coff/bin/ -B/home/nitins2/intmdt_share/gnush_v0403_coff-1/sh-coff/lib/ -isystem /home/nitins2/intmdt_share/gnush_v0403_coff-1/sh-coff/include -isystem /home/nitins2/intmdt_share/gnush_v0403_coff-1/sh-coff/sys-include -DHAVE_CONFIG_H -I. -I/home/kpit/fsfsrc/downloads/gcc-3.5-20040801/libstdc++-v3/testsuite -I.. -I/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/sh-coff/libstdc++-v3/include/sh-coff -I/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/sh-coff/libstdc++-v3/include -I/home/kpit/fsfsrc/downloads/gcc-3.5-20040801/libstdc++-v3/libsupc++ -O2 -O2 -DCOFFPATCH -g -O2 -D_GLIBCXX_ASSERT -fmessage-length=0 -DLOCALEDIR="/home/nitins2/intmdt_build/sh-coffbld3.5-20040801/build-gcc-3.5-20040801/sh-coff/libstdc++-v3/po/share/locale" -O2 -c -o testsuite_abi.o /home/kpit/fsfsrc/downloads/gcc-3.5-20040801/libstdc++-v3/testsuite/testsuite_abi.cc
/tmp/ccHKBj1L.s: Assembler messages:
/tmp/ccHKBj1L.s:8: Error: junk at end of line, first unrecognized character is `i'
/tmp/ccHKBj1L.s:9: Error: junk at end of line, first unrecognized character is `i'
/tmp/ccHKBj1L.s:10: Error: junk at end of line, first unrecognized character is `u'
/tmp/ccHKBj1L.s:11: Error: junk at end of line, first unrecognized character is `l'
/tmp/ccHKBj1L.s:12: Error: junk at end of line, first unrecognized character is `l'
/tmp/ccHKBj1L.s:13: Error: junk at end of line, first unrecognized character is `l'
/tmp/ccHKBj1L.s:14: Error: junk at end of line, first unrecognized character is `l'
/tmp/ccHKBj1L.s:15: Error: junk at end of line, first unrecognized character is `i'
/tmp/ccHKBj1L.s:16: Error: junk at end of line, first unrecognized character is `u'
/tmp/ccHKBj1L.s:17: Error: junk at end of line, first unrecognized character is `s'
/tmp/ccHKBj1L.s:18: Error: junk at end of line, first unrecognized character is `c'
/tmp/ccHKBj1L.s:19: Error: junk at end of line, first unrecognized character is `c'
/tmp/ccHKBj1L.s:22: Error: junk at end of line, first unrecognized character is `d'
************************************ Error Text Ends *************************************************************
*************************************testsuite_abi.s file*********************************************************
1 .file "testsuite_abi.cc"
2 .data
3 .text
4 .align 2
5 .def _int; .scl 13; .type 04; .endef
6 .def _char; .scl 13; .type 02; .endef
7 .def _signed; .scl 13; .type 04; .endef
8 .def _long int; .scl 13; .type 05; .endef <- error comes from here
9 .def _unsigned int; .scl 13; .type 016; .endef <- error comes from here
10 .def _long unsigned int; .scl 13; .type 017; .endef <- error comes from here
11 .def _unsigned long; .scl 13; .type 017; .endef <- error comes from here
12 .def _long long int; .scl 13; .type 05; .endef <- error comes from here
13 .def _long long unsigned int; .scl 13; .type 017; .endef <- error comes from here
14 .def _long long unsigned; .scl 13; .type 017; .endef <- error comes from here
15 .def _short int; .scl 13; .type 03; .endef <- error comes from here
16 .def _short unsigned int; .scl 13; .type 015; .endef <- error comes from here
17 .def _unsigned short; .scl 13; .type 015; .endef <- error comes from here
18 .def _signed char; .scl 13; .type 02; .endef <- error comes from here
19 .def _unsigned char; .scl 13; .type 014; .endef <- error comes from here
20 .def _float; .scl 13; .type 06; .endef
21 .def _double; .scl 13; .type 07; .endef
22 .def _long double; .scl 13; .type 07; .endef <- error comes from here
****************************************************************************************************
Thanks in advance
Nitin Shah,
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH and H8 Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools are released on June 1, 2004.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list