Skip to contentSkip to conversation

SH4 issue and fstat64

Qemu-devel Laurent Desnogues 1 participant 1 message Jan 9, 2009

lore
Share & tools
lore
#0 lore raw

Hello,

after spending two hours to find and fix a simple hello world program failed on sh4, I found the issue had already been found:

http://www.nabble.com/sh4-linux-user-emulation-on-an-x86_64-system-td19998891.html

I can confirm that the packing of the structure proposed by Takashi Yoshii and Michael Trimarchi fixes the problem on my x86_64 system. I also checked it does not break i386 qemu on my machine.

If someone needs a reproducer feel free to contact me.

This could have been frustrating, but now I know a little bit of sh4, so that was not useless :-)

Laurent