summaryrefslogtreecommitdiffstats
path: root/meta/classes/sanity.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2021-11-01 08:05:31 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-11-03 10:12:42 +0000
commit4f0400c3e5de50788c0b6250f587f459afcaed6d (patch)
treeaed8521c8159c733c9b72bd0a4ebf99b78700ede /meta/classes/sanity.bbclass
parent53754fa3b52103450d20a50adba81a26ff254980 (diff)
downloadpoky-4f0400c3e5de50788c0b6250f587f459afcaed6d.tar.gz
sanity.bbclass: Update required gcc version to v7.5
qemu-native 6.1.0 requires at least gcc v7.5: ERROR: You need at least GCC v7.5 or Clang v6.0 (or XCode Clang v10.0) (From OE-Core rev: 0137c3da41f8d9328888167fb497539436ead4e9) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/sanity.bbclass')
-rw-r--r--meta/classes/sanity.bbclass6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass
index ddba1e6e1e..9fbc9c18e7 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -530,7 +530,7 @@ def check_wsl(d):
530 bb.warn("You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space") 530 bb.warn("You are running bitbake under WSLv2, this works properly but you should optimize your VHDX file eventually to avoid running out of storage space")
531 return None 531 return None
532 532
533# Require at least gcc version 6.0. 533# Require at least gcc version 7.5.
534# 534#
535# This can be fixed on CentOS-7 with devtoolset-6+ 535# This can be fixed on CentOS-7 with devtoolset-6+
536# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/ 536# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
@@ -544,8 +544,8 @@ def check_gcc_version(sanity_data):
544 544
545 build_cc, version = oe.utils.get_host_compiler_version(sanity_data) 545 build_cc, version = oe.utils.get_host_compiler_version(sanity_data)
546 if build_cc.strip() == "gcc": 546 if build_cc.strip() == "gcc":
547 if LooseVersion(version) < LooseVersion("6.0"): 547 if LooseVersion(version) < LooseVersion("7.5"):
548 return "Your version of gcc is older than 6.0 and will break builds. Please install a newer version of gcc (you could use the project's buildtools-extended-tarball or use scripts/install-buildtools).\n" 548 return "Your version of gcc is older than 7.5 and will break builds. Please install a newer version of gcc (you could use the project's buildtools-extended-tarball or use scripts/install-buildtools).\n"
549 return None 549 return None
550 550
551# Tar version 1.24 and onwards handle overwriting symlinks correctly 551# Tar version 1.24 and onwards handle overwriting symlinks correctly