That's right,I hope I can have time to fix the alignment issues in
spice(such as in generated_marshallers.c and quic.s,etc..),or some guys can
try this now?

On Mon, May 16, 2011 at 6:27 PM, Christophe Fergeau <[email protected]>wrote:

> 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
>
> _______________________________________________
> Spice-devel mailing list
> [email protected]
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
>
_______________________________________________
Spice-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to