diff options
| -rw-r--r-- | meta/recipes-devtools/rust/libstd-rs_1.70.0.bb | 5 | ||||
| -rw-r--r-- | meta/recipes-devtools/rust/rust_1.70.0.bb | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/meta/recipes-devtools/rust/libstd-rs_1.70.0.bb b/meta/recipes-devtools/rust/libstd-rs_1.70.0.bb index f4e5abc0cc..f23db79733 100644 --- a/meta/recipes-devtools/rust/libstd-rs_1.70.0.bb +++ b/meta/recipes-devtools/rust/libstd-rs_1.70.0.bb | |||
| @@ -45,3 +45,8 @@ do_install () { | |||
| 45 | } | 45 | } |
| 46 | 46 | ||
| 47 | BBCLASSEXTEND = "nativesdk" | 47 | BBCLASSEXTEND = "nativesdk" |
| 48 | |||
| 49 | # Since 1.70.0 upgrade this fails to build with gold: | ||
| 50 | # http://errors.yoctoproject.org/Errors/Details/708194/ | ||
| 51 | # ld: error: version script assignment of to symbol __rust_alloc_error_handler_should_panic failed: symbol not defined | ||
| 52 | LDFLAGS:append = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd', '', d)}" | ||
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)}" | ||
