Building binutils for mspgcc fails

Nicholas Clifton nickc@redhat.com
Wed Aug 20 15:40:00 GMT 2014


Hi Randy,

> Everything goes fine until I hit the build step, at which point
> I get this error:

> gcc -c -DHAVE_CONFIG_H -g -O2  -I. -I../../../binutils-2.21.1/libiberty/../include  -W -Wall -Wwrite-strings -Wc++-compat -Wstrict-prototypes -pedantic  ../../../binutils-2.21.1/libiberty/regex.c -o regex.o
> /tmp/ccup7V3n.s: Assembler messages:
> /tmp/ccup7V3n.s:119: Error: expecting string instruction after `rep'

What does the actual assembler source look like ?  (Ie please compile 
with --save-temps added and then look at the assembler source).

The problem is likely to be a gcc bug (generating bad msp430 assembler) 
rather than an assembler bug (failing to accept valid msp430 assembler), 
but without the the source file we cannot determine which tool is wrong.

Cheers
   Nick



More information about the Binutils mailing list