Activity log for bug #1995853

Date Who What changed Old value New value Message
2022-11-07 10:36:32 Juerg Haefliger bug added bug
2022-11-07 10:36:48 Juerg Haefliger bug task added linux-raspi (Ubuntu)
2022-11-07 10:36:54 Juerg Haefliger bug task deleted gcc-12 (Ubuntu)
2022-11-07 10:37:08 Juerg Haefliger summary The armhf kernel is compiled with gcc-11 armhf kernels are compiled with gcc-11
2022-11-07 10:37:16 Juerg Haefliger nominated for series Ubuntu Kinetic
2022-11-07 10:37:16 Juerg Haefliger bug task added linux-raspi (Ubuntu Kinetic)
2022-11-07 10:37:24 Juerg Haefliger linux-raspi (Ubuntu): status New Invalid
2022-11-07 10:37:27 Juerg Haefliger linux-raspi (Ubuntu Kinetic): status New Confirmed
2022-11-07 10:37:52 Juerg Haefliger description We currently compile the raspi armhf kernels with gcc-11 because a gcc-12 compiled armhf raspi kernel won't boot or hang. We need to figure out what's going on and fix it to be able to go back to the default compiler. We currently compile the Kinetic raspi armhf kernels with gcc-11 because a gcc-12-compiled armhf raspi kernel won't boot or hang. We need to figure out what's going on and fix it to be able to go back to the default compiler.
2022-11-07 10:39:25 Juerg Haefliger description We currently compile the Kinetic raspi armhf kernels with gcc-11 because a gcc-12-compiled armhf raspi kernel won't boot or hang. We need to figure out what's going on and fix it to be able to go back to the default compiler. [Impact] We currently compile the Kinetic raspi armhf kernels with gcc-11 because a gcc-12-compiled armhf raspi kernel won't boot or hang. We need to figure out what's going on and fix it to be able to go back to the default compiler. [Test Case] Boot armhf kernel and exercise the system. It either won't come up at all or hang/freeze later on.
2022-11-08 07:57:08 Juerg Haefliger tags kern-4811
2022-11-08 10:44:23 Juerg Haefliger description [Impact] We currently compile the Kinetic raspi armhf kernels with gcc-11 because a gcc-12-compiled armhf raspi kernel won't boot or hang. We need to figure out what's going on and fix it to be able to go back to the default compiler. [Test Case] Boot armhf kernel and exercise the system. It either won't come up at all or hang/freeze later on. [Impact] We currently compile the Kinetic raspi armhf kernels with gcc-11 because a gcc-12-compiled armhf raspi kernel won't boot or hang. We need to figure out what's going on and fix it to be able to go back to the default compiler. Turns out that the downstream dwc_otg driver is broken when compiled with gcc-12 and 'standard' kernel compiler flags. I confirmed that the system seems to work reliably after switching to the upstream dwc2 driver. Relevant gcc-12 changes: arm Support is added for accessing the stack canary value via the TLS register through the -fstack-protector-guard=tls and -mstack-protector-guard-offset= options. This intended for use in Linux kernel development. Please refer to the documentation for more details. [Test Case] Boot armhf kernel and exercise the system. It either won't come up at all or hang/freeze later on. [Fix] 1a62e5b2363d ("drivers: dwc_otg: stop GCC from patching FIQ functions") from github.com/raspberrypi/linux [Regression Potential] Setting a specific compiler flag and switching to a new GCC version. What could possibly go wrong?
2022-11-11 11:50:41 Juerg Haefliger linux-raspi (Ubuntu Kinetic): status Confirmed Fix Committed
2022-12-06 00:24:05 Ubuntu Kernel Bot tags kern-4811 kern-4811 kernel-spammed-kinetic-linux-raspi verification-needed-kinetic
2022-12-06 09:19:18 Juerg Haefliger tags kern-4811 kernel-spammed-kinetic-linux-raspi verification-needed-kinetic kern-4811 kernel-spammed-kinetic-linux-raspi verification-done-kinetic
2023-01-06 00:36:35 Launchpad Janitor linux-raspi (Ubuntu Kinetic): status Fix Committed Fix Released
2023-03-28 14:43:25 Launchpad Janitor linux-raspi (Ubuntu): status Invalid Fix Released