Re: Alignment problem in wl_connection_demarshal()

2013-02-07 Thread Kristian Høgsberg
On Fri, Feb 01, 2013 at 05:51:42PM +, Philip Withnall wrote: > Hi all, > > Running Weston on 64-bit MIPS, I'm coming across a non-aligned access in > wl_connection_demarshal() which causes a processor trap. > > Around line 740 of connection.c, demarshalling an object: > > id = (uint3

Alignment problem in wl_connection_demarshal()

2013-02-01 Thread Philip Withnall
Hi all, Running Weston on 64-bit MIPS, I'm coming across a non-aligned access in wl_connection_demarshal() which causes a processor trap. Around line 740 of connection.c, demarshalling an object: id = (uint32_t **) extra; extra += sizeof *id; closure->args[i] = id;