Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 950309 - dev-debug/strace-6.12 build error on ARMv7: static assertion failed: Unexpected size of arg.pad
Summary: dev-debug/strace-6.12 build error on ARMv7: static assertion failed: Unexpect...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-02-26 13:53 UTC by Marius Dinu
Modified: 2025-03-19 06:54 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build log (strace.log,101.91 KB, text/x-log)
2025-02-26 13:53 UTC, Marius Dinu
Details
emerge info (strace-emerge-info.log,7.53 KB, text/x-log)
2025-02-26 13:53 UTC, Marius Dinu
Details
build.log (dev-debug:strace-6.12:20250301-231608.log,184.07 KB, text/plain)
2025-03-01 23:41 UTC, Erich Seifert
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marius Dinu 2025-02-26 13:53:06 UTC
I get this error while emerge-ing strace 6.12 on armv7:

In file included from static_assert.h:11,
                 from macros.h:16,
                 from list.h:90,
                 from defs.h:40,
                 from io_uring.c:9:
io_uring.c: In function ‘print_io_uring_clone_buffers’:
macros.h:141:9: error: static assertion failed: "Unexpected size of arg.pad (6 * sizeof(uint32_t) expected).  --enabled-bundled=yes configure option may be used to work around that."
  141 |         static_assert(sizeof(type_) == (sz_), \
      |         ^~~~~~~~~~~~~

Thank you.

Reproducible: Always
Comment 1 Marius Dinu 2025-02-26 13:53:29 UTC
Created attachment 919930 [details]
build log
Comment 2 Marius Dinu 2025-02-26 13:53:43 UTC
Created attachment 919931 [details]
emerge info
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-02-26 22:22:27 UTC
I guess it's because strace-6.12 vs linux-headers-6.13?
Comment 4 Marius Dinu 2025-02-27 15:33:51 UTC
True. I emerged v6.13 and it works.
Shouln't there be a dependency on a specific linux-headers version in such cases?
Comment 5 Erich Seifert 2025-03-01 23:34:43 UTC
I am seeing the same error message on multiple amd64 (AMD Ryzen) machines when emerging dev-debug/strace-6.12. All of them have sys-kernel/linux-headers-6.13 installed.
Comment 6 Erich Seifert 2025-03-01 23:41:17 UTC
Created attachment 920112 [details]
build.log
Comment 7 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2025-03-03 14:50:02 UTC
I think it may be a better idea for us to use bundled headers instead. I rather suspect that we'll have riots if we start doing >=${PV} on linux-headers in strace.
Comment 8 Larry the Git Cow gentoo-dev 2025-03-19 01:17:58 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0f84d4b38eebb2dfc7f3206cf2aadbad5de70ef

commit f0f84d4b38eebb2dfc7f3206cf2aadbad5de70ef
Author:     Sam James <sam@gentoo.org>
AuthorDate: 2025-03-19 01:17:04 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2025-03-19 01:17:04 +0000

    dev-debug/strace: use bundled linux-headers
    
    We don't want to pin to linux-headers, that would be far too much
    hassle and mean we have to keep many strace versions in-tree.
    
    Closes: https://bugs.gentoo.org/950309
    Signed-off-by: Sam James <sam@gentoo.org>

 dev-debug/strace/strace-6.12.ebuild | 7 +++++--
 dev-debug/strace/strace-6.13.ebuild | 5 ++++-
 dev-debug/strace/strace-6.9.ebuild  | 5 ++++-
 dev-debug/strace/strace-9999.ebuild | 7 +++++--
 4 files changed, 18 insertions(+), 6 deletions(-)
Comment 9 Marius Dinu 2025-03-19 06:54:27 UTC
Thank you!