https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77691
--- Comment #9 from Jonathan Wakely <redi at gcc dot gnu.org> --- This doesn't seem like a libstdc++ bug. malloc must return memory suitably aligned for any type of object with a fundamental alignment, i.e. <= _Alignof(max_align_t). So GCC's definition of max_align_t is not consistent with malloc in Solaris 12, which means that GCC and malloc don't agree on the maximum fundamental alignment for the target.