libXi-1.3.2: SIGBUS in ParseClassInfo on sparc/64 bit

2010-10-14 Thread Nicolai Stange
Hi everybody, I've got a SIGBUS on sparc/64 bit in ParseClassInfo here: XListDev.c:126: B-class = ButtonClass; the reason is that B-class is an XID which is unsigned long which is 8byte here. B points to an address not divisible by eight because there have been some XAxisInfo's put before

Re: libXi-1.3.2: SIGBUS in ParseClassInfo on sparc/64 bit

2010-10-14 Thread Julien Cristau
On Thu, Oct 14, 2010 at 13:23:01 +0200, Nicolai Stange wrote: Hi everybody, I've got a SIGBUS on sparc/64 bit in ParseClassInfo here: XListDev.c:126: B-class = ButtonClass; the reason is that B-class is an XID which is unsigned long which is 8byte here. B points to an address not

Re: libXi-1.3.2: SIGBUS in ParseClassInfo on sparc/64 bit

2010-10-14 Thread walter harms
Julien Cristau schrieb: On Thu, Oct 14, 2010 at 13:23:01 +0200, Nicolai Stange wrote: Hi everybody, I've got a SIGBUS on sparc/64 bit in ParseClassInfo here: XListDev.c:126: B-class = ButtonClass; the reason is that B-class is an XID which is unsigned long which is 8byte here. B

Re: libXi-1.3.2: SIGBUS in ParseClassInfo on sparc/64 bit

2010-10-14 Thread Nicolai Stange
Hi, perhaps an __attribute__ ((aligned (8))) will help ? can you test it with a small sample programm ? This attribute is highly compiler specific. I'll think it'll work for gcc, but unfortunately, I'm using SunStudio. Note that I've seem some ptr in some info struct, too (if I remember