Skip to content
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

ctest failed on s390x #255

Open
topazus opened this issue Jul 12, 2023 · 3 comments
Open

ctest failed on s390x #255

topazus opened this issue Jul 12, 2023 · 3 comments

Comments

@topazus
Copy link

topazus commented Jul 12, 2023

Specifications

  • OS: Fedora s390x
  • SCS Version: scs 3.2.3
  • Compiler: GCC 13

Description

I try to build on Fedora s390x, the build processs passed, but for the testing, it failed some tests. The build and testing on Fedora x86_64, aarch64 and ppc64le worked fine.

All builds of Fedora: https://koji.fedoraproject.org/koji/taskinfo?taskID=103268664
Build log of s390x: https://kojipkgs.fedoraproject.org/work/tasks/8743/103268743/build.log

@bodono
Copy link
Member

bodono commented Jul 13, 2023

Thanks for posting this. It looks like the failure cases are only on the problems using the dumped data files. It looks like the typing assumptions in those files are wrong for that system, since it's getting very strange sizes for the basic types (Error, sizeof(file float) is 134217728, but scs expects sizeof(float) 8).

The easiest solution would be to skip that test in situations like that. Is this a blocker for you?

@bodono
Copy link
Member

bodono commented Jul 13, 2023

Looks like the s390x architecture is big-endian, and these files are little-endian, so that's the issue.

@topazus
Copy link
Author

topazus commented Jul 13, 2023

Thanks for the comments. I can just skip the test for s390x architecture.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants