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: [NOT-OT after all] RE: [OT] RE: Does make have ARM version?


On 20 March 2007 17:34, Khem Raj wrote:

> On Mar 20, 2007, at 9:26 AM, Dave Korn wrote:
> 
>> On 20 March 2007 12:36, Dave Korn wrote:
>> 
>>   Oops.  I added the OT tag because this thread started on the make mailing
>> list, but it's entirely on-topic here.
>> 
>>> /tmp/ccOKs3Ho.s: Assembler messages:
>>> /tmp/ccOKs3Ho.s:2171: Error: immediate expression expected -- `wstrw
>>> wcgr0,[r2,r1,asl#2]'
> 
> 
> This is an Intel WMMX coprocessor instruction. However I think the
> offset used should be multiple of 4
> and you should be passing -mcpu=iwmmxt to assembler.
> 
> The error message you are getting should be about co-processor offset
> range.


  Ahhh... that's interesting.  I did find a gcc PR about the driver doesn't
always pass on -m<CPU> options to the assembler, perhaps that's somehow
involved here.

  Wembin, it might be informative if you were to go to the directory where you
were running make, and manually enter the compile command that failed, adding
the "-v" option, so we can see what options relating to cpu type the compiler
and assembler are each seeing, you could just cut and paste this command into
your shell:

arm-linux-gcc -v -DLOCALEDIR=\"/usr/local/share/locale\" \
-DLIBDIR=\"/usr/local/lib\" -DINCLUDEDIR=\"/usr/local/include\" \
-DHAVE_CONFIG_H -I. -I. -I.      -g -O2 -MT implicit.o -MD -MP -MF \
".deps/implicit.Tpo" -c -o implicit.o implicit.c 2>&1 | tee build.log

    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


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