|
From: Greg P. <gp...@ap...> - 2012-06-22 21:18:56
|
On Jun 22, 2012, at 2:07 PM, Philippe Waroquiers <phi...@sk...> wrote: > Regression tests failing on Darwin i386 since quite some time I believe. > > Does someone understand the below error ? > > pub_core_threadstate.h explicitely tells to align vex on 32 bytes: > ... > /* Saved machine context. */ > VexGuestArchState vex __attribute__((aligned(32))); > ... > > The failing assert is: > Addr a_vex = (Addr) & tst->arch.vex; > .... > vg_assert(VG_IS_32_ALIGNED(a_vex)); Not sufficient. attribute(aligned) won't work unless all of the containing structs are also aligned. You need the ThreadState and ThreadArchState to be aligned as well. -- Greg Parker gp...@ap... Runtime Wrangler |