Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#78392 - [linux-lts] GCC 13.1.1-1 plugin errors early during kernel building

Attached to Project: Arch Linux
Opened by Christopher (pluescho) - Thursday, 04 May 2023, 10:49 GMT
Last edited by Andreas Radke (AndyRTR) - Friday, 05 May 2023, 09:08 GMT
Task Type Bug Report
Category Kernel
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
After updating to 13.1.1-1 my GCC cannot build vanilla git lts kernel 6.1.27 with one or more plugins enabled (entropy, stackleak, randstruct). No problem w/o plugins or previous version.

Steps to reproduce:
Build vanilla lts kernel with one or more plugins enabled and latest stable GCC

kconfig options:
CONFIG_GCC_PLUGIN_LATENT_ENTROPY=y
and/or CONFIG_GCC_PLUGIN_STACKLEAK=y
and/or CONFIG_GCC_PLUGIN_RANDSTRUCT=y

This task depends upon

Closed by  Andreas Radke (AndyRTR)
Friday, 05 May 2023, 09:08 GMT
Reason for closing:  Upstream
Comment by Toolybird (Toolybird) - Thursday, 04 May 2023, 22:22 GMT
Those plugins are in the kernel source so this is not an Arch packaging problem. Have you reported the problem upstream? Does it work with the non-LTS kernel? Some gcc-13 fixes went in [1]. It appears the LTS kernel is missing at least this patch [2]

[1] https://github.com/archlinux/linux/commits/v6.3.1-arch1/scripts/gcc-plugins
[2] https://github.com/archlinux/linux/commit/e6a71160cc145e18ab45195abf89884112e02dfb
Comment by Christopher (pluescho) - Friday, 05 May 2023, 00:20 GMT
Thanks for your advice! I did not report that to kernel.org yet, have thought of some sort of linking problem within the gcc package, but will try to build a current master kernel from git when I get home.
Comment by Christopher (pluescho) - Friday, 05 May 2023, 07:29 GMT
Can build current master from git. So there is no problem when 'gimple' patches enter lts tree. Thanks!
Comment by Andreas Radke (AndyRTR) - Friday, 05 May 2023, 09:07 GMT
Feel free to request a backport request to the linux-stable mailing list.

Loading...