[Bug build/34279] build failure on fedora rawhide x86-64 under clang: static_assert (sizeof (compat_x32_siginfo_t) == GDB_SI_SIZE);
cvs-commit at gcc dot gnu.org
sourceware-bugzilla@sourceware.org
Fri Jun 12 10:41:15 GMT 2026
https://sourceware.org/bugzilla/show_bug.cgi?id=34279
--- Comment #2 from Sourceware Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Tom de Vries <vries@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8b752803cf57408cfb7a50bc77a3cbc658f7ad23
commit 8b752803cf57408cfb7a50bc77a3cbc658f7ad23
Author: Tom de Vries <tdevries@suse.de>
Date: Fri Jun 12 12:41:08 2026 +0200
[gdb/build, clang] Fix ignored aligned attribute
PR build/34279 reports a build failure with clang.
This is a regression since commit 6c85ef111b0 ("[gdb] Use using instead of
typedef"), which did:
...
-typedef long __attribute__ ((__aligned__ (4))) compat_x32_clock_t;
+using compat_x32_clock_t = long __attribute__ ((__aligned__ (4)));
...
The problem is that clang ignores the attribute.
Fix this by reverting this part of the commit.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=34279
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Gdb-prs
mailing list