Summary: | sys-kernel/gentoo-sources-6.7.1 doesn't build with SCHED_ALT=y | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | NHO <jy6x2b32pie9> |
Component: | Current packages | Assignee: | Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel> |
Status: | RESOLVED UPSTREAM | ||
Severity: | major | CC: | gentoo, holger, jstein, jy6x2b32pie9, mpagano |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
URL: | https://lore.kernel.org/linux-hardening/0c4cc1a7-f409-4597-b110-81f9e45d1ffe@embeddedor.com/T/#m471a7592cbfba463487ef40ea2d956a7a677abaf | ||
See Also: | https://gitlab.com/alfredchen/linux-prjc/-/issues/92 | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
Config with build failure
Config of successful build |
Description
NHO
2024-01-21 11:45:31 UTC
Created attachment 882760 [details]
Config with build failure
Created attachment 882761 [details]
Config of successful build
USE=experimental, of course. sys-kernel/gentoo-sources-6.7.2::gentoo USE="experimental symlink -build" Issue persists. Error is the same. Seems to be a result of upstream enabling -Wstringop-overflow globally. I was able to successfully compile it with GCC 14. This should be reported upstream. https://gitlab.com/alfredchen/linux-prjc/-/issues Why can I build & run vanilla upstream 6.7.2 with BMQ enabled using gcc-13.2.1_p20240113-r1 without any issue? If -Wstringop-overflow were enabled globally by mainline I'd see the error as well. (In reply to Holger Hoffstätte from comment #6) > Why can I build & run vanilla upstream 6.7.2 with BMQ enabled using > gcc-13.2.1_p20240113-r1 without any issue? If -Wstringop-overflow were > enabled globally by mainline I'd see the error as well. Ah - probably because gentoo-sources has additional Kconfig stuff and enables FORTIFY_SOURCE and other hardening options. Reported upstream at https://gitlab.com/alfredchen/linux-prjc/-/issues/92 We'll follow the upstream bug and apply any fixes identified. |