Skip to contentSkip to conversation

patch for i386 build on x86_64

Qemu-devel [email protected] 3 participants 3 messages Nov 8, 2009 – Nov 21, 2009

lore
Share & tools
lore
#2 lore raw
Quoted 23 lines · Jean-Christophe Dubois

Is this patch considered for inclusion?

Qemu doesn't seem to be able to build (for i386 target) on Ubuntu Karmic Koala host (x86_64) without it.

Thanks

JC

le dimanche 8 novembre 2009 [email protected] a écrit

Quoted 12 lines

http://fmtyewtk.blogspot.com/2009/11/qemu-patch-for-386-on-x8664-ubuntu.htm
l

In configure, remove this line :
+#-D_FILE_OFFSET_BITS=64

else
undefined reference to `fallocate64'

mike

fallocate64 should come from libc6 (it does on my debian system with libc6 2.10.1-7) for any target you build. Try

             ldd i386-linux-user/qemu-i386

to see which libraries will be used by your binary.

Removing support for large files (this is what the patch does) is not good, because large files are quite normal today.

Regards,
Stefan