falcosecurity/driverkit

driverkit fails to build ubuntu drivers for kernels >= 5.13.0

dwindsor opened this issue · 0 comments

Describe the bug

The ubuntu builder fails to build drivers for kernels >= 5.13.0:

DEBU �scripts/basic/fixdep: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by scripts/basic/fixdep) 
DEBU scripts/basic/fixdep: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by scripts/basic/fixdep) 

For recent kernels, gcc-10 is required.

How to reproduce it

driverkit docker --output-module /tmp/falco_ubuntu.ko --timeout 520 --target ubuntu-generic --kernelrelease 5.13.0-39-generic --kernelversion 44 --driverversion=master -l debug

Expected behaviour

Screenshots

Environment

  • Falco version:
  • System info:
  • Cloud provider or hardware configuration:
  • OS:
  • Kernel:
  • Installation method:

Additional context