diff options
author | Martin Jansa <Martin.Jansa@gmail.com> | 2023-06-12 18:33:19 +0200 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2023-06-15 09:53:38 +0100 |
commit | 155ee00592d61537f1686be39fbd297c68b090a0 (patch) | |
tree | 258dd7a0d68316bae21e6bfd272716329ee700d4 /meta/recipes-devtools/rust/rust_1.70.0.bb | |
parent | abee4e69e114256d661eca816dab0565ac781e6a (diff) | |
download | poky-155ee00592d61537f1686be39fbd297c68b090a0.tar.gz |
libstd-rs, rust: use bfd linker instead of gold
* it started to fail only after the upgrade to 1.70.0
(From OE-Core rev: aa037b4138459521a3554c5e91cb4a6cd0c37bdd)
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/rust/rust_1.70.0.bb')
-rw-r--r-- | meta/recipes-devtools/rust/rust_1.70.0.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/rust_1.70.0.bb b/meta/recipes-devtools/rust/rust_1.70.0.bb index 83f9bec68a..8669291d08 100644 --- a/meta/recipes-devtools/rust/rust_1.70.0.bb +++ b/meta/recipes-devtools/rust/rust_1.70.0.bb | |||
@@ -350,3 +350,8 @@ RUSTLIB_DEP:class-nativesdk = "" | |||
350 | INSANE_SKIP:${PN} = "staticdev" | 350 | INSANE_SKIP:${PN} = "staticdev" |
351 | 351 | ||
352 | BBCLASSEXTEND = "native nativesdk" | 352 | BBCLASSEXTEND = "native nativesdk" |
353 | |||
354 | # Since 1.70.0 upgrade this fails to build with gold: | ||
355 | # http://errors.yoctoproject.org/Errors/Details/708196/ | ||
356 | # ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined | ||
357 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" | ||