Rockbox

This is the bug/patch tracker for Rockbox. Click here for more information.

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#7832 - Building with gcc 4.3

Attached to Project: Rockbox
Opened by Nils Wallménius (nls) - Tuesday, 25 September 2007, 19:32 GMT+1
Task Type Patches
Category Applications
Status New
Assigned To No-one
Player Type All players
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Private No

Details

These patches are changes I made to make rockbox build and work with gcc 4.3 and binutils 2.18+ for h300.

I have not built for any other targets than h300, Lear did build for h100 though but he had to remove some code in the core from iram to make it fit.

Building the latest gcc 4.3 snapshot for m68k-elf requires a current snapshot of binutils too, 2.18 won't work without patching gcc to disable new processor support.

configure.diff: Pass the correct -mcpu option to gcc.

linkscript.diff: Make linking of rockbox work correctly with binutils later than 2.17

pcfdriver.diff: Make asm blocks 'volatile' to make the buttons/rtc/batterylevel work

shndec.diff: remove 'volatile' from an asm block to make the flac codec build (this seems like a compiler bug)

tremor_*.diff build Tremor with -O2 to reduce code size and remove some floor0 type specific stuff from iram to make the iram section of the codec fit.
   configure.diff (0.4 KiB)
 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

   linkscript.diff (0.3 KiB)
 app.lds |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

   pcfdriver.diff (1.4 KiB)
 pcf50606-coldfire.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

   shndec.diff (0.5 KiB)
 shndec.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

   tremor_floor0_iram.diff (1.6 KiB)
 floor0.c |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

   tremor_lsp_lookup_iram.diff (1.9 KiB)
 lsp_lookup.h |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

   tremor_makefile.diff (0.4 KiB)
 Makefile |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

This task depends upon

Loading...