Summary: | sys-kernel/gentoo-sources fails to build with LLVM/CLANG >15 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | gt_amd64 <gt_amd64> |
Component: | Current packages | Assignee: | Gentoo Genkernel Maintainers <genkernel> |
Status: | CONFIRMED --- | ||
Severity: | major | CC: | gt_amd64 |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | AMD64 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
gt_amd64
2024-03-13 10:48:44 UTC
forget to mention that i used sys-devel/clang-17.0.6 to build kernel Upgrade util-linux ? on my system sys-apps/util-linux-2.39.3-r2 is installed (compiled with clang - no issues) so yes, either the inclided util-linux in sys-kernel/gentoo-sources needs an upgrade or a patch like the one from patchwork.yoctoproject.org is required. i think at the moment all gentoo-sources versions will fail to build, if clang >15 is used to compile the kernel and not only 6.8.0 (In reply to gt_amd64 from comment #3) > on my system sys-apps/util-linux-2.39.3-r2 is installed (compiled with clang > - no issues) > > so yes, either the inclided util-linux in sys-kernel/gentoo-sources needs an > upgrade or a patch like the one from patchwork.yoctoproject.org is required. > > i think at the moment all gentoo-sources versions will fail to build, if > clang >15 is used to compile the kernel and not only 6.8.0 Sorry not following. "either the inclided util-linux in sys-kernel/gentoo-sources needs an upgrade" util-linux is included in gentoo-sources? Nevermind, I see it's a genkernel problem. Thanks sorry, i was just guessing that util-linux is part of gentoo-sources, because i have installed sys-apps/util-linux-2.39.3-r2, but if i try to build the kernel util-linux-2.38.1 is used which causes the error. now i have checked the genkernel-4.3.10.ebuild and there is an entry VERSION_UTIL_LINUX="2.38.1" so, i agree and think genkernel is the problem and using a higher version of util-linux in genkernel.ebuild may fix this bug. |