https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64790
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Component|c |target Resolution|--- |INVALID --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- From https://gcc.gnu.org/onlinedocs/gcc-4.9.2/gcc/ARM-Options.html#index-mstructure-size-boundary-1270: "Different values are potentially incompatible. Code compiled with one value cannot necessarily expect to work with code or libraries compiled with another value, if they exchange information using structures or unions. " So not a bug as mentioned in the documentation already. You need to rebuild everything to be compatible at all.