https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112534
--- Comment #3 from Bruno Haible <bruno at clisp dot org> --- (In reply to Andrew Pinski from comment #1) > Hmm. similar issue happen with gdb 5 years ago: > https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00151.html Thanks; this is helpful. In this thread we have the explanation https://lists.gnu.org/archive/html/bug-gnulib/2018-08/msg00158.html, which could maybe be the root cause of the problem here. > Looks like this is huge gnulib mess at that. This comment is not helpful. 1) As shown in the previous comment, max_align_t problems arise from the use of -std=... options that are too old. We are in the year 2023, and it seems right to use ISO C 11 features (from a 12 years old standard), no? 2) Gnulib actually works around two problems related to max_align_t, as documented here: https://www.gnu.org/software/gnulib/manual/html_node/stddef_002eh.html Without Gnulib, you would encounter more problems related to max_align_t, not fewer.