Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 858644 - dev-util/sysdig-kmod-0.27.1: fix for building againt clang-configured kernels
Summary: dev-util/sysdig-kmod-0.27.1: fix for building againt clang-configured kernels
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL: https://bugs.gentoo.org/816024
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-07-17 20:08 UTC by Holger Hoffstätte
Modified: 2022-08-23 06:23 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Holger Hoffstätte 2022-07-17 20:08:25 UTC
sysdig-kmod-0.27.1 currently does not build when the kernel tree is configured to be built with clang, see $URL for related issues and a solution.


Reproducible: Always

Steps to Reproduce:
1. configure/build kernel with clang
2. try to build sysdig-kmod
3. error!

Actual Results:  
x86_64-pc-linux-gnu-gcc: error: unrecognized command-line option '-Qunused-arguments'

..since linux-mod.eclass defaults to gcc.


I applied the solution from #816024 and it works fine; will file a GH PR to fix.
The resulting sysdig-kmod works fine on the clang-built kernel.
Comment 1 Holger Hoffstätte 2022-08-23 06:23:13 UTC
Not worth the trouble as most people don't build their kernel with clang and 0.27.x is going aways soon anyway. 0.29.x has this fix already.