Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 858644

Summary: dev-util/sysdig-kmod-0.27.1: fix for building againt clang-configured kernels
Product: Gentoo Linux Reporter: Holger Hoffstätte <holger>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PullRequest
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.gentoo.org/816024
See Also: https://github.com/gentoo/gentoo/pull/26456
https://bugs.gentoo.org/show_bug.cgi?id=816024
Whiteboard:
Package list:
Runtime testing required: ---

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.