Closed penguinpee closed 6 months ago
At pretty much the same point the compilation also fails on s390x
.
Thanks. That's definitely a compiler bug, that code is not going to try and allocate some huge block of memory. I just pushed a cmake change to suppress it so should be good for you now. Let me know if it's not.
That would be b9355f0 and 87da2959?
Yep
I applied both commits on top of 19.24.4. That fixes the test compilation for aarch64
and s390x
. However, on s390x
I see three failing tests: test_active_learning
, test_cca
and test_correlation_tracker
, and lots of "Parameter N to routine FOO was incorrect" messages in the log.
Is s390x
supported / tested at all? I know we had it built before. But that was without running tests. Not sure about the reasons, though.
It ought to work anywhere. But I don't know if anyone is using it on s390x. Maybe the tests are just overly tight numerically? I can't say given the information I've got.
You can find the full log of the first scratch build after applying the two commits fixing the build at https://kojipkgs.fedoraproject.org//work/tasks/1493/116961493/build.log
Since this is a scratch build it will be cleaned up after some time. But I can always trigger another build if needed.
After that I tried with disabling the failing tests. But that resulted in more failing tests and segfaults. I can provide you with the logs of those as well. If you prefere tracking this issue separately, let me know and I open another one.
Yeah IDK. I'm not going to be able to debug this. You should look into it and send us a PR if there really is a bug in dlib here :)
I understand. Should I find the time and the means for debugging and fixing the build issue, I certainly will provide a PR. For now we keep s390x
arch disabled at our end.
What Operating System(s) are you seeing this problem on?
Linux (aarch64)
dlib version
19.24.4
Python version
3.12
Compiler
GCC 14
Expected Behavior
Unit tests should compile without failure on
aarch64
. The library compiles fine with exactly the same settings as used for compiling the unit tests. Onx86_64
both library and unit tests successfully compile.Current Behavior
Compilation fails with:
Steps to Reproduce
If above snippets are insufficient, I can provide the full log or a link to it.