* [PATCH 1/2] librav1e: make nasm dependency x86-specific
@ 2026-07-06 8:34 Ross Burton
2026-07-06 8:34 ` [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml Ross Burton
2026-07-06 13:31 ` [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific Khem Raj
0 siblings, 2 replies; 7+ messages in thread
From: Ross Burton @ 2026-07-06 8:34 UTC (permalink / raw)
To: openembedded-devel
nasm is an x86 assembler, so only depend on it (and work around the
build paths errors) on x86-64 (the assembler fastpaths are explicitly
64-bit only).
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../recipes-multimedia/rav1e/librav1e_p20250902.bb | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
index 836cd4448f..80ac5d9268 100644
--- a/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
+++ b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
@@ -7,9 +7,10 @@ inherit cargo_c pkgconfig cargo-update-recipe-crates
require ${PN}-crates.inc
-DEPENDS += "nasm-native"
+DEPENDS:append:x86_64 = " nasm-native"
SRC_URI += "git://github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=${PV}"
SRCREV = "a2f01b3e233f531c28a20b4c29fb5c9e5d29fa6d"
-INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
+# TODO we need to pass -fdebug-prefix-map to the nasm calls
+INHIBIT_PACKAGE_DEBUG_SPLIT:x86-64 = "1"
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml
2026-07-06 8:34 [PATCH 1/2] librav1e: make nasm dependency x86-specific Ross Burton
@ 2026-07-06 8:34 ` Ross Burton
2026-07-06 8:50 ` [oe] " Etienne Cordonnier
2026-07-06 13:31 ` [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific Khem Raj
1 sibling, 1 reply; 7+ messages in thread
From: Ross Burton @ 2026-07-06 8:34 UTC (permalink / raw)
To: openembedded-devel
This file hardcodes a specific compiler for aarch64-linux builds, which
is not the compiler that we provide. As it's otherwise useless, we can
just delete the file.
Signed-off-by: Ross Burton <ross.burton@arm.com>
---
.../recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
index d294736395..2c7d3a3200 100644
--- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
+++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
@@ -65,6 +65,10 @@ python __anonymous() {
BBCLASSEXTEND = "native nativesdk"
+do_configure:prepend() {
+ rm -f ${S}/.cargo/config.toml
+}
+
do_compile:prepend() {
export LIBSTDBUF_DIR="${libdir}/coreutils"
}
--
2.43.0
^ permalink raw reply related [flat|nested] 7+ messages in thread
* Re: [oe] [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml
2026-07-06 8:34 ` [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml Ross Burton
@ 2026-07-06 8:50 ` Etienne Cordonnier
2026-07-06 9:01 ` Mikko Rapeli
0 siblings, 1 reply; 7+ messages in thread
From: Etienne Cordonnier @ 2026-07-06 8:50 UTC (permalink / raw)
To: ross.burton; +Cc: openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 2609 bytes --]
Hi Ross,
what is the use-case of the patch? config.toml file is ignored in
out-of-tree builds ( https://github.com/rust-lang/cargo/issues/2930 ), so
AFAIU removing it shouldn't make any difference for a bitbake build. Is it
for devtool builds?
Étienne
On Mon, Jul 6, 2026 at 10:34 AM Ross Burton via lists.openembedded.org
<ross.burton=arm.com@lists.openembedded.org> wrote:
> This file hardcodes a specific compiler for aarch64-linux builds, which
> is not the compiler that we provide. As it's otherwise useless, we can
> just delete the file.
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> .../recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb | 4 ++++
> 1 file changed, 4 insertions(+)
>
> diff --git a/meta-oe/recipes-core/uutils-coreutils/
> uutils-coreutils_0.9.0.bb b/meta-oe/recipes-core/uutils-coreutils/
> uutils-coreutils_0.9.0.bb
> index d294736395..2c7d3a3200 100644
> --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> @@ -65,6 +65,10 @@ python __anonymous() {
>
> BBCLASSEXTEND = "native nativesdk"
>
> +do_configure:prepend() {
> + rm -f ${S}/.cargo/config.toml
> +}
> +
> do_compile:prepend() {
> export LIBSTDBUF_DIR="${libdir}/coreutils"
> }
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#128027):
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Ddevel_message_128027&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=SOdQBYUxH7BLXzTcxj9ZvaK6NGp2-7IVaqDjBLLiqzTSJVfVV9rx4ihsNf7nh8E0&s=O9-vKBRH9FlzsZfYlxmATl9wU4N_eiIW6nyWGWtYbVY&e=
> Mute This Topic:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_120136596_7048771&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=SOdQBYUxH7BLXzTcxj9ZvaK6NGp2-7IVaqDjBLLiqzTSJVfVV9rx4ihsNf7nh8E0&s=2yFkpP2kDn3joVADoPeFPZ0Zi9frtMNUKCeXShwvgr8&e=
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Ddevel_unsub&d=DwIFaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=SOdQBYUxH7BLXzTcxj9ZvaK6NGp2-7IVaqDjBLLiqzTSJVfVV9rx4ihsNf7nh8E0&s=IkfzKX-TOIl7nmyig50STkBSa2ay6flcERE0_reNnh0&e=
> [ecordonnier@snap.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 4994 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml
2026-07-06 8:50 ` [oe] " Etienne Cordonnier
@ 2026-07-06 9:01 ` Mikko Rapeli
2026-07-06 9:07 ` Etienne Cordonnier
0 siblings, 1 reply; 7+ messages in thread
From: Mikko Rapeli @ 2026-07-06 9:01 UTC (permalink / raw)
To: ecordonnier; +Cc: ross.burton, openembedded-devel
Hi,
The file is not ignored. It gets used and overrides linker set by cargo.bbclass/rust.
uutils-coreutils builds are currently broken on arm64 build hosts and this
patch fixed them.
Cheers,
-Mikko
On Mon, Jul 06, 2026 at 10:50:19AM +0200, Etienne Cordonnier via lists.openembedded.org wrote:
> Hi Ross,
>
> what is the use-case of the patch? config.toml file is ignored in
> out-of-tree builds ( https://github.com/rust-lang/cargo/issues/2930 ), so
> AFAIU removing it shouldn't make any difference for a bitbake build. Is it
> for devtool builds?
>
> Étienne
>
>
> On Mon, Jul 6, 2026 at 10:34 AM Ross Burton via lists.openembedded.org
> <ross.burton=arm.com@lists.openembedded.org> wrote:
>
> > This file hardcodes a specific compiler for aarch64-linux builds, which
> > is not the compiler that we provide. As it's otherwise useless, we can
> > just delete the file.
> >
> > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > ---
> > .../recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb | 4 ++++
> > 1 file changed, 4 insertions(+)
> >
> > diff --git a/meta-oe/recipes-core/uutils-coreutils/
> > uutils-coreutils_0.9.0.bb b/meta-oe/recipes-core/uutils-coreutils/
> > uutils-coreutils_0.9.0.bb
> > index d294736395..2c7d3a3200 100644
> > --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> > +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> > @@ -65,6 +65,10 @@ python __anonymous() {
> >
> > BBCLASSEXTEND = "native nativesdk"
> >
> > +do_configure:prepend() {
> > + rm -f ${S}/.cargo/config.toml
> > +}
> > +
> > do_compile:prepend() {
> > export LIBSTDBUF_DIR="${libdir}/coreutils"
> > }
> > --
> > 2.43.0
> >
> >
> >
> >
> >
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#128031): https://lists.openembedded.org/g/openembedded-devel/message/128031
> Mute This Topic: https://lists.openembedded.org/mt/120136596/7159507
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [mikko.rapeli@linaro.org]
> -=-=-=-=-=-=-=-=-=-=-=-
>
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml
2026-07-06 9:01 ` Mikko Rapeli
@ 2026-07-06 9:07 ` Etienne Cordonnier
0 siblings, 0 replies; 7+ messages in thread
From: Etienne Cordonnier @ 2026-07-06 9:07 UTC (permalink / raw)
To: Mikko Rapeli; +Cc: ross.burton, openembedded-devel
[-- Attachment #1: Type: text/plain, Size: 3468 bytes --]
OK, thanks. I'll need to investigate whether something changed. In the past
I had to send fixes specifically because this file was ignored in yocto
builds ( see https://github.com/uutils/coreutils/pull/8360 ).
On Mon, Jul 6, 2026 at 11:01 AM Mikko Rapeli <mikko.rapeli@linaro.org>
wrote:
> Hi,
>
> The file is not ignored. It gets used and overrides linker set by
> cargo.bbclass/rust.
> uutils-coreutils builds are currently broken on arm64 build hosts and this
> patch fixed them.
>
> Cheers,
>
> -Mikko
>
> On Mon, Jul 06, 2026 at 10:50:19AM +0200, Etienne Cordonnier via
> lists.openembedded.org wrote:
> > Hi Ross,
> >
> > what is the use-case of the patch? config.toml file is ignored in
> > out-of-tree builds ( https://github.com/rust-lang/cargo/issues/2930 ),
> so
> > AFAIU removing it shouldn't make any difference for a bitbake build. Is
> it
> > for devtool builds?
> >
> > Étienne
> >
> >
> > On Mon, Jul 6, 2026 at 10:34 AM Ross Burton via lists.openembedded.org
> > <ross.burton=arm.com@lists.openembedded.org> wrote:
> >
> > > This file hardcodes a specific compiler for aarch64-linux builds, which
> > > is not the compiler that we provide. As it's otherwise useless, we can
> > > just delete the file.
> > >
> > > Signed-off-by: Ross Burton <ross.burton@arm.com>
> > > ---
> > > .../recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb | 4
> ++++
> > > 1 file changed, 4 insertions(+)
> > >
> > > diff --git a/meta-oe/recipes-core/uutils-coreutils/
> > > uutils-coreutils_0.9.0.bb b/meta-oe/recipes-core/uutils-coreutils/
> > > uutils-coreutils_0.9.0.bb
> > > index d294736395..2c7d3a3200 100644
> > > --- a/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> > > +++ b/meta-oe/recipes-core/uutils-coreutils/uutils-coreutils_0.9.0.bb
> > > @@ -65,6 +65,10 @@ python __anonymous() {
> > >
> > > BBCLASSEXTEND = "native nativesdk"
> > >
> > > +do_configure:prepend() {
> > > + rm -f ${S}/.cargo/config.toml
> > > +}
> > > +
> > > do_compile:prepend() {
> > > export LIBSTDBUF_DIR="${libdir}/coreutils"
> > > }
> > > --
> > > 2.43.0
> > >
> > >
> > >
> > >
> > >
>
> >
> > -=-=-=-=-=-=-=-=-=-=-=-
> > Links: You receive all messages sent to this group.
> > View/Reply Online (#128031):
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Ddevel_message_128031&d=DwIDaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=uLBAxAVxvPA0OdjZ6ENLmT8jfeji5R00bAuSC7pG1WThhqcr5s4ImgHl2V2Ksvon&s=GqPIL0bx8OcFWM9cn_D5VM-RjX-XWtIMAIOBYhIQDKY&e=
> > Mute This Topic:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_mt_120136596_7159507&d=DwIDaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=uLBAxAVxvPA0OdjZ6ENLmT8jfeji5R00bAuSC7pG1WThhqcr5s4ImgHl2V2Ksvon&s=i2fZUu8gqjbAx4GrXThyR-Ef6r7RD9Zi78eiCpHFsXM&e=
> > Group Owner: openembedded-devel+owner@lists.openembedded.org
> > Unsubscribe:
> https://urldefense.proofpoint.com/v2/url?u=https-3A__lists.openembedded.org_g_openembedded-2Ddevel_unsub&d=DwIDaQ&c=ncDTmphkJTvjIDPh0hpF_4vCHvabgGkICC2epckfdiw&r=AhkbNonVuMIGRfPx_Qj9TsRih1DULJTKUkSGa66m67E&m=uLBAxAVxvPA0OdjZ6ENLmT8jfeji5R00bAuSC7pG1WThhqcr5s4ImgHl2V2Ksvon&s=N5X_J-Kw5XXiqJL6mqgIKED8BMXuK0S7uIHndfvs03k&e=
> [mikko.rapeli@linaro.org]
> > -=-=-=-=-=-=-=-=-=-=-=-
> >
>
>
[-- Attachment #2: Type: text/html, Size: 6446 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific
2026-07-06 8:34 [PATCH 1/2] librav1e: make nasm dependency x86-specific Ross Burton
2026-07-06 8:34 ` [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml Ross Burton
@ 2026-07-06 13:31 ` Khem Raj
2026-07-06 13:51 ` Ross Burton
1 sibling, 1 reply; 7+ messages in thread
From: Khem Raj @ 2026-07-06 13:31 UTC (permalink / raw)
To: Ross Burton; +Cc: OpenEmbedded Devel List
[-- Attachment #1: Type: text/plain, Size: 1907 bytes --]
Does adding fdebug-prefix-map to ASFLAGS help on x86
On Mon, Jul 6, 2026, 1:34 AM Ross Burton via lists.openembedded.org
<ross.burton=arm.com@lists.openembedded.org> wrote:
> nasm is an x86 assembler, so only depend on it (and work around the
> build paths errors) on x86-64 (the assembler fastpaths are explicitly
> 64-bit only).
>
> Signed-off-by: Ross Burton <ross.burton@arm.com>
> ---
> .../recipes-multimedia/rav1e/librav1e_p20250902.bb | 5 +++--
> 1 file changed, 3 insertions(+), 2 deletions(-)
>
> diff --git a/meta-multimedia/recipes-multimedia/rav1e/
> librav1e_p20250902.bb b/meta-multimedia/recipes-multimedia/rav1e/
> librav1e_p20250902.bb
> index 836cd4448f..80ac5d9268 100644
> --- a/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
> +++ b/meta-multimedia/recipes-multimedia/rav1e/librav1e_p20250902.bb
> @@ -7,9 +7,10 @@ inherit cargo_c pkgconfig cargo-update-recipe-crates
>
> require ${PN}-crates.inc
>
> -DEPENDS += "nasm-native"
> +DEPENDS:append:x86_64 = " nasm-native"
>
> SRC_URI += "git://
> github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=${PV}
> <http://github.com/xiph/rav1e.git;protocol=https;nobranch=1;tag=$%7BPV%7D>
> "
> SRCREV = "a2f01b3e233f531c28a20b4c29fb5c9e5d29fa6d"
>
> -INHIBIT_PACKAGE_DEBUG_SPLIT = "1"
> +# TODO we need to pass -fdebug-prefix-map to the nasm calls
> +INHIBIT_PACKAGE_DEBUG_SPLIT:x86-64 = "1"
> --
> 2.43.0
>
>
> -=-=-=-=-=-=-=-=-=-=-=-
> Links: You receive all messages sent to this group.
> View/Reply Online (#128026):
> https://lists.openembedded.org/g/openembedded-devel/message/128026
> Mute This Topic: https://lists.openembedded.org/mt/120136595/1997914
> Group Owner: openembedded-devel+owner@lists.openembedded.org
> Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [
> raj.khem@gmail.com]
> -=-=-=-=-=-=-=-=-=-=-=-
>
>
[-- Attachment #2: Type: text/html, Size: 3512 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific
2026-07-06 13:31 ` [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific Khem Raj
@ 2026-07-06 13:51 ` Ross Burton
0 siblings, 0 replies; 7+ messages in thread
From: Ross Burton @ 2026-07-06 13:51 UTC (permalink / raw)
To: Khem Raj; +Cc: OpenEmbedded Devel List
On 6 Jul 2026, at 14:31, Khem Raj <raj.khem@gmail.com> wrote:
>
> Does adding fdebug-prefix-map to ASFLAGS help on x86
It would, if the nasm invocation wasn’t buried into rust crates with no way to add flags from the recipe.
Ross
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2026-07-06 13:53 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-07-06 8:34 [PATCH 1/2] librav1e: make nasm dependency x86-specific Ross Burton
2026-07-06 8:34 ` [PATCH 2/2] uutils-coreutils: delete .cargo/config.toml Ross Burton
2026-07-06 8:50 ` [oe] " Etienne Cordonnier
2026-07-06 9:01 ` Mikko Rapeli
2026-07-06 9:07 ` Etienne Cordonnier
2026-07-06 13:31 ` [oe] [PATCH 1/2] librav1e: make nasm dependency x86-specific Khem Raj
2026-07-06 13:51 ` Ross Burton
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.