Issue: net-misc/dahdi-3.2.0 fails to compile.
Discovered on: amd64 (internal ref: ci)
Created attachment 861553 [details]
build log and emerge --info
Notes to self:
This is against gentoo-kernel-bin.
There seems to be a difference in the API for include/linux/device/bus.h, specifically the struct seems to have a const for the first parameter of the uevent function pointer.
The -Werror argument itself comes from the kernel sources.
One fix is to eliminate -Werror, the other is to vary the const'ness depending on what we're compiling against.
Above is incorrect. As of right now there is no working theory on what causes the problem.
The PR 31154 referenced contains discussion around similar potentially related stuff that may be useful to reference.
*** Bug 907383 has been marked as a duplicate of this bug. ***
(In reply to Jaco Kroon from comment #4)
I've taken Ionen's initial porting work to linux-mod-r1 and added some patches for clang-16 build. Can you please review my PR:
Last-rited, please see bug #914477.