[Spice-devel] androidSpice-0.1.6 released
Shuxiang Lim
shohyanglim at gmail.com
Mon May 16 17:53:29 PDT 2011
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 <cfergeau at redhat.com>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
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110517/cb739608/attachment-0001.htm>
More information about the Spice-devel
mailing list