Rockbox

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

Quick links: Bugs · Patches · Rockbox frontpage

Tasklist

FS#12646 - Fails to execute FAT test application in "firmware/test/fat"

Attached to Project: Rockbox
Opened by Akio Idehara (idak) - Friday, 13 April 2012, 16:04 GMT+2
Last edited by Marcin Bukat (MarcinBukat) - Tuesday, 08 May 2012, 13:02 GMT+2
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Player Type Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Private No

Details

Fails to execute FAT test application in "firmware/test/fat"

I found two things

(1) This app links bad host functions instead of rockbox'
Attatched patch can fix this issue.
However, it'll breaks sim compilation.

(2) This app always fails if it's built on x86_64 (64bit arch)
It's OK on i386 (32bit arch) but it fals on x86_64 (64bit arch).
   fat-test.patch (2.8 KiB)
 b/firmware/common/file.c   |    4 ++--
 b/firmware/export/system.h |    2 +-
 b/firmware/test/fat/main.c |   14 +++++++-------
 3 files changed, 10 insertions(+), 10 deletions(-)

This task depends upon

Closed by  Marcin Bukat (MarcinBukat)
Tuesday, 08 May 2012, 13:02 GMT+2
Reason for closing:  Fixed
Additional comments about closing:  fixed in 10829b2 and 18c016b
Comment by Marcin Bukat (MarcinBukat) - Wednesday, 02 May 2012, 07:33 GMT+2
1) All hosted flawours of rb use host I/O functions (sim, RaaA, warble)
2) What is trully borked is the Makefile
3) rb code was never intended to run on 64bit platform so I am not suprised it breaks. It would be nice to fix though

Loading...