Rockbox.org home
release
dev builds
extras
themes manual
wiki
device status forums
mailing lists
IRC bugs
patches
dev guide



Rockbox mail archive

Subject: Rockbox and GCC 3.4.0

Rockbox and GCC 3.4.0

From: Magnus Holmgren <lear_at_algonet.se>
Date: Sun, 09 May 2004 09:51:09 +0200

Hi,

Did a fresh CVS checkout and tried to build Rockbox using GCC 3.4.0. I
then get warnings and errors like these:

drivers/ata.c:864: warning: asm operand 0 probably doesn't match constraints
drivers/ata.c:868: warning: asm operand 0 probably doesn't match constraints
drivers/ata.c:864: error: impossible constraint in `asm'
drivers/ata.c:868: error: impossible constraint in `asm'

If I change the and_b and or_b macros in system.h to use the constraint
"I08" rather than "I" (plain "I" doesn't seem to be supported in 3.4.0),
it compiles just fine.

(Similar problems exists in drivers/lcd.c.)

-- 
Magnus Holmgren
_______________________________________________
http://cool.haxx.se/mailman/listinfo/rockbox
Received on 2004-05-09

Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy