This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: Building binutils for mspgcc fails


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


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