golang 1.14 needs 5.3.15+, 5.4.2+, or 5.5+

Asked by Karthik K

Golang 1.14 got released recently.

And as per one of the issues under discussion, they have 'discovered' a kernel bug. And hence for golang 1.14 to run , a later version of the kernel is recommended by the golang team that contains the fix.

"runtime: update your kernel to 5.3.15+, 5.4.2+, or 5.5+" . More details here at - https://github.com/golang/go/issues/37436 .

I am looking at this page - https://packages.ubuntu.com/search?keywords=linux-image-generic .

1) So, even for focal (20.04) , the kernel mentioned is 5.4.0.14.17 ( that is still behind the recommended version by golang, i.e. 5.4.2+ ) .

Is it possible to roll out an upgraded kernel for "focal" beta to incorporate the fix.

2) It would also be useful to apply 5.3.15+ retroactively to eoan too .

( Current Version eoan-updates (kernel): Generic Linux kernel image 5.3.0.40.34: amd64 arm64 armhf ppc64el s390 )

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu linux-meta-5.4 Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Manfred Hampl (m-hampl) said :
#1

 The Ubuntu kernels are already patched.

The kernel version numbering in Ubuntu deviates from other Systems.
Ubuntu's 5.3.0-40 version of the kernel (in eoan) is based on the 5.3.18 mainline kernel version.
Similar for focal (Ubuntu 5.4.0-9.12 based on mainline 5.4.3).

see https://people.canonical.com/~kernel/info/kernel-version-map.html

This is already discusssed in https://github.com/golang/go/issues/37436 in the comments from February 26 and later

Can you help with this problem?

Provide an answer of your own, or ask Karthik K for more information if necessary.

To post a message you must log in.