https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109741
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2023-05-04
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I think the fix would be export MAX_OFILE_ALIGNMENT as a predefined macro, say
__GCC_MAX_OFILE_ALIGNMENT and then do the following libstdc++:
__GCC_DESTRUCTIVE_SIZE > __GCC_MAX_OFILE_ALIGNMENT ? __GCC_MAX_OFILE_ALIGNMENT
: __GCC_DESTRUCTIVE_SIZE
Confirmed.