This is the mail archive of the newlib@sources.redhat.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Error in newlib/libc/machine/sh/memset.s ?


山田 淳 wrote:
> Hi,
> 
> I did MAKE for SH1 in the following combination, and the error came out of
> me. (CYGWIN is used) 
> In order to remove an error, what should it carry out? Is there any
> combination out of which an error does not come?
> 
> binutils-2.14
> gcc-core-2.95.3
> newlib-1.11.0
> 
> Error is 
> sh-hitachi-elf-gcc
> -B/usr/local/src/newlib-1.11.0/wk/sh-hitachi-elf/ml/newlib/ -
> isystem
> /usr/local/src/newlib-1.11.0/wk/sh-hitachi-elf/ml/newlib/targ-include -i
> system /usr/local/src/newlib-1.11.0/newlib/libc/include  -ml
> -DPACKAGE=\"newlib\
> " -DVERSION=\"1.11.0\"  -I. -I../../../../../../../newlib/libc/machine/sh
> -O2 -
> DHAVE_GETTIMEOFDAY -DWANT_PRINTF_LONG_LONG -fno-builtin      -O2 -g -O2  -ml
> -c
> ../../../../../../../newlib/libc/machine/sh/memset.S
> ../../../../../../../newlib/libc/machine/sh/memset.S:10: unterminated string
> or
> character constant
> ../../../../../../../newlib/libc/machine/sh/memset.S:6: possible real start
> of u
> nterminated constant
> sh-hitachi-elf-gcc: file path prefix
> `/usr/local/src/newlib-1.11.0/wk/sh-hitachi
> -elf/ml/newlib/' never used
> make[8]: *** [memset.o] Error 1
> 
> memset.s: is
> line 1:!
> line 2:! Fast SH memset
> line 3:!
> line 4:! by Toshiyasu Morita (tm@netcom.com)
> line 5:!
> line 6:! SH5 code by J"orn Rennecke (joern.rennecke@superh.com)
> line 7:! Copyright 2002 SuperH Ltd.
> line 8:!
> 
> Thanks
> 
> Zunda
>

Zunda, it appears your compiler is trying to interpret the '"' in Joern's name
which it should not do inside an assembler comment.

Can you try using a more up to date compiler?  2.95.3 is rather old.  A
workaround is to change the comments to be C-style comments using /* and */.

-- Jeff J.





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