On Tue, 2022-01-25 at 20:41 -0800, Khem Raj wrote: > This fixes a build issue that started with 3.1 upgrade > Fixes > > ../ruby-3.1.0/vm_dump.c:916:38: error: use of undeclared identifier 'REG_S1' > > dump_machine_register(mctx->__gregs[REG_S1], "s1"); > > Signed-off-by: Khem Raj <raj.k...@gmail.com> > --- > ...ine-REG_S1-and-REG_S2-for-musl-riscv.patch | 30 +++++++++++++++++++ > meta/recipes-devtools/ruby/ruby_3.1.0.bb | 9 +----- > 2 files changed, 31 insertions(+), 8 deletions(-) > create mode 100644 > meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch > > diff --git > a/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch > > b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch > new file mode 100644 > index 00000000000..8821325c0fe > --- /dev/null > +++ > b/meta/recipes-devtools/ruby/ruby/0001-vm_dump.c-Define-REG_S1-and-REG_S2-for-musl-riscv.patch > @@ -0,0 +1,30 @@ > +From dfb22e4d6662bf72879eda806eaa78c7b52b519e Mon Sep 17 00:00:00 2001 > +From: Khem Raj <raj.k...@gmail.com> > +Date: Tue, 25 Jan 2022 20:29:14 -0800 > +Subject: [PATCH] vm_dump.c: Define REG_S1 and REG_S2 for musl/riscv > + > +Upstream-Status: Inappropriate [musl bug] > +Signed-off-by: Khem Raj <raj.k...@gmail.com>
Is there something open on the musl side to resolve this? Cheers, Richard
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#161022): https://lists.openembedded.org/g/openembedded-core/message/161022 Mute This Topic: https://lists.openembedded.org/mt/88690372/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-