[Bug build/34279] build failure on fedora rawhide x86-64 under clang: static_assert (sizeof (compat_x32_siginfo_t) == GDB_SI_SIZE);

vries at gcc dot gnu.org sourceware-bugzilla@sourceware.org
Fri Jun 12 07:12:55 GMT 2026


https://sourceware.org/bugzilla/show_bug.cgi?id=34279

Tom de Vries <vries at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |vries at gcc dot gnu.org

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
I can reproduce this with clang 19.

Fallout from commit 6c85ef111b0 ("[gdb] Use using instead of typedef").

Reverting this one-line change fixes it:
...
-typedef long __attribute__ ((__aligned__ (4))) compat_x32_clock_t;
+using compat_x32_clock_t = long __attribute__ ((__aligned__ (4)));
...

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Gdb-prs mailing list