Repository navigation
Open
Description
When building 1.0.10 on Fedora rawhide (development) with gcc-9.0.1 and RHEL/CentOS 7 with gcc-4.8.5, the following tests fail on POWER8 (ppc64le) architecture:
- test/spec/conversions.txt
expected error code 0, got 2.
STDOUT MISMATCH:
--- expected
+++ actual
@@ -1 +1,3 @@
-401/401 tests passed.
+out/test/spec/conversions.wast:348: expected result to be nan, got f64:nan
+out/test/spec/conversions.wast:350: expected result to be nan, got f64:-nan
+399/401 tests passed.
- test/wasm2c/spec/conversions.txt
expected error code 0, got 1.
STDERR MISMATCH:
--- expected
+++ actual
@@ -0,0 +1,15 @@
+Traceback (most recent call last):
+ File "/builddir/build/BUILD/wabt-1.0.10/test/run-spec-wasm2c.py", line 407, in <module>
+ sys.exit(main(sys.argv[1:]))
+ File "/builddir/build/BUILD/wabt-1.0.10/test/run-spec-wasm2c.py", line 400, in main
+ forward_stdout=True).RunWithArgs()
+ File "/builddir/build/BUILD/wabt-1.0.10/test/utils.py", line 104, in RunWithArgs
+ raise error
+utils.Error: Error running "out/test/wasm2c/spec/conversions/conversions":
+conversions-main.c:1118: assertion failed: in Z_conversions_0Z_f64Z2Epromote_f32Z_df(make_nan_f32(0x200000)): expected result to be a arithmetic nan, got 0x0000000000000000.
+conversions-main.c:1124: assertion failed: in Z_conversions_0Z_f64Z2Epromote_f32Z_df(-make_nan_f32(0x200000)): expected result to be a arithmetic nan, got 0x0000000000000000.
+During handling of the above exception, another exception occurred:
+Traceback (most recent call last):
+ File "/builddir/build/BUILD/wabt-1.0.10/test/run-spec-wasm2c.py", line 413, in <module>
+ sys.stderr.write(u'{0}\n'.format(e).encode('ascii', 'replace'))
+TypeError: write() argument must be str, not bytes
STDOUT MISMATCH:
--- expected
+++ actual
@@ -1 +1 @@
-401/401 tests passed.
+399/401 tests passed.
Additionally, the following tests fail only on RHEL/CentOS 7 with gcc-4.8.5:
- test/wasm2c/spec/f32.txt
expected error code 0, got 1.
STDERR MISMATCH:
--- expected
+++ actual
@@ -0,0 +1,3 @@
+Error running "out/test/wasm2c/spec/f32/f32":
+f32-main.c:7733: assertion failed: in Z_f32_0Z_nearestZ_ff(-make_nan_f32(0x200000)): expected result to be a arithmetic nan, got 0xffa00000.
+f32-main.c:7739: assertion failed: in Z_f32_0Z_nearestZ_ff(make_nan_f32(0x200000)): expected result to be a arithmetic nan, got 0x7fa00000.
STDOUT MISMATCH:
--- expected
+++ actual
@@ -1 +1 @@
-2500/2500 tests passed.
+2498/2500 tests passed.
- test/wasm2c/spec/f64.txt
expected error code 0, got 1.
STDERR MISMATCH:
--- expected
+++ actual
@@ -0,0 +1,3 @@
+Error running "out/test/wasm2c/spec/f64/f64":
+f64-main.c:7733: assertion failed: in Z_f64_0Z_nearestZ_dd(-make_nan_f64(0x4000000000000)): expected result to be a arithmetic nan, got 0x0000000000000000.
+f64-main.c:7739: assertion failed: in Z_f64_0Z_nearestZ_dd(make_nan_f64(0x4000000000000)): expected result to be a arithmetic nan, got 0x0000000000000000.
STDOUT MISMATCH:
--- expected
+++ actual
@@ -1 +1 @@
-2500/2500 tests passed.
+2498/2500 tests passed.
Metadata
Metadata
Assignees
Labels
No labels
Activity
rathann commentedon Apr 15, 2019
#1046 fixes
test/spec/conversions.txtandtest/spec/nontrapping-float-to-int-conversions/conversions.txtrathann commentedon Apr 15, 2019
test/wasm2c/spec/conversions.txt,test/wasm2c/spec/f32.txtandtest/wasm2c/spec/f64.txtare still failing.rathann commentedon May 6, 2020
It looks like the two failures fixed with #1046 are back with 1.0.15 on Fedora 31/gcc-9.3.1:
rathann commentedon Jul 15, 2020
Still failing with 1.0.17 on Fedora 31/ppc64le, gcc-9.3.1:
rathann commentedon Jul 15, 2020
I'm getting identical failures on Fedora 32 and rawhide (devel) with gcc-10.1.1.
rathann commentedon May 14, 2021
New failure in 1.0.23 -
test/spec/simd/simd_conversions.txt:rathann commentedon Aug 8, 2021
3 failures still reproducible in 1.0.23 on Fedora rawhide:
rathann commentedon Aug 20, 2021
And additional two on RHEL/CentOS 7 with gcc-10.2.1:
These are the same as with gcc-4.8.5 before, so I guess this might be an issue with old glibc or kernel on RHEL/CentOS 7.
rathann commentedon Jun 16, 2023
New ones in 1.0.33 (tested on Fedora 38+). I'm not sure why they occur, because I don't see any difference in the expected and actual outputs.
rathann commentedon Sep 13, 2024
With 1.0.36 and gcc 14.2.1, the following tests now pass:
Remaining failures:
rathann commentedon Mar 4, 2025
New failure with 1.0.37 test suite:
Related to #2240 ?