Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ZFS error unplaced orphan section
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
shimbob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 140

PostPosted: Sat Sep 28, 2024 4:31 am    Post subject: ZFS error unplaced orphan section Reply with quote

Anyone manage to get ZFS compiled built-in? I've got gentoo-sources-6.6.47, zfs-2.2.5, and followed the advanced instructions here to have zfs built into the kernel, but upon compiling the kernel I get:
Code:
naz /usr/src/linux # make
  CALL    scripts/checksyscalls.sh
  DESCEND objtool
make[4]: 'install_headers' is up to date.
  UPD     include/generated/utsversion.h
  CC      init/version-timestamp.o
  LD      .tmp_vmlinux.kallsyms1
ld: error: unplaced orphan section `.eh_frame' from `fs/zfs/icp/asm-x86_64/sha2/sha256-x86_64.o'
ld: error: unplaced orphan section `.eh_frame' from `fs/zfs/icp/asm-x86_64/sha2/sha512-x86_64.o'
ld: error: unplaced orphan section `.eh_frame' from `fs/zfs/icp/asm-x86_64/modes/aesni-gcm-x86_64.o'
ld: error: unplaced orphan section `.eh_frame' from `fs/zfs/icp/asm-x86_64/modes/ghash-x86_64.o'
make[2]: *** [scripts/Makefile.vmlinux:37: vmlinux] Error 1
make[1]: *** [/usr/src/linux-6.6.47-gentoo/Makefile:1164: vmlinux] Error 2
make: *** [Makefile:234: __sub-make] Error 2
naz /usr/src/linux #


I see random occurrences of this error on the web but no obvious solution
Back to top
View user's profile Send private message
shimbob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 140

PostPosted: Thu Oct 17, 2024 3:49 am    Post subject: Reply with quote

Attempting the same thing with gentoo-sources-6.10.14 and zfs-kmod-2.2.6 only results in even more errors. I guess having ZFS built-in isn't going to happen any time soon.
Back to top
View user's profile Send private message
shimbob
Tux's lil' helper
Tux's lil' helper


Joined: 13 Sep 2003
Posts: 140

PostPosted: Sun Oct 27, 2024 3:13 am    Post subject: Reply with quote

Got it.
https://github.com/openzfs/zfs/issues/16331#issuecomment-2439673143

Also zpool is no longer degraded after an export/import cycle
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum