Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 715930 - dev-util/pahole-1.17 : /.../swab.h: error: expected ; before unsigned
Summary: dev-util/pahole-1.17 : /.../swab.h: error: expected ; before unsigned
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: missing-musl-includes
  Show dependency tree
 
Reported: 2020-04-02 17:18 UTC by Toralf Förster
Modified: 2024-01-19 08:11 UTC (History)
1 user (show)

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


Attachments
emerge-info.txt (emerge-info.txt,15.71 KB, text/plain)
2020-04-02 17:18 UTC, Toralf Förster
Details
dev-util:dwarves-1.17:20200402-160858.log (dev-util:dwarves-1.17:20200402-160858.log,17.71 KB, text/plain)
2020-04-02 17:18 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,256.71 KB, text/plain)
2020-04-02 17:18 UTC, Toralf Förster
Details
environment (environment,146.30 KB, text/plain)
2020-04-02 17:18 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,24.57 KB, application/x-bzip)
2020-04-02 17:18 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,4.45 KB, application/x-bzip)
2020-04-02 17:18 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,33.90 KB, application/x-bzip)
2020-04-02 17:18 UTC, Toralf Förster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-04-02 17:18:28 UTC
                 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"
Comment 1 Toralf Förster gentoo-dev 2020-04-02 17:18:30 UTC
Created attachment 629094 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-04-02 17:18:33 UTC
Created attachment 629096 [details]
dev-util:dwarves-1.17:20200402-160858.log
Comment 3 Toralf Förster gentoo-dev 2020-04-02 17:18:36 UTC
Created attachment 629098 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-04-02 17:18:39 UTC
Created attachment 629100 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-04-02 17:18:41 UTC
Created attachment 629102 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-04-02 17:18:45 UTC
Created attachment 629104 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-04-02 17:18:47 UTC
Created attachment 629106 [details]
temp.tbz2
Comment 8 Andreas Sturmlechner gentoo-dev 2021-03-12 21:27:53 UTC
Reproducible with 1.20 or not?
Comment 9 Toralf Förster gentoo-dev 2021-03-12 22:44:50 UTC
(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)
Comment 10 Matthias Schwarzott gentoo-dev 2024-01-19 08:11:49 UTC
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