https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78397
--- Comment #5 from Richard Earnshaw <rearnsha at gcc dot gnu.org> --- (In reply to Alexandre Martins from comment #4) > Unfortunatly, it's not crashing into the __aeabi_read_tp function, but into > the dynamic linker of freebsd (rtld-elf). For info, this function is located > into the libc on freebsd. > > Must the dynamic linker assume the stack can be miss aligned and re-align it > if the function called is a 'public interface' ? The dynamic linker cannot assume ABI privileges in this respect. Ever. That really is a bug in your dynamic linker.