[Bug 1218283] New: Building ZFS for 15.6 and Tumbleweed broken by kernel_neon_begin changed from EXPORT_SYMBOL_GPL EXPORT_SYMBOLto
https://bugzilla.suse.com/show_bug.cgi?id=1218283 Bug ID: 1218283 Summary: Building ZFS for 15.6 and Tumbleweed broken by kernel_neon_begin changed from EXPORT_SYMBOL_GPL EXPORT_SYMBOLto Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Kernel Assignee: kernel-bugs@opensuse.org Reporter: dheidler@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Fail: https://build.opensuse.org/package/live_build_log/filesystems/zfs/openSUSE_T... [ 259s] ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'kernel_neon_end' [ 259s] ERROR: modpost: GPL-incompatible module zfs.ko uses GPL-only symbol 'kernel_neon_begin' Upstream tracks the issue here https://github.com/openzfs/zfs/issues/15401 and here https://github.com/openzfs/zfs/issues/14555 It could be fixed by reverting this kernel patch: https://github.com/torvalds/linux/commit/aaeca98456431a8d9382ecf48ac4843e252... -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 Dominik Heidler <dheidler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Building ZFS for 15.6 and |Building ZFS for 15.6 and |Tumbleweed broken by |Tumbleweed broken by |kernel_neon_begin changed |kernel_neon_begin changed |from EXPORT_SYMBOL_GPL |from EXPORT_SYMBOL to |EXPORT_SYMBOLto |EXPORT_SYMBOL_GPL -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 Dominik Heidler <dheidler@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|Building ZFS for 15.6 and |Building ZFS for 15.6 and |Tumbleweed broken by |Tumbleweed broken on |kernel_neon_begin changed |aarch64 by |from EXPORT_SYMBOL to |kernel_neon_begin changed |EXPORT_SYMBOL_GPL |from EXPORT_SYMBOL to | |EXPORT_SYMBOL_GPL -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 Ivan Ivanov <ivan.ivanov@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |andrea.porta@suse.com, | |ivan.ivanov@suse.com, | |stanimir.varbanov@suse.com Hardware|Other |aarch64 -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 https://bugzilla.suse.com/show_bug.cgi?id=1218283#c1 Miroslav Beneš <mbenes@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mbenes@suse.com --- Comment #1 from Miroslav Beneš <mbenes@suse.com> --- Dominik, do you know if it has been reported to the kernel upstream? Could also anyone tell how it (ZFS) works on x86 where the respective functions are reportedly _GPL too? Perhaps it can be easily fixed on ZFS side then. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 https://bugzilla.suse.com/show_bug.cgi?id=1218283#c2 --- Comment #2 from Dominik Heidler <dheidler@suse.com> --- Upstream hinted in the bug report that they try to reach out to the kernel people but it could take months to change anything if it helps at all. If I understood it correctly Upstream wrote in the referened issue that on x86 they have reimplemented some of the functionality on their own to prevent usage of the GPL symbol. But this tool a lot of time and work. Other distros (at lease some NixOS packagers commented on the issue) have solved this particular issue by reverting the referenced patch in the kernel, which shouldn't be a legal issue, as it is just restoring an already released version of the code. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 https://bugzilla.suse.com/show_bug.cgi?id=1218283#c3 --- Comment #3 from Miroslav Beneš <mbenes@suse.com> --- (In reply to Dominik Heidler from comment #2)
Upstream hinted in the bug report that they try to reach out to the kernel people but it could take months to change anything if it helps at all.
It takes just one email and the viewpoint of arm64 kernel maintainers would be known in a matter of days (or weeks given there are holidays in Europe now).
If I understood it correctly Upstream wrote in the referened issue that on x86 they have reimplemented some of the functionality on their own to prevent usage of the GPL symbol. But this tool a lot of time and work.
Other distros (at lease some NixOS packagers commented on the issue) have solved this particular issue by reverting the referenced patch in the kernel, which shouldn't be a legal issue, as it is just restoring an already released version of the code.
But the context has changed. Now we know that the general policy and the intention is to have those symbols used by GPL code only. Others may feel differently but I think this needs to resolved with the upstream maintainers first, or on the ZFS side. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 https://bugzilla.suse.com/show_bug.cgi?id=1218283#c4 Takashi Iwai <tiwai@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tiwai@suse.com --- Comment #4 from Takashi Iwai <tiwai@suse.com> --- Agreed with Miroslav, it should be addressed by the upstream at first -- at least for Tumbleweed. Though, a slightly open question is for Leap 15.6; it's an update, and we may see it as a regression. If any other solution is found, a revert might be an option in this case. -- You are receiving this mail because: You are the assignee for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1218283 https://bugzilla.suse.com/show_bug.cgi?id=1218283#c5 Fabian Vogt <fvogt@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|kernel-bugs@opensuse.org |jengelh@inai.de CC| |fvogt@suse.com --- Comment #5 from Fabian Vogt <fvogt@suse.com> --- Should be addressed by upstream https://github.com/openzfs/zfs/commit/7b89149c9f120e2fb1c08e7f903a0c671340fa... -- You are receiving this mail because: You are the assignee for the bug.
participants (1)
-
bugzilla_noreply@suse.com