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, 14:04 GMT
Last edited by Marcin Bukat (MarcinBukat) - Tuesday, 08 May 2012, 11:02 GMT
Task Type Bugs
Category Build environment
Status Closed
Assigned To No-one
Operating System Another
Severity Low
Priority Normal
Reported Version Daily build (which?)
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


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).
This task depends upon

Closed by  Marcin Bukat (MarcinBukat)
Tuesday, 08 May 2012, 11:02 GMT
Reason for closing:  Fixed
Additional comments about closing:  fixed in 10829b2 and 18c016b
Comment by Marcin Bukat (MarcinBukat) - Wednesday, 02 May 2012, 05:33 GMT
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