[PATCH 0/1][SRU][FOCAL][RISC-V][5.8] Use gcc-10 for riscv 5.8 kernel build

Colin King colin.king at canonical.com
Sat Jan 30 10:51:25 UTC 2021


From: Colin Ian King <colin.king at canonical.com>

BugLink: https://bugs.launchpad.net/bugs/1913864

== SRU RISC-V 5.8 Focal backport kernel ==

The 5.8 RISC-V kernel has boot issues when compiled with gcc 9.
This can be fixed by building it with gcc-10.

== Fix ==

Enable gcc-10 as the default compiler.

== Testing ==

Without the fix, the kernel will panic during boot. With the
fix, the kernel boots fine.

== Where problems could occur ==

Using a different compiler version can always introduce subtle
object code differences and hence potential bugs, however, the
same gcc version is being used to build the groovy variant of
the same kernel source and we know that this works fine w/o
any observable gcc specific issues.

Colin Ian King (1):
  UBUNTU: [Packaging] Use gcc-10 for riscv 5.8 kernel build

 debian.master/control.stub.in | 2 +-
 debian/rules                  | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

-- 
2.29.2




More information about the kernel-team mailing list