sanity.bbclass: Update required gcc version to v7.5
cover sanity.bbclass: Update required gcc version to v7.5
The following changes since commit f33f3f1d3800fe4a1fe47f2ae1056d1ac2b0c2a5:
base-files: Ignore the empty-dirs QA error due to files in /var/volatile (2021-11-01 10:41:15 +0000)
are available in the Git repository at:
git://git.openembedded.org/openembedded-core-contrib rbt/gcc
http://cgit.openembedded.org/openembedded-core-contrib/log/?h=rbt/gcc
Robert Yang (1):
sanity.bbclass: Update required gcc version to v7.5
meta/classes/sanity.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
Signature · 1 line
2.31.1
PATCH 1/1 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)
--- meta/classes/sanity.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
meta/classes/sanity.bbclass +3 -3
@@ -530,7 +530,7 @@ def check_wsl(d): 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") return None -# Require at least gcc version 6.0. +# Require at least gcc version 7.5. # # This can be fixed on CentOS-7 with devtoolset-6+ # https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
@@ -544,8 +544,8 @@ def check_gcc_version(sanity_data): build_cc, version = oe.utils.get_host_compiler_version(sanity_data) if build_cc.strip() == "gcc": - if LooseVersion(version) < LooseVersion("6.0"): - 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" + if LooseVersion(version) < LooseVersion("7.5"): + 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" return None # Tar version 1.24 and onwards handle overwriting symlinks correctly
Signature · 1 line
2.31.1
Quoted 2 lines · Robert Yang
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)
Which supported distros still ship gcc < 7.5
Quoted 52 lines
Signed-off-by Robert Yang <[email protected]>--- meta/classes/sanity.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)meta/classes/sanity.bbclass +0
-0@@ -530,7 +530,7 @@ def check_wsl(d): bb.warn("You are running bitbake under WSLv2, this worksproperly but you should optimize your VHDX file eventually to avoid running out of storage space")
return Nonemeta/classes/sanity.bbclass +1
-3-# Require at least gcc version 6.0. +# Require at least gcc version 7.5. # # This can be fixed on CentOS-7 with devtoolset-6+ # https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/@@ -544,8 +544,8 @@ def check_gcc_version(sanity_data): build_cc, version = oe.utils.get_host_compiler_version(sanity_data) if build_cc.strip() == "gcc": - if LooseVersion(version) < LooseVersion("6.0"): - return "Your version of gcc is older than 6.0 and will breakbuilds. Please install a newer version of gcc (you could use the project's buildtools-extended-tarball or use scripts/install-buildtools).\n"
meta/classes/sanity.bbclass +2
-0+ if LooseVersion(version) < LooseVersion("7.5"): + return "Your version of gcc is older than 7.5 and will breakbuilds. Please install a newer version of gcc (you could use the project's buildtools-extended-tarball or use scripts/install-buildtools).\n"
return None# Tar version 1.24 and onwards handle overwriting symlinks correctly
--
2.31.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#157704):
https://lists.openembedded.org/g/openembedded-core/message/157704
Mute This Topic: https://lists.openembedded.org/mt/86742639/1997914
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ [email protected]]
-=-=-=-=-=-=-=-=-=-=-=-
HI Khem,
Quoted 9 lines · Khem Raj
On Mon, Nov 1, 2021 at 8:05 AM Robert Yang <[email protected] <mailto:[email protected]>> wrote:
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)Which supported distros still ship gcc < 7.5
CentOS-7:
SANITY_TESTED_DISTROS ?= " \
[snip]
centos-7 \n \
Its gcc is 4.8.5
// Robert
Quoted 58 lines
Signed-off-by Robert Yang <[email protected]<mailto:[email protected]>>
---
meta/classes/sanity.bbclass | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)diff --git a/meta/classes/sanity.bbclass b/meta/classes/sanity.bbclass index
ddba1e6e1e..9fbc9c18e7100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -530,7 +530,7 @@ defcheck_wsl(d):
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")
return None-# Require at least gcc version 6.0.
+# Require at least gcc version 7.5.
#
# This can be fixed on CentOS-7 with devtoolset-6+
# https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
<https://urldefense.com/v3/__https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/__;!!AjveYdw8EvQ!Lgf9R1VVp7NnmQ2_34OejSiQF4VTR4FFlyIm_7pg5abwOZHY2z7ir1SPnplXDpu3CJJc$>
@@ -544,8 +544,8 @@ defcheck_gcc_version(sanity_data):build_cc, version =
oe.utils.get_host_compiler_version(sanity_data)ifbuild_cc.strip()== "gcc":
- if LooseVersion(version) <LooseVersion("6.0"):
- 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" + if LooseVersion(version) <LooseVersion("7.5"):
+ 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"
return None# Tar version 1.24 and onwards handle overwriting symlinks correctly
--
2.31.1-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#157704):
https://lists.openembedded.org/g/openembedded-core/message/157704
<https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/message/157704__;!!AjveYdw8EvQ!Lgf9R1VVp7NnmQ2_34OejSiQF4VTR4FFlyIm_7pg5abwOZHY2z7ir1SPnplXDvQSm_zn$>
Mute This Topic: https://lists.openembedded.org/mt/86742639/1997914
<https://urldefense.com/v3/__https://lists.openembedded.org/mt/86742639/1997914__;!!AjveYdw8EvQ!Lgf9R1VVp7NnmQ2_34OejSiQF4VTR4FFlyIm_7pg5abwOZHY2z7ir1SPnplXDpJZAnsU$>
Group Owner: [email protected] <mailto:openembedded-core%[email protected]>
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
<https://urldefense.com/v3/__https://lists.openembedded.org/g/openembedded-core/unsub__;!!AjveYdw8EvQ!Lgf9R1VVp7NnmQ2_34OejSiQF4VTR4FFlyIm_7pg5abwOZHY2z7ir1SPnplXDqcbcTJc$>
[[email protected] <mailto:[email protected]>]
-=-=-=-=-=-=-=-=-=-=-=-
Quoted 7 lines · Khem Raj
On Mon, Nov 1, 2021 at 8:05 AM Robert Yang <[email protected]> wrote:
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)Which supported distros still ship gcc < 7.5
Ubuntu 18.04 is on gcc 7.4