diff mbox series

uninative: Upgrade to 3.9 to include glibc 2.37

Message ID 20230207215439.1391583-1-richard.purdie@linuxfoundation.org
State Accepted, archived
Commit 360971a6ba562fa0b29bd062b96ede2d3a47fa2e
Headers show
Series uninative: Upgrade to 3.9 to include glibc 2.37 | expand

Commit Message

Richard Purdie Feb. 7, 2023, 9:54 p.m. UTC
From: Michael Halstead <mhalstead@linuxfoundation.org>

Update uninative to work with the new glibc 2.37.

Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 meta/conf/distro/include/yocto-uninative.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Comments

Martin Jansa March 28, 2023, 8:13 p.m. UTC | #1
On Tue, Feb 7, 2023 at 10:54 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> From: Michael Halstead <mhalstead@linuxfoundation.org>
>
> Update uninative to work with the new glibc 2.37.
>


> Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> ---
>  meta/conf/distro/include/yocto-uninative.inc | 10 +++++-----
>  1 file changed, 5 insertions(+), 5 deletions(-)
>
> diff --git a/meta/conf/distro/include/yocto-uninative.inc
> b/meta/conf/distro/include/yocto-uninative.inc
> index 51c0cdee438..8a5cab5360d 100644
> --- a/meta/conf/distro/include/yocto-uninative.inc
> +++ b/meta/conf/distro/include/yocto-uninative.inc
> @@ -6,10 +6,10 @@
>  # to the distro running on the build machine.
>  #
>
> -UNINATIVE_MAXGLIBCVERSION = "2.36"
> -UNINATIVE_VERSION = "3.8.1"
> +UNINATIVE_MAXGLIBCVERSION = "2.37"
> +UNINATIVE_VERSION = "3.9"
>

Was there some dependency on other changes to consider this for backport to
langdale (which already has the libgcc change with 3.8.1) and then
kirkstone (needs both update to 3.8.1 and then this).

I'll start using it for my ubuntu-23.10 builds (with glibc 2.37) and ask
for backport later if there is no reply on this.

Cheers,
Richard Purdie March 28, 2023, 8:33 p.m. UTC | #2
On Tue, 2023-03-28 at 22:13 +0200, Martin Jansa wrote:
> On Tue, Feb 7, 2023 at 10:54 PM Richard Purdie
> <richard.purdie@linuxfoundation.org> wrote:
> > From: Michael Halstead <mhalstead@linuxfoundation.org>
> > 
> > Update uninative to work with the new glibc 2.37.
> > 
> 
> 
> > 
> > Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
> > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > ---
> >  meta/conf/distro/include/yocto-uninative.inc | 10 +++++-----
> >  1 file changed, 5 insertions(+), 5 deletions(-)
> > 
> > diff --git a/meta/conf/distro/include/yocto-uninative.inc
> > b/meta/conf/distro/include/yocto-uninative.inc
> > index 51c0cdee438..8a5cab5360d 100644
> > --- a/meta/conf/distro/include/yocto-uninative.inc
> > +++ b/meta/conf/distro/include/yocto-uninative.inc
> > @@ -6,10 +6,10 @@
> >  # to the distro running on the build machine.
> >  #
> > 
> > -UNINATIVE_MAXGLIBCVERSION = "2.36"
> > -UNINATIVE_VERSION = "3.8.1"
> > +UNINATIVE_MAXGLIBCVERSION = "2.37"
> > +UNINATIVE_VERSION = "3.9"
> > 
> 
> 
> Was there some dependency on other changes to consider this for
> backport to langdale (which already has the libgcc change with 3.8.1)
> and then kirkstone (needs both update to 3.8.1 and then this).
> 
> I'll start using it for my ubuntu-23.10 builds (with glibc 2.37) and
> ask for backport later if there is no reply on this.

Uninative should generally be safe for backporting.

Cheers,

Richard
Martin Jansa March 29, 2023, 11:10 a.m. UTC | #3
Over night I got one failure in kirkstone with new uninative:

Exception: subprocess.CalledProcessError: Command '('patchelf-uninative',
'--set-interpreter',
'TOPDIR/BUILD/sysroots-uninative/x86_64-linux/lib/ld-linux-x86-64.so.2',
'TOPDIR/BUILD/work/x86_64-linux/3gpt/fakes/sstate-build-populate_sysroot/recipe-sysroot-native/usr/bin/makePr0n')'
returned non-zero exit status 1.

Subprocess output:
patchelf: open: Permission denied

After discussing with RP on #yocto he mentioned patchelf change related to
this and that's:
https://git.openembedded.org/openembedded-core/commit/?id=728775c87a7e35a03408675ce1c7a8cd061b2fda
which is already in langdale and does apply for kirkstone.

I've backported this for my kirkstone builds and will send formal backport
request for all 4 changes after a bit more testing (even safe things tend
to break if you build a lot of weird stuff).

Regards,

On Tue, Mar 28, 2023 at 10:33 PM Richard Purdie <
richard.purdie@linuxfoundation.org> wrote:

> On Tue, 2023-03-28 at 22:13 +0200, Martin Jansa wrote:
> > On Tue, Feb 7, 2023 at 10:54 PM Richard Purdie
> > <richard.purdie@linuxfoundation.org> wrote:
> > > From: Michael Halstead <mhalstead@linuxfoundation.org>
> > >
> > > Update uninative to work with the new glibc 2.37.
> > >
> >
> >
> > >
> > > Signed-off-by: Michael Halstead <mhalstead@linuxfoundation.org>
> > > Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
> > > ---
> > >  meta/conf/distro/include/yocto-uninative.inc | 10 +++++-----
> > >  1 file changed, 5 insertions(+), 5 deletions(-)
> > >
> > > diff --git a/meta/conf/distro/include/yocto-uninative.inc
> > > b/meta/conf/distro/include/yocto-uninative.inc
> > > index 51c0cdee438..8a5cab5360d 100644
> > > --- a/meta/conf/distro/include/yocto-uninative.inc
> > > +++ b/meta/conf/distro/include/yocto-uninative.inc
> > > @@ -6,10 +6,10 @@
> > >  # to the distro running on the build machine.
> > >  #
> > >
> > > -UNINATIVE_MAXGLIBCVERSION = "2.36"
> > > -UNINATIVE_VERSION = "3.8.1"
> > > +UNINATIVE_MAXGLIBCVERSION = "2.37"
> > > +UNINATIVE_VERSION = "3.9"
> > >
> >
> >
> > Was there some dependency on other changes to consider this for
> > backport to langdale (which already has the libgcc change with 3.8.1)
> > and then kirkstone (needs both update to 3.8.1 and then this).
> >
> > I'll start using it for my ubuntu-23.10 builds (with glibc 2.37) and
> > ask for backport later if there is no reply on this.
>
> Uninative should generally be safe for backporting.
>
> Cheers,
>
> Richard
>
diff mbox series

Patch

diff --git a/meta/conf/distro/include/yocto-uninative.inc b/meta/conf/distro/include/yocto-uninative.inc
index 51c0cdee438..8a5cab5360d 100644
--- a/meta/conf/distro/include/yocto-uninative.inc
+++ b/meta/conf/distro/include/yocto-uninative.inc
@@ -6,10 +6,10 @@ 
 # to the distro running on the build machine.
 #
 
-UNINATIVE_MAXGLIBCVERSION = "2.36"
-UNINATIVE_VERSION = "3.8.1"
+UNINATIVE_MAXGLIBCVERSION = "2.37"
+UNINATIVE_VERSION = "3.9"
 
 UNINATIVE_URL ?= "http://downloads.yoctoproject.org/releases/uninative/${UNINATIVE_VERSION}/"
-UNINATIVE_CHECKSUM[aarch64] ?= "3f15d420049b21854bd7a8843da0f42f17064559492c8b752d7a6f998ff5ea65"
-UNINATIVE_CHECKSUM[i686] ?= "a6dcf316d738ade2e5e463bd3b33a270b4bfc25bba41770ad5cbdc3b0e24044c"
-UNINATIVE_CHECKSUM[x86_64] ?= "5fab9a5c97fc73a21134e5a81f74498cbaecda75d56aab971c934e0b803bcc00"
+UNINATIVE_CHECKSUM[aarch64] ?= "de35708c95c34573af140da910132c3291ba4fd26ebf7b74b755ada432cdf07b"
+UNINATIVE_CHECKSUM[i686] ?= "adac07b08adb88eb26fc7fd87fee0cec9d5be167bf7c5ffd3a549a2a6699c29c"
+UNINATIVE_CHECKSUM[x86_64] ?= "3dd82c3fbdb59e87bf091c3eef555a05fae528eeda3083828f76cd4deaceca8b"