summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/rust
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-06 14:48:07 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2025-02-10 13:03:57 +0000
commit89ce67d8e41cc50a9b9ee225c054729f9cee7cdc (patch)
tree8bb5d2ed19e0c205289008d2bce9d6a64d24eb95 /meta/recipes-devtools/rust
parent6d0cf6477c1703d60befe13f293afd0a602553a1 (diff)
downloadpoky-89ce67d8e41cc50a9b9ee225c054729f9cee7cdc.tar.gz
recipes: Drop ld-is-gold support
Gold hasn't seen development in some time and is being dropped from binutils releases. Drop the small number of special cases for it we were carrying. This patch also turns off gold in the binutils recipe. (From OE-Core rev: a4addb9ab63011e7c604fc5daff95559e7d214e7) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust')
-rw-r--r--meta/recipes-devtools/rust/libstd-rs_1.81.0.bb5
-rw-r--r--meta/recipes-devtools/rust/rust_1.81.0.bb5
2 files changed, 0 insertions, 10 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.81.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.81.0.bb
index 14161714f2..06a2889b92 100644
--- a/meta/recipes-devtools/rust/libstd-rs_1.81.0.bb
+++ b/meta/recipes-devtools/rust/libstd-rs_1.81.0.bb
@@ -48,8 +48,3 @@ do_install () {
48} 48}
49 49
50BBCLASSEXTEND = "nativesdk" 50BBCLASSEXTEND = "nativesdk"
51
52# Since 1.70.0 upgrade this fails to build with gold:
53# http://errors.yoctoproject.org/Errors/Details/708194/
54# ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined
55LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-fuse-ld=bfd', '', d)}"
diff --git a/meta/recipes-devtools/rust/rust_1.81.0.bb b/meta/recipes-devtools/rust/rust_1.81.0.bb
index 1038c275f6..c4f8ee7108 100644
--- a/meta/recipes-devtools/rust/rust_1.81.0.bb
+++ b/meta/recipes-devtools/rust/rust_1.81.0.bb
@@ -377,8 +377,3 @@ RUSTLIB_DEP:class-nativesdk = ""
377INSANE_SKIP:${PN} = "staticdev" 377INSANE_SKIP:${PN} = "staticdev"
378 378
379BBCLASSEXTEND = "native nativesdk" 379BBCLASSEXTEND = "native nativesdk"
380
381# Since 1.70.0 upgrade this fails to build with gold:
382# http://errors.yoctoproject.org/Errors/Details/708196/
383# ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined
384LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-fuse-ld=bfd', '', d)}"