On Tue, 2026-08-04 at 18:00 +0100, Richard Purdie via
lists.openembedded.org wrote:
> On Tue, 2026-08-04 at 13:23 +0100, Richard Purdie via
> lists.openembedded.org wrote:
> > Drop one patch applied upstream, refresh another.
> > Switch to xz compressed source tarball.
> > 
> > Signed-off-by: Richard Purdie <[email protected]>
> > ---
> >  .../{libtool-2.5.4.inc => libtool-2.6.2.inc}  |  5 +--
> >  ...-cross_2.5.4.bb => libtool-cross_2.6.2.bb} |  0
> >  ...ative_2.5.4.bb => libtool-native_2.6.2.bb} |  0
> >  ...3-libtool-remove-help2man-dependency.patch | 17 ++++----
> >  ...r-static-libs-for-internal-compiler-.patch | 39 ---------------
> > ----
> >  .../{libtool_2.5.4.bb => libtool_2.6.2.bb}    |  0
> >  ...ol_2.5.4.bb => nativesdk-libtool_2.6.2.bb} |  0
> >  7 files changed, 10 insertions(+), 51 deletions(-)
> >  rename meta/recipes-devtools/libtool/{libtool-2.5.4.inc =>
> > libtool-2.6.2.inc} (85%)
> >  rename meta/recipes-devtools/libtool/{libtool-cross_2.5.4.bb =>
> > libtool-cross_2.6.2.bb} (100%)
> >  rename meta/recipes-devtools/libtool/{libtool-native_2.5.4.bb =>
> > libtool-native_2.6.2.bb} (100%)
> >  delete mode 100644 meta/recipes-devtools/libtool/libtool/0005-
> > libtool-Check-for-static-libs-for-internal-compiler-.patch
> >  rename meta/recipes-devtools/libtool/{libtool_2.5.4.bb =>
> > libtool_2.6.2.bb} (100%)
> >  rename meta/recipes-devtools/libtool/{nativesdk-libtool_2.5.4.bb
> > => nativesdk-libtool_2.6.2.bb} (100%)
> 
> This breaks libunwind on qemuriscv64:
> 
> https://autobuilder.yoctoproject.org/valkyrie/#/builders/45/builds/2034

There are two possible fixes I found, we can either
s/WCClinker/XCClinker/ on configure.ac or disable cxx exceptions (which
would match aarch64/x86):

diff --git a/meta/recipes-support/libunwind/libunwind_1.8.3.bb 
b/meta/recipes-support/libunwind/libunwind_1.8.3.bb
index bc1a108e42..1a3a816d78 100644
--- a/meta/recipes-support/libunwind/libunwind_1.8.3.bb
+++ b/meta/recipes-support/libunwind/libunwind_1.8.3.bb
@@ -27,6 +27,8 @@ PACKAGECONFIG[zlib] = 
"--enable-zlibdebuginfo,--disable-zlibdebuginfo,zlib"
 PACKAGECONFIG[latexdocs] = "--enable-documentation, --disable-documentation, 
latex2man-native"
 
 EXTRA_OECONF = "--enable-static --disable-tests"
+EXTRA_OECONF:append:riscv64 = " --disable-cxx-exceptions"
+
 
 # http://errors.yoctoproject.org/Errors/Details/20487/
 ARM_INSTRUCTION_SET:armv4 = "arm"

not sure which is "right"...

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#242802): 
https://lists.openembedded.org/g/openembedded-core/message/242802
Mute This Topic: https://lists.openembedded.org/mt/120600439/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to