Closed nikic closed 5 months ago
Should be fixed by #1523.
Though it seems we are now hitting a new error on i586-unknown-linux-gnu:
LLVM ERROR: Do not know how to split the result of this operator!
Was there an LLVM update recently?
Yes, https://github.com/rust-lang/rust/pull/120055 landed yesterday. I put up https://github.com/rust-lang/rust/pull/121088 to fix this issue.
This makes x86_64 pass tests, but on i586 we have ~4000 test failures of the kind:
---- core_arch::x86::tbm::assert__blcfill_u32_blcfill stdout ----
disassembly for stdarch_test_shim__blcfill_u32_blcfill:
0: call 19ddf5 <stdarch_test_shim__blcfill_u32_blcfill+0x5>
1: pop %eax
2: add $0x51df6b,%eax
3: mov 0x4(%esp),%ecx
4: lea -0x28a16a(%eax),%edx
5: mov 0x224(%eax),%eax
6: mov %edx,(%eax)
7: blcfill %ecx,%eax
8: ret
9: xchg %ax,%ax
10: xchg %ax,%ax
11: xchg %ax,%ax
12: xchg %ax,%ax
13: xchg %ax,%ax
14: xchg %ax,%ax
thread 'core_arch::x86::tbm::assert__blcfill_u32_blcfill' panicked at crates/stdarch-test/src/lib.rs:184:9:
instruction found, but the disassembly contains subroutine call instructions, which hint that inlining failed
Nevermind that last comment, apparently that's normal without -C relocation-model=static
.
Trying to run
cargo +nightly test
in the root directory, I get:I'm not sure whether something in nightly broke this crate or whether this crate requires a special incantation to build?