from /usr/include/linux/perf_event.h:20, from /var/tmp/portage/dev-util/dwarves-1.17/work/dwarves-1.17/lib/bpf/src/libbpf.c:35: /usr/include/linux/swab.h:136:23: error: expected ; before unsigned 136 | static __always_inline unsigned long __swab(const unsigned long y) | ^~~~~~~~~ | ; ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.0_musl-20200328-141627 ------------------------------------------------------------------- Please see the tracker bug for details. gcc-config -l: [1] x86_64-gentoo-linux-musl-9.3.0 * clang version 10.0.0 Target: x86_64-gentoo-linux-musl Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.8 [2] python3.7 [3] python3.6 [4] python2.7 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * Available Rust versions: [1] rust-1.42.0 * timestamp of HEAD at this tinderbox image: /var/db/repos/gentoo Thu Apr 2 14:37:38 UTC 2020 /var/db/repos/musl Thu Apr 2 13:46:05 UTC 2020 emerge -qpvO dev-util/dwarves [ebuild N ] dev-util/dwarves-1.17 USE="-debug" PYTHON_SINGLE_TARGET="python3_6"
Created attachment 629094 [details] emerge-info.txt
Created attachment 629096 [details] dev-util:dwarves-1.17:20200402-160858.log
Created attachment 629098 [details] emerge-history.txt
Created attachment 629100 [details] environment
Created attachment 629102 [details] etc.portage.tbz2
Created attachment 629104 [details] logs.tbz2
Created attachment 629106 [details] temp.tbz2
Reproducible with 1.20 or not?
(In reply to Andreas Sturmlechner from comment #8) > Reproducible with 1.20 or not? not reproducible at non-musl-images (musl isn't regularly scheduled here at the tinderbox b/c musl was not matured enough last time it was discussed)
I think this is fixed in sys-kernel/linux-headers-6.2 with commit defbab270d45e32b ("include/uapi/linux/swab: Fix potentially missing __always_inline") see [1]. This fixes a potentially missing definition of __always_inline. The original report used sys-kernel/linux-headers: 5.6 @Toralf Is it possible to retest this issue? Otherwise I would just resolve it. [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=defbab270d45e32b068e7e73c3567232d745c60f