[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 via Gdb-prs" <[email protected]>
| Newsgroups | gmane.comp.gdb.bugs.discuss |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
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 <[email protected]>: https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=8b752803cf57408cfb7a50bc77a3cbc658f7ad23 commit 8b752803cf57408cfb7a50bc77a3cbc658f7ad23 Author: Tom de Vries <[email protected]> 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.