[prev in list] [next in list] [prev in thread] [next in thread]
List: openembedded-core
Subject: Re: [OE-core] [PATCH] sanity: Require gcc 6 or later
From: "Khem Raj" <raj.khem () gmail ! com>
Date: 2020-04-30 15:40:12
Message-ID: 947c7e4f-c78e-7ba4-0fc3-57325d82531a () gmail ! com
[Download RAW message or body]
On 4/29/20 11:10 PM, Alexander Kanavin wrote:
> Ubuntu 16.04 will continue to be supported even with this change, you
> just need to set up builtools-extended-tarball to provide a recent
> compiler, which is a couple of easy commands suggested by bitbake.
>
Thats understood, and as we do not use buildtools-extended-tarball on
every disto this is not default. Secondly, for a release it would differ
from what we have released with.
> Alex
>
> On Thu 30. Apr 2020 at 2.04, Steve Sakoman <sakoman@gmail.com
> <mailto:sakoman@gmail.com>> wrote:
>
> On Wed, Apr 29, 2020 at 1:41 PM Denys Dmytriyenko <denis@denix.org
> <mailto:denis@denix.org>> wrote:
>
> > So, this is for master, rigth? No plans to backport it to dunfell
> (hence, no
> > rpm backport either), correct? Trying to make sure Yocto LTS will
> still work
> > on Ubuntu 16.04 LTS...
>
> I have the same goal, so no plans to backport to dunfell!
>
> Steve
>
> > > Signed-off-by: Richard Purdie
> <richard.purdie@linuxfoundation.org
> <mailto:richard.purdie@linuxfoundation.org>>
> > > ---
> > > 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 9e871017389..292c5591dd3 100644
> > > --- a/meta/classes/sanity.bbclass
> > > +++ b/meta/classes/sanity.bbclass
> > > @@ -527,7 +527,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 5.0.
> > > +# Require at least gcc version 6.0.
> > > #
> > > # This can be fixed on CentOS-7 with devtoolset-6+
> > > # https://www.softwarecollections.org/en/scls/rhscl/devtoolset-6/
> > > @@ -541,8 +541,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("5.0"):
> > > - return "Your version of gcc is older than 5.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("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"
> > > return None
> > >
> > > # Tar version 1.24 and onwards handle overwriting symlinks
> correctly
> > > --
> > > 2.25.1
> > >
> >
> > >
> >
> >
>
>
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#137655): \
https://lists.openembedded.org/g/openembedded-core/message/137655 Mute This Topic: \
https://lists.openembedded.org/mt/73363807/4454766 Group Owner: \
openembedded-core+owner@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/leave/8023720/1801066118/xyzzy \
[openembedded-core@marc.info]
-=-=-=-=-=-=-=-=-=-=-=-
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic