Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 693912 - sys-fs/zfs-kmod-0.8.1 should not block linux 4.19 with CONFIG_PREEMPT=y
Summary: sys-fs/zfs-kmod-0.8.1 should not block linux 4.19 with CONFIG_PREEMPT=y
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Richard Yao (RETIRED)
URL: https://github.com/zfsonlinux/zfs/iss...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-09 13:38 UTC by anonymous
Modified: 2019-11-26 20:15 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description anonymous 2019-09-09 13:38:20 UTC
Right now, it refuses to build if PREEMPT=y on arm64.
However, only linux-5.0 and above are problematic with PREEMPT=y.
Comment 1 Georgy Yakovlev archtester gentoo-dev 2019-09-12 21:32:33 UTC
thanks, will update 9999 soon
Comment 2 Larry the Git Cow gentoo-dev 2019-09-12 21:50:14 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2ab1916a056a89be7653b446502e0f4b5ab0c0e

commit f2ab1916a056a89be7653b446502e0f4b5ab0c0e
Author:     Georgy Yakovlev <gyakovlev@gentoo.org>
AuthorDate: 2019-09-12 21:44:50 +0000
Commit:     Georgy Yakovlev <gyakovlev@gentoo.org>
CommitDate: 2019-09-12 21:50:01 +0000

    sys-fs/zfs-kmod: require !PREEMPT on arm64 only on >= 5.x kernels
    
    Bug: https://bugs.gentoo.org/693912
    Package-Manager: Portage-2.3.75, Repoman-2.3.17
    Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>

 sys-fs/zfs-kmod/zfs-kmod-9999.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
Comment 3 anonymous 2019-09-14 08:27:49 UTC
I tried to build sys-fs/zfs-kmod-9999 and got the following error.

/lib/ld-linux-aarch64.so.1: No such file or directory

/lib/ld-linux-aarch64.so.1 clearly exists in /path/to/rpi3b+
Comment 4 Georgy Yakovlev archtester gentoo-dev 2019-09-30 23:38:15 UTC
please file separate bugs for cross-compiling issues.

not everything cross-compiles easily, especially kernel module packages.

if you open cross-compile related bugs please list target environment variables and portage config and exact command you try to use and any other variables that may influence the build.

closing, this is fixed in 0.8.2 ebuild.
Comment 5 Georgy Yakovlev archtester gentoo-dev 2019-11-26 20:15:08 UTC
this should be closed, probably forgot to actually close.