From 052f8d9f67bd9f945cc9863881fa02dbc8fcf691 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 17 Feb 2021 07:21:05 +0100 Subject: pkg/vcs: use gcc 10 for linux v5.9+ All bisections started failing with: Compiler lacks asm-goto support. Use gcc 10 for v5.9+. --- pkg/vcs/linux.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/vcs/linux.go') diff --git a/pkg/vcs/linux.go b/pkg/vcs/linux.go index 93c9ca045..c6eb663cd 100644 --- a/pkg/vcs/linux.go +++ b/pkg/vcs/linux.go @@ -149,6 +149,8 @@ func (ctx *linux) EnvForCommit(binDir, commit string, kernelConfig []byte) (*Bis func linuxCompilerVersion(tags map[string]bool) string { switch { + case tags["v5.9"]: + return "10.1.0" case tags["v4.12"]: return "8.1.0" case tags["v4.11"]: -- cgit mrf-deployment