This repository was archived by the owner on Apr 28, 2025. It is now read-only.
This repository was archived by the owner on Apr 28, 2025. It is now read-only.
Investigate jn and jnf randomly falling on CI #170
Closed
Description
Hi guys,
jn
and jnf
are randomly failing on ARM.
On master Build
cargo test --features checked musl-reference-tests --target arm-unknown-linux-gnueabi --release
...
failures:
---- jn_matches_musl stdout ----
thread 'main' panicked at 'INPUT: [114, 4594974205335009568] EXPECTED: [1617394868955] ACTUAL 0.0', /target/arm-unknown-linux-gnueabi/release/build/libm-a8dc3a3490b5fe96/out/musl-tests.rs:108:17
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
failures:
jn_matches_musl
cargo test --features checked musl-reference-tests --target arm-unknown-linux-gnueabi
...
failures:
---- jn_matches_musl stdout ----
thread 'main' panicked at 'INPUT: [136, 4602429132083530282] EXPECTED: [15924833] ACTUAL 0.0', /target/arm-unknown-linux-gnueabi/debug/build/libm-a6d3571cbabba738/out/musl-tests.rs:108:17
note: Run with `RUST_BACKTRACE=1` environment variable to display a backtrace.
---- jnf_matches_musl stdout ----
thread 'main' panicked at 'INPUT: [29, 1061546867] EXPECTED: [86] ACTUAL 0.0', /target/arm-unknown-linux-gnueabi/debug/build/libm-a6d3571cbabba738/out/musl-tests.rs:16:17
failures:
jn_matches_musl
jnf_matches_musl
Questions
- Is it related to the use of
wrapping_add
andwrapping_sup
? - Are the algorithms in musl/newlib relying on overflows?
Metadata
Metadata
Assignees
Labels
No labels