diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-06 14:48:07 +0000 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2025-02-10 13:03:57 +0000 |
| commit | 89ce67d8e41cc50a9b9ee225c054729f9cee7cdc (patch) | |
| tree | 8bb5d2ed19e0c205289008d2bce9d6a64d24eb95 /meta/recipes-devtools/rust | |
| parent | 6d0cf6477c1703d60befe13f293afd0a602553a1 (diff) | |
| download | poky-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.bb | 5 | ||||
| -rw-r--r-- | meta/recipes-devtools/rust/rust_1.81.0.bb | 5 |
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 | ||
| 50 | BBCLASSEXTEND = "nativesdk" | 50 | BBCLASSEXTEND = "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 | ||
| 55 | LDFLAGS += "${@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 = "" | |||
| 377 | INSANE_SKIP:${PN} = "staticdev" | 377 | INSANE_SKIP:${PN} = "staticdev" |
| 378 | 378 | ||
| 379 | BBCLASSEXTEND = "native nativesdk" | 379 | BBCLASSEXTEND = "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 | ||
| 384 | LDFLAGS += "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', '-fuse-ld=bfd', '', d)}" | ||
