https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107498
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> --- Can you attach the preprocessed source for the file which is failing? And give the exact commands you used to compile it? Note this could still be a bug in the sources of openldap where the alignment of the pointer type is one thing but the user expects something different.