Default to GCC 12

Bug #2009121 reported by Bin Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gcc-defaults (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

On jammy 22.04.2, the default gcc is gcc-11, could we set it to gcc-12? Cause now the 6.1.0-oem kernel was built from gcc-12, and it will failed to built kernel modules.

gcc: error: unrecognized command-line option ‘-ftrivial-auto-var-init=zero’

Revision history for this message
Bin Li (binli) wrote :

Currently 5.19.0-35-generic was built by gcc-11.

Revision history for this message
Bin Li (binli) wrote :

On 5.19.0-35-generic kernel, it works fine with gcc-11 or gcc-12, cause the kernel was built by gcc-11.

This issue only affects 6.1.0-oem kernel.

Bin Li (binli)
Changed in gcc-defaults (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.