Brocklobsta
-
Posts
6 -
Joined
-
Last visited
Content Type
Forums
Store
Crowdfunding
Applications
Events
Raffles
Community Map
Posts posted by Brocklobsta
-
-
9 hours ago, turkerali said:
I am using Armbian Bionic. I have upgraded the GCC from ppa:ubuntu-toolchain-r/test repo to gcc-10, but I was having the same error message until today:
ERROR: modpost: "__stack_chk_guard" [/root/zfs/zfs-0.8.5/module/zfs/zfs.ko] undefined!
ERROR: modpost: "__stack_chk_guard" [/root/zfs/zfs-0.8.5/module/zcommon/zcommon.ko] undefined!
...Today Armbian upgraded the kernel&header package (#20.08.8) and zfs compiles without any errors. I checked the changelog from https://docs.armbian.com/Release_Changelog/
but could not see any related changes. Most probably Armbian is now building the kernel with a newer GCC version, because I did not change anything since the build failed.
Which kernel package are you using? linux-image-current-rockchip64? I am not able to compile with the "current" kernel, but the "legacy" kernel has always worked.
-
-
I am running Armbian bionic and installed gcc-9 and gcc-10 from "ppa:ubuntu-toolchain-r/test". I tried both compilers with dkms and am still getting
ERROR: modpost: "__stack_chk_guard" [/root/zfs/module/zfs/zfs.ko] undefined!
I set the compiler version by exporting `CC`, but I don't see any mention of the compiler version in the DKMS build output. The make.log does show different compiler warnings, so I'm pretty sure I am successfully setting the compiler version.
-
Hey RussianNeuroMancer,
Thanks for the .debs! Do you have the linux-headers-current-rockchip64=20.05.7 by chance? I need the headers to compile the zfs kernel module. The good thing is the legacy kernel is still available so I am back on 4.4 with zfs support enabled.
-
Hey All,
I am running a rockpro64 and updated my kernel to 5.7 (linux-image-current-rockchip64 package), but I am not able to run ZFS any longer because ZFS/0.8.4 does not support 5.7 kernel and ZFS/2.0.0rc1 dkms gives me a build failure with linux-image-current-rockchip64 v20.08 (symbol "__stack_chk_guard" is undefined). I was able to build ZFS/2.0.0rc1 with linux-image-current-rockchip64=20.05.7. I am not able to downgrade my kernel because the apt-cache only shows the latest version of linux-image-current-rockchip64 available. Any suggestions on where I can get the old linux-image-current-rockchip64 package (v20.05.7)?
Thanks in advance guys, love the work done here.
~Brocklobsta
unable to build zfs module on buster rockchip64
in Beginners
Posted
Thanks @turkerali! Recompiling the kernel headers with GCC-10 fixed the issue.