-
Notifications
You must be signed in to change notification settings - Fork 733
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Driver fails to build with kernel 5.6 #1609
Comments
So if I read this blog correctly |
|
So the horrible fix in my branch seems to work on x86_64. It's the "least effort" I could come up with, |
Your patch doesn't work for my with Linux 5.6.2 on Arch Linux:
|
Interesting since I developed it on 5.6.2. Just to make sure I tried to reproduce with today's WARNING: Symbol version dump ./Module.symvers CC [M] /tmp/sysdig/build/driver/src/main.o Not sure what I'm doing wrong. ;) |
Yeah, I get the same error with |
So as expected |
It works now, than you. |
So for #ad6939d I've now reversed the direction of the changes, i.e. forward-ported the source and added backwards-compatible |
This has been fixed by #1621 |
Trying to build the driver on 5.6 is kaput due to changed time representation and/or header changes:
I'm not exactly new to fixing kernel build errors, but this one has me stumped. After untangling all definitions in <linux/time.h> I don't really see why
struct timespec
is incomplete, or what might be missing; any clues welcome.The text was updated successfully, but these errors were encountered: