[Spice-devel] androidSpice-0.1.6 released

Christophe Fergeau cfergeau at redhat.com
Mon May 16 03:27:42 PDT 2011


On Mon, May 16, 2011 at 05:12:10PM +0800, Shuxiang Lim wrote:
> Hi,all!
>    I've mentioned before about the common/quic.c will cause SIGBUG on ARM,
> then I walked around it by '-O0',it works for armv5,armv7,but I've just
> found this didn't work for ARM9,so I have to do the final and fool way to
> rewrite some statements in quic.c with memcpy() like this:
> *#ifdef ANDROID
>      memcpy(&encoder->io_next_word, encoder->io_now++,sizeof(uint32_t));
> #else
>      encoder->io_next_word = *(encoder->io_now++);
> #endif

We really need to fix all these unaligned accesses. In quic's case, I'm
wondering whether we could make sure that the buffer we're accessing is
alinged on a 4 byte boundary?

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110516/db9d937a/attachment-0001.pgp>


More information about the Spice-devel mailing list