Re: [OMPI devel] clang alignment warnings

2014-09-11 Thread Ralph Castain
I'm not convinced it is a bug in clang, Jeff - we know that Siegmar has been getting segfaults in the mca var code, though it isn't clear if those are alignment issues or not (looked like them, but can't say with certainty). May just need to ask him to run the current trunk and see if the proble

Re: [OMPI devel] clang alignment warnings

2014-09-11 Thread Jeff Squyres (jsquyres)
I re-ran the test, just to ensure I had the line numbers right (I have some local edits in my SVN copy): - mca_base_var.c:681:18: runtime error: member access within misaligned address 0x2b338409 for type 'mca_base_var_storage_t', which requires 8 byte alignment - This is referring

Re: [OMPI devel] clang alignment warnings

2014-09-10 Thread George Bosilca
It complains about 0x2b1b1ed9 being misaligned which seems as a valid complaint. What is the dst value when this trigger? What is var->mbv_storage? George. On Thu, Sep 11, 2014 at 5:29 AM, Jeff Squyres (jsquyres) wrote: > On Sep 10, 2014, at 4:23 PM, Jeff Squyres (jsquyres) > wrote: > >

Re: [OMPI devel] clang alignment warnings

2014-09-10 Thread Jeff Squyres (jsquyres)
On Sep 10, 2014, at 4:23 PM, Jeff Squyres (jsquyres) wrote: > Regardless, what do we do about this? To answer my own question, I guess we can replace: dst->intval = int_value with int *bogus = (int*) dst; *bogus = int_value; and do a similar thing for the bool. Seems kludgey, and k