* [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk
@ 2022-03-25 6:52 Christian Eggers
2022-03-25 6:52 ` [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk Christian Eggers
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Christian Eggers @ 2022-03-25 6:52 UTC (permalink / raw)
To: openembedded-core; +Cc: Christian Eggers
For nativesdk/crosssdk, always glibc is used. Fixes build of
rust-crosssdk if TCLIBC is set to musl.
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
meta/classes/rust-common.bbclass | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/classes/rust-common.bbclass b/meta/classes/rust-common.bbclass
index 65ad677499cb..02a538258af6 100644
--- a/meta/classes/rust-common.bbclass
+++ b/meta/classes/rust-common.bbclass
@@ -16,6 +16,7 @@ RUST_PANIC_STRATEGY ?= "unwind"
# Native builds are not effected by TCLIBC. Without this, rust-native
# thinks it's "target" (i.e. x86_64-linux) is a musl target.
RUST_LIBC = "${TCLIBC}"
+RUST_LIBC:class-crosssdk = "glibc"
RUST_LIBC:class-native = "glibc"
def determine_libc(d, thing):
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk
2022-03-25 6:52 [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk Christian Eggers
@ 2022-03-25 6:52 ` Christian Eggers
2022-03-25 6:52 ` [PATCH 3/4] rust-crosssdk: use ${RUST_LIBC} in ${PN} Christian Eggers
2022-03-25 6:52 ` [PATCH 4/4] librsvg: reenable nativesdk Christian Eggers
2 siblings, 0 replies; 4+ messages in thread
From: Christian Eggers @ 2022-03-25 6:52 UTC (permalink / raw)
To: openembedded-core; +Cc: Christian Eggers
For nativesdk/crosssdk, we have no ABIEXTENSION. Fixes build of
rust-crosssdk if ABIEXTENSION is set toe something like "eabi".
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
meta/conf/machine-sdk/x86_64.conf | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/conf/machine-sdk/x86_64.conf b/meta/conf/machine-sdk/x86_64.conf
index 8d494b261e0c..2ab607e65c22 100644
--- a/meta/conf/machine-sdk/x86_64.conf
+++ b/meta/conf/machine-sdk/x86_64.conf
@@ -1,2 +1,3 @@
SDK_ARCH = "x86_64"
+ABIEXTENSION:class-crosssdk = ""
ABIEXTENSION:class-nativesdk = ""
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 3/4] rust-crosssdk: use ${RUST_LIBC} in ${PN}
2022-03-25 6:52 [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk Christian Eggers
2022-03-25 6:52 ` [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk Christian Eggers
@ 2022-03-25 6:52 ` Christian Eggers
2022-03-25 6:52 ` [PATCH 4/4] librsvg: reenable nativesdk Christian Eggers
2 siblings, 0 replies; 4+ messages in thread
From: Christian Eggers @ 2022-03-25 6:52 UTC (permalink / raw)
To: openembedded-core; +Cc: Christian Eggers
TCLIBC is only valid for TARGET, not for HOST or NATIVESDK.
Fixes build of rust-crosssdk if TCLIBC is set to musl.
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
meta/recipes-devtools/rust/rust-crosssdk_1.59.0.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-devtools/rust/rust-crosssdk_1.59.0.bb b/meta/recipes-devtools/rust/rust-crosssdk_1.59.0.bb
index 5929978591fb..6ea8cb09b21b 100644
--- a/meta/recipes-devtools/rust/rust-crosssdk_1.59.0.bb
+++ b/meta/recipes-devtools/rust/rust-crosssdk_1.59.0.bb
@@ -5,4 +5,4 @@ require rust-source.inc
DEPENDS += "virtual/${TARGET_PREFIX}gcc-crosssdk virtual/nativesdk-${TARGET_PREFIX}compilerlibs virtual/nativesdk-libc"
PROVIDES = "virtual/nativesdk-${TARGET_PREFIX}rust"
-PN = "rust-crosssdk-${TUNE_PKGARCH}-${TCLIBC}"
+PN = "rust-crosssdk-${TUNE_PKGARCH}-${RUST_LIBC}"
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* [PATCH 4/4] librsvg: reenable nativesdk
2022-03-25 6:52 [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk Christian Eggers
2022-03-25 6:52 ` [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk Christian Eggers
2022-03-25 6:52 ` [PATCH 3/4] rust-crosssdk: use ${RUST_LIBC} in ${PN} Christian Eggers
@ 2022-03-25 6:52 ` Christian Eggers
2 siblings, 0 replies; 4+ messages in thread
From: Christian Eggers @ 2022-03-25 6:52 UTC (permalink / raw)
To: openembedded-core; +Cc: Christian Eggers
Rust is now available for nativesdk. So the nativesdk build for librsvg
can be enabled again.
Signed-off-by: Christian Eggers <ceggers@arri.de>
---
meta/recipes-gnome/librsvg/librsvg_2.52.7.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-gnome/librsvg/librsvg_2.52.7.bb b/meta/recipes-gnome/librsvg/librsvg_2.52.7.bb
index eb420e732cc8..78eb93c6351e 100644
--- a/meta/recipes-gnome/librsvg/librsvg_2.52.7.bb
+++ b/meta/recipes-gnome/librsvg/librsvg_2.52.7.bb
@@ -12,7 +12,7 @@ LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=4fbd65380cdd255951079008b364516c \
SECTION = "x11/utils"
DEPENDS = "cairo gdk-pixbuf glib-2.0 libcroco libxml2 pango"
-BBCLASSEXTEND = "native"
+BBCLASSEXTEND = "native nativesdk"
inherit gnomebase gtk-doc pixbufcache upstream-version-is-even gobject-introspection rust vala
--
2.34.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2022-03-25 7:02 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-25 6:52 [PATCH 1/4] rust-common: override RUST_LIBC for crosssdk Christian Eggers
2022-03-25 6:52 ` [PATCH 2/4] machine-sdk: clear ABIEXTENSION for class-crosssdk Christian Eggers
2022-03-25 6:52 ` [PATCH 3/4] rust-crosssdk: use ${RUST_LIBC} in ${PN} Christian Eggers
2022-03-25 6:52 ` [PATCH 4/4] librsvg: reenable nativesdk Christian Eggers
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox