All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/1] sanity.bbclass: Update required gcc version to v7.5
@ 2021-11-01 15:05 Robert Yang
  2021-11-01 15:05 ` [PATCH 1/1] " Robert Yang
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2021-11-01 15:05 UTC (permalink / raw)
  To: openembedded-core

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(-)

-- 
2.31.1



^ permalink raw reply	[flat|nested] 5+ messages in thread

* [PATCH 1/1] sanity.bbclass: Update required gcc version to v7.5
  2021-11-01 15:05 [PATCH 0/1] sanity.bbclass: Update required gcc version to v7.5 Robert Yang
@ 2021-11-01 15:05 ` Robert Yang
  2021-11-01 15:18   ` [OE-core] " Khem Raj
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Yang @ 2021-11-01 15:05 UTC (permalink / raw)
  To: openembedded-core

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)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
---
 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..9fbc9c18e7 100644
--- a/meta/classes/sanity.bbclass
+++ b/meta/classes/sanity.bbclass
@@ -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
-- 
2.31.1



^ permalink raw reply related	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH 1/1] sanity.bbclass: Update required gcc version to v7.5
  2021-11-01 15:05 ` [PATCH 1/1] " Robert Yang
@ 2021-11-01 15:18   ` Khem Raj
  2021-11-02  3:54     ` Robert Yang
  2021-11-02  4:45     ` Douglas Royds
  0 siblings, 2 replies; 5+ messages in thread
From: Khem Raj @ 2021-11-01 15:18 UTC (permalink / raw)
  To: Robert Yang; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 2317 bytes --]

On Mon, Nov 1, 2021 at 8:05 AM Robert Yang <liezhi.yang@windriver.com>
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

>
>
> Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
> ---
>  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..9fbc9c18e7 100644
> --- a/meta/classes/sanity.bbclass
> +++ b/meta/classes/sanity.bbclass
> @@ -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
> --
> 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: openembedded-core+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>

[-- Attachment #2: Type: text/html, Size: 3639 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH 1/1] sanity.bbclass: Update required gcc version to v7.5
  2021-11-01 15:18   ` [OE-core] " Khem Raj
@ 2021-11-02  3:54     ` Robert Yang
  2021-11-02  4:45     ` Douglas Royds
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Yang @ 2021-11-02  3:54 UTC (permalink / raw)
  To: Khem Raj; +Cc: openembedded-core

HI Khem,

On 11/1/21 11:18 PM, Khem Raj wrote:
> 
> 
> On Mon, Nov 1, 2021 at 8:05 AM Robert Yang <liezhi.yang@windriver.com 
> <mailto:liezhi.yang@windriver.com>> 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


> 
> 
> 
>     Signed-off-by: Robert Yang <liezhi.yang@windriver.com
>     <mailto:liezhi.yang@windriver.com>>
>     ---
>       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..9fbc9c18e7 100644
>     --- a/meta/classes/sanity.bbclass
>     +++ b/meta/classes/sanity.bbclass
>     @@ -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/
>     <https://urldefense.com/v3/__https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/__;!!AjveYdw8EvQ!Lgf9R1VVp7NnmQ2_34OejSiQF4VTR4FFlyIm_7pg5abwOZHY2z7ir1SPnplXDpu3CJJc$>
>     @@ -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
>     -- 
>     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: openembedded-core+owner@lists.openembedded.org
>     <mailto:openembedded-core%2Bowner@lists.openembedded.org>
>     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$>
>     [raj.khem@gmail.com <mailto:raj.khem@gmail.com>]
>     -=-=-=-=-=-=-=-=-=-=-=-
> 


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [OE-core] [PATCH 1/1] sanity.bbclass: Update required gcc version to v7.5
  2021-11-01 15:18   ` [OE-core] " Khem Raj
  2021-11-02  3:54     ` Robert Yang
@ 2021-11-02  4:45     ` Douglas Royds
  1 sibling, 0 replies; 5+ messages in thread
From: Douglas Royds @ 2021-11-02  4:45 UTC (permalink / raw)
  To: Khem Raj, Robert Yang; +Cc: openembedded-core

[-- Attachment #1: Type: text/plain, Size: 330 bytes --]

On 2/11/21 4:18 am, Khem Raj wrote:
> On Mon, Nov 1, 2021 at 8:05 AM Robert Yang <liezhi.yang@windriver.com> 
> 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

[-- Attachment #2: Type: text/html, Size: 1115 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-11-02  4:55 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-01 15:05 [PATCH 0/1] sanity.bbclass: Update required gcc version to v7.5 Robert Yang
2021-11-01 15:05 ` [PATCH 1/1] " Robert Yang
2021-11-01 15:18   ` [OE-core] " Khem Raj
2021-11-02  3:54     ` Robert Yang
2021-11-02  4:45     ` Douglas Royds

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.