-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
failing tests on alpine linux #798
Comments
hey, sorry for the late answer. We've been doing quite a few updates to xsimd since you raised that issue. Any chance you would give it another try? |
I tried 10.0.0rc0 and the failure is the same, it’s the same on my pc and the builders: https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/860020 |
how strange, I don't reproduce on my machine... can you share the content of the |
Thanks. I've been investigating a bit and I cannot find any compiler flag that would be responsible for the difference. I'd also be interested in the output of Thanks! |
The verbose output is here: https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/861033 The flags are the same locally, but I noticed the arch is Output of ldd
|
@a16bitsysop is it possible to link with GNU libm instead of musl to provide math symbol? I just want to check if the difference may come from different reference math routines. |
I could try newlib libm as that is already packaged for alpine aarch64, as same test failed for arch64. How can I get xsimd to find newlib? |
Probably add
to or add the path of your math library in the |
okay will have a go |
I had a go but couldn’t get it working, is there a way to make a simple test case with just this code? It could rely on an installed xsimd in alpine. Then I could post to the musl mailing list, if you think it is a musl problem. |
there is openlibm as well, it is packaged for alpine as well: https://openlibm.org/ |
Can you giva a try to the following patch?
eventually changing |
yes that works for x86 x86_64 and aarch64 https://gitlab.alpinelinux.org/a16bitsysop/aports/-/jobs/930009 does that prove what is the problem? |
On Sun, Dec 18, 2022 at 03:15:55PM -0800, Duncan Bellamy wrote:
yes that works for x86 x86_64 and aarch64 [1]https://gitlab.alpinelinux.org/
a16bitsysop/aports/-/jobs/930009
does that prove what is the problem?
It confirms a slight accuracy issue. I wonder how low you can get the third
number (it's a trashold). If it's rather low, I can apply that patch globally.
|
Okay, Pipeline for |
xsimd 11.0.0 has 2 more test failures, that look like they should pass:
On alpine the tests fail to compile with gcc for 11.0.0 as well with:
|
Can confirm the same test failures on 11.1.0 on NixOS with musl libc. |
I am trying to package for alpine linux and 2 tests are failing:
The same test fails of x86_64, x86, and aarch64. Both the x86_64 and x86 use
xsimd::fma3<xsimd::avx2>
and aarch64 usesxsimd::neon64
The text was updated successfully, but these errors were encountered: