[Scratchbox-devel] Re: [Scratchbox-users] Big endian kernel and
applications on a IXDP465
Michael Trimarchi
trimarchi at gandalf.sssup.it
Thu Sep 7 01:35:51 EEST 2006
Hi all,
we had a problem compiling the linux kernel using scratchbox for an
arm big endian target in the qemu-armeb environment. The compilation
stopped when executing the split-include utility during the kernel
compilation phase. split-include exited with an error of the stat64
syscall, executed in the environment emulated by qemu. qemu seemed to
ignore the fact that in big endian systems the fields st_blocks and its
padding are swapped (to allow future expansion of the field,) so the fix
consisted only in swapping the two fields (only in big endian systems,
of course.)
if someone is interested in a patch we can send it on the list,
regards,
fabio & michael
More information about the Scratchbox-devel
mailing list