Looks like it was caused by rust-cross issues reported in:
https://lists.openembedded.org/g/openembedded-core/message/156516

Re-building libstd-rs in empty TMPDIR, just for qemuarm MACHINE without
using sstate worked.

On Tue, Oct 26, 2021 at 2:06 PM Martin Jansa via lists.openembedded.org
<Martin.Jansa=gmail....@lists.openembedded.org> wrote:

> On Sat, Oct 23, 2021 at 8:52 AM Khem Raj <raj.k...@gmail.com> 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 <raj.k...@gmail.com>
>> Cc: Randy MacLeod <randy.macl...@windriver.com>
>>
>
> 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.
>
> 
>
>
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#157391): 
https://lists.openembedded.org/g/openembedded-core/message/157391
Mute This Topic: https://lists.openembedded.org/mt/86531835/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to