openzfs / zfs

OpenZFS on Linux and FreeBSD
https://openzfs.github.io/openzfs-docs
Other
10.35k stars 1.72k forks source link

FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'kvfree_call_rcu' #11380

Open Uglymotha opened 3 years ago

Uglymotha commented 3 years ago

System information

Distribution Name Armbian Distribution Version 20.11 Linux Kernel 5.9.15 Architecture aarch64 ZFS Version 0.8.5 & 0.8.6 SPL Version

Describe the problem you're observing

When compiling zfs for aarch64 in-tree kernel 5.9.14, getting GPL error when linking modules: FATAL: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'kvfree_call_rcu' Compiling ZFS statically into the kernel works fine.

Describe how to reproduce the problem

./configure --with-config=kernel --enable-linux-builtin=yes --with-linux=../linux-5.9.15 ./copy builtin CONFIG_ZFS=m make kernel

Include any warning/errors/backtraces from the system logs

N/A

IvanVolosyuk commented 3 years ago

Is it a similar to #11120

stale[bot] commented 2 years ago

This issue has been automatically marked as "stale" because it has not had any activity for a while. It will be closed in 90 days if no further activity occurs. Thank you for your contributions.

bghira commented 2 years ago

it's probably still an issue.. just that few people use in-kernel builds.