Message ID | 20250327141258.2690906-1-adriaan.schmidt@siemens.com |
---|---|
State | New |
Headers | show |
Series | [1/1] libunwind: update 1.6.2 -> 1.8.1 | expand |
I started doing this upgrade some time ago and it’s non-trivial… Did you verify that ppc/mips/arm all build with both gcc and clang? Ross > On 27 Mar 2025, at 14:12, Adriaan Schmidt via lists.openembedded.org <adriaan.schmidt=siemens.com@lists.openembedded.org> wrote: > > Releases >1.6.2 are not hosted on the savannah server, so changing download location to github. > > Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com> > --- > .../libunwind/{libunwind_1.6.2.bb => libunwind_1.8.1.bb} | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > rename meta/recipes-support/libunwind/{libunwind_1.6.2.bb => libunwind_1.8.1.bb} (92%) > > diff --git a/meta/recipes-support/libunwind/libunwind_1.6.2.bb b/meta/recipes-support/libunwind/libunwind_1.8.1.bb > similarity index 92% > rename from meta/recipes-support/libunwind/libunwind_1.6.2.bb > rename to meta/recipes-support/libunwind/libunwind_1.8.1.bb > index b2e7ec7719..faf056762f 100644 > --- a/meta/recipes-support/libunwind/libunwind_1.6.2.bb > +++ b/meta/recipes-support/libunwind/libunwind_1.8.1.bb > @@ -6,14 +6,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d80c8ed4062b8339b715f90fa68cc9f" > DEPENDS += "libatomic-ops" > DEPENDS:append:libc-musl = " libucontext" > > -SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \ > +SRC_URI = "https://github.com/libunwind/libunwind/releases/download/v${PV}/libunwind-${PV}.tar.gz \ > file://mips-byte-order.patch \ > file://mips-coredump-register.patch \ > file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \ > file://0001-src-Gtrace-remove-unguarded-print-calls.patch \ > " > > -SRC_URI[sha256sum] = "4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976" > +SRC_URI[sha256sum] = "ddf0e32dd5fafe5283198d37e4bf9decf7ba1770b6e7e006c33e6df79e6a6157" > > inherit autotools multilib_header > > -- > 2.39.2 > > > -=-=-=-=-=-=-=-=-=-=-=- > Links: You receive all messages sent to this group. > View/Reply Online (#213749): https://lists.openembedded.org/g/openembedded-core/message/213749 > Mute This Topic: https://lists.openembedded.org/mt/111936881/6875888 > Group Owner: openembedded-core+owner@lists.openembedded.org > Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [ross.burton@arm.com] > -=-=-=-=-=-=-=-=-=-=-=- >
Ross Burton <Ross.Burton@arm.com>, Donnerstag, 27. März 2025 15:27: > I started doing this upgrade some time ago and it’s non-trivial… You are right. I somehow had something working on arm64, and was surprised that the patches didn't seem to need refreshing. Of course they need refreshing, and I really don't know what I built there... My apologies. I will be back. Adriaan > Did you verify that ppc/mips/arm all build with both gcc and clang? > > Ross > > > On 27 Mar 2025, at 14:12, Adriaan Schmidt via lists.openembedded.org > <adriaan.schmidt=siemens.com@lists.openembedded.org> wrote: > > > > Releases >1.6.2 are not hosted on the savannah server, so changing download > location to github. > > > > Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com> > > --- > > .../libunwind/{libunwind_1.6.2.bb => libunwind_1.8.1.bb} | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > rename meta/recipes-support/libunwind/{libunwind_1.6.2.bb => libunwind_1.8.1.bb} > (92%) > > > > diff --git a/meta/recipes-support/libunwind/libunwind_1.6.2.bb b/meta/recipes- > support/libunwind/libunwind_1.8.1.bb > > similarity index 92% > > rename from meta/recipes-support/libunwind/libunwind_1.6.2.bb > > rename to meta/recipes-support/libunwind/libunwind_1.8.1.bb > > index b2e7ec7719..faf056762f 100644 > > --- a/meta/recipes-support/libunwind/libunwind_1.6.2.bb > > +++ b/meta/recipes-support/libunwind/libunwind_1.8.1.bb > > @@ -6,14 +6,14 @@ LIC_FILES_CHKSUM = > "file://COPYING;md5=2d80c8ed4062b8339b715f90fa68cc9f" > > DEPENDS += "libatomic-ops" > > DEPENDS:append:libc-musl = " libucontext" > > > > -SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind- > ${PV}.tar.gz \ > > +SRC_URI = > "https://github.com/libunwind/libunwind/releases/download/v${PV}/libunwind- > ${PV}.tar.gz \ > > file://mips-byte-order.patch \ > > file://mips-coredump-register.patch \ > > file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \ > > file://0001-src-Gtrace-remove-unguarded-print-calls.patch \ > > " > > > > -SRC_URI[sha256sum] = > "4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976" > > +SRC_URI[sha256sum] = > "ddf0e32dd5fafe5283198d37e4bf9decf7ba1770b6e7e006c33e6df79e6a6157" > > > > inherit autotools multilib_header > > > > -- > > 2.39.2 > > > > > > > >
On 27 Mar 2025, at 17:09, Schmidt, Adriaan <adriaan.schmidt@siemens.com> wrote: > > Ross Burton <Ross.Burton@arm.com>, Donnerstag, 27. März 2025 15:27: >> I started doing this upgrade some time ago and it’s non-trivial… > > You are right. I somehow had something working on arm64, and was surprised that the patches didn't seem to need refreshing. > Of course they need refreshing, and I really don't know what I built there… https://git.yoctoproject.org/poky-contrib/log/?h=ross/libunwind is as far as I got. Maybe some more fixes have landed upstream since then. Ross
Ross Burton <Ross.Burton@arm.com>, Donnerstag, 27. März 2025 18:26: > To: Schmidt, Adriaan (FT RPD CED EDC-DE) <adriaan.schmidt@siemens.com> > Cc: openembedded-core@lists.openembedded.org > Subject: Re: [OE-core] [PATCH 1/1] libunwind: update 1.6.2 -> 1.8.1 > > On 27 Mar 2025, at 17:09, Schmidt, Adriaan <adriaan.schmidt@siemens.com> > wrote: > > > > Ross Burton <Ross.Burton@arm.com>, Donnerstag, 27. März 2025 15:27: > >> I started doing this upgrade some time ago and it’s non-trivial… > > > > You are right. I somehow had something working on arm64, and was surprised that > the patches didn't seem to need refreshing. > > Of course they need refreshing, and I really don't know what I built there… > > https://git.yoctoproject.org/poky-contrib/log/?h=ross/libunwind is as far as I got. > Maybe some more fixes have landed upstream since then. This looks pretty up-to-date. The mips-byte-order.patch (set to apply=0 in your branch) is still needed, and has not yet been merged upstream. With that I was able to successfully "bitbake libunwind" for the x86, arm, mips, and ppc qemu machines, both 32 and 64bit, with and without TOOLCHAIN=clang, and with and without TCLIBC=musl. Do you remember if you had any specific issues when you worked on this last year? Adriaan
On Tue, 1 Apr 2025 at 20:26, Adriaan Schmidt via lists.openembedded.org <adriaan.schmidt=siemens.com@lists.openembedded.org> wrote: > This looks pretty up-to-date. > The mips-byte-order.patch (set to apply=0 in your branch) is still needed, and has not yet been merged upstream. > With that I was able to successfully "bitbake libunwind" for the x86, arm, mips, and ppc qemu machines, both 32 and 64bit, with and without TOOLCHAIN=clang, and with and without TCLIBC=musl. > > Do you remember if you had any specific issues when you worked on this last year? I guess we should put this on the autobuilder and see what comes up? Alex
diff --git a/meta/recipes-support/libunwind/libunwind_1.6.2.bb b/meta/recipes-support/libunwind/libunwind_1.8.1.bb similarity index 92% rename from meta/recipes-support/libunwind/libunwind_1.6.2.bb rename to meta/recipes-support/libunwind/libunwind_1.8.1.bb index b2e7ec7719..faf056762f 100644 --- a/meta/recipes-support/libunwind/libunwind_1.6.2.bb +++ b/meta/recipes-support/libunwind/libunwind_1.8.1.bb @@ -6,14 +6,14 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=2d80c8ed4062b8339b715f90fa68cc9f" DEPENDS += "libatomic-ops" DEPENDS:append:libc-musl = " libucontext" -SRC_URI = "http://download.savannah.nongnu.org/releases/libunwind/libunwind-${PV}.tar.gz \ +SRC_URI = "https://github.com/libunwind/libunwind/releases/download/v${PV}/libunwind-${PV}.tar.gz \ file://mips-byte-order.patch \ file://mips-coredump-register.patch \ file://0005-ppc32-Consider-ucontext-mismatches-between-glibc-and.patch \ file://0001-src-Gtrace-remove-unguarded-print-calls.patch \ " -SRC_URI[sha256sum] = "4a6aec666991fb45d0889c44aede8ad6eb108071c3554fcdff671f9c94794976" +SRC_URI[sha256sum] = "ddf0e32dd5fafe5283198d37e4bf9decf7ba1770b6e7e006c33e6df79e6a6157" inherit autotools multilib_header
Releases >1.6.2 are not hosted on the savannah server, so changing download location to github. Signed-off-by: Adriaan Schmidt <adriaan.schmidt@siemens.com> --- .../libunwind/{libunwind_1.6.2.bb => libunwind_1.8.1.bb} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename meta/recipes-support/libunwind/{libunwind_1.6.2.bb => libunwind_1.8.1.bb} (92%)