Rockbox

  • Status Closed
  • Percent Complete
    100%
  • Task Type Patches
  • Category Applications
  • Assigned To No-one
  • Operating System iPod 5G
  • Severity Low
  • Priority Very Low
  • Reported Version Daily build (which?)
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 1
  • Private
Attached to Project: Rockbox
Opened by idak - 2007-10-16
Last edited by barrywardell - 2007-10-17

FS#7972 - Fix ARM's swp (xchg) inline assembly for gcc 4.2

Fix ARM's swp (xchg) inline assembly for gcc 4.2

I built rockbox for IPod video(arm target) with gcc 4.2,
then gcc output like following log.

I thought that swp inline assembly in thread.h outout unneeded optimization code with gcc 4.2.
So I fix that.


/tmp/ccj4V6hz.s: Assembler messages:
/tmp/ccj4V6hz.s:1234: Error: Rn must not overlap other operands – `swp r3,r2,[r3]'
/tmp/ccj4V6hz.s:1289: Error: Rn must not overlap other operands – `swpb r3,r2,[r3]'
/tmp/ccj4V6hz.s:1449: Error: Rn must not overlap other operands – `swpb r3,r2,[r3]'
make[1]: * [/home/rockbox/svn/build-15142/22/firmware/kernel.o] Error 1
make[1]:
* Waiting for unfinished jobs….
/tmp/cckzxxuH.s: Assembler messages:
/tmp/cckzxxuH.s:295: Error: Rn must not overlap other operands – `swpb r3,r2,[r3]'
/tmp/cckzxxuH.s:1154: Error: Rn must not overlap other operands – `swpb r3,r2,[r3]'
/tmp/cckzxxuH.s:1164: Error: Rn must not overlap other operands – `swpb r3,r2,[r3]'
/tmp/cckzxxuH.s:1442: Error: Rn must not overlap other operands – `swpb r3,r2,[r3]'
make[1]: * [/home/rockbox/svn/build-15142/22/firmware/thread.o] Error 1
make:
* [build] Error 2


Closed by  barrywardell
2007-10-17 06:33
Reason for closing:  Accepted

I'm running this patch because I compile with arm-elf-gcc 4.1.1 and so far no problems on my sansa e260!

Loading...

Available keyboard shortcuts

Tasklist

Task Details

Task Editing