Thread (2 messages) 2 messages, 2 authors, 2021-10-26

Re: [OE-core] [PATCH] rust: Upgrade to 1.56.0

From: Martin Jansa <hidden>
Date: 2021-10-26 12:06:38

On Sat, Oct 23, 2021 at 8:52 AM Khem Raj [off-list ref] wrote:
This is latest major release, changes are here [1]

Forward port libstd-rs patches and refresh musl/rv64 port

[1] https://github.com/rust-lang/rust/releases/tag/1.56.0

Signed-off-by: Khem Raj <redacted>
Cc: Randy MacLeod <redacted>
Anyone seeing libstd-rs failing to build?

e.g. for raspberrypi4 it fails with:

| error: could not compile `core`
|
| Caused by:
|   process didn't exit successfully: `rustc --crate-name core
--edition=2018 library/core/src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi,artifacts --crate-type lib
--emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C
metadata=1c41b1708b174d1e -C extra-filename=-1c41b1708b174d1e --out-dir
/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0/build/arm-oe-linux-gnueabi/release/deps
--target arm-oe-linux-gnueabi -C
linker=/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0/wrapper/target-rust-ccld
-L
dependency=/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0/build/arm-oe-linux-gnueabi/release/deps
-L
dependency=/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0/build/release/deps
-L
/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0/recipe-sysroot/usr/lib/rust
--remap-path-prefix=/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0=/usr/src/debug/libstd-rs/1.56.0-r0
-Cembed-bitcode=yes -L
/OE/build/oe-core/tmp-glibc/work/cortexa7t2hf-neon-vfpv4-oe-linux-gnueabi/libstd-rs/1.56.0-r0/recipe-sysroot/usr/lib
-C link-arg=-Wl,-soname,libstd.so` (signal: 11, SIGSEGV: invalid memory
reference)
| warning: build failed, waiting for other jobs to finish...

with qemuarm it fails as well:
| error: could not compile `core`
|
| Caused by:
|   process didn't exit successfully: `rustc --crate-name core
--edition=2018 library/core/src/lib.rs --error-format=json
--json=diagnostic-rendered-ansi,artifacts --crate-type lib
--emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C
metadata=1c41b1708b174d1e -C extra-filename=-1c41b1708b174d1e --out-dir
/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0/build/arm-oe-linux-gnueabi/release/deps
--target arm-oe-linux-gnueabi -C
linker=/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0/wrapper/target-rust-ccld
-L
dependency=/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0/build/arm-oe-linux-gnueabi/release/deps
-L
dependency=/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0/build/release/deps
-L
/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0/recipe-sysroot/usr/lib/rust
--remap-path-prefix=/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0=/usr/src/debug/libstd-rs/1.56.0-r0
-Cembed-bitcode=yes -L
/OE/build/oe-core/tmp-glibc/work/cortexa15t2hf-neon-oe-linux-gnueabi/libstd-rs/1.56.0-r0/recipe-sysroot/usr/lib
-C link-arg=-Wl,-soname,libstd.so` (signal: 11, SIGSEGV: invalid memory
reference)
| warning: build failed, waiting for other jobs to finish...

Will try to downgrade to 1.55.0.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help