zfsonlinux/zfs — Issue #484: building on gentoo hardened
Author: user318
Created: 2011-12-08 03:42:13+00:00
State: open

Not an bug, I think. But may be interesting to somebody. When I have tried to compile zfs on gentoo hardened system, I faced a number of problems. They are using some patches to kernel and plugins to gcc, that makes some structs const by default, as I understand.
This patches I made to make it compile successfully:

* For SPL: http://pastebin.com/eCrS40ub
* For ZFS: http://pastebin.com/5XRwNzBj