RobustStatisticsTest failing on Alpine aarch64, ppc64le, s390x #698
Labels
building/portability
Platform-specific issues, build issues
testing
Related to testing / avoiding regressions
Describe the bug
I am packaging libjxl for Alpine Linux. Some tests failing, but I am unsure of the cause.
To Reproduce
Build libjxl on Alpine Linux and run tests.
Expected behavior
Successful build and tests.
Environment
Additional context
For x86, the test suite requires
-msse -mfpmath=sse
in order to pass. For aarch64, ppc64le, and s390x, three tests fail in identical ways: RobustStatisticsTest.TestMode, RobustStatisticsTest.CleanLine, and DecodeTest.PixelTestWithICCProfileLossy. The last one affects all archs and is tracked as #500 already.aarch64, ppc64le, and s390x failing test outputs (identical except for duration)
I looked into this, but couldn't find any obvious culprits. I know that many floating-point functions return different results with different implementations, but it seems that these tests use only basic arithmetic, comparisons, and implicit comparisons (std::max, std::nth_element, etc), which should return identical results on all implementations.
Let me know what additional information is needed.
The text was updated successfully, but these errors were encountered: