| Summary: | Test misc_test fails on ppc64 Big Endian architecture for package libtomcrypt | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Sinny Kumari <skumari> |
| Component: | libtomcrypt | Assignee: | Simone Caronni <negativo17> |
| Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 24 | CC: | dan, negativo17, rdossant, than |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | ppc64 | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-03-09 15:47:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 467765, 1071880 | ||
The lib overrides the distro-wide -O2 into -O3, but even going down to -O0 did not help, same no change with -fno-strict-aliasing or -mno-lra (as the usual tricks), we are still investigating. There is a chance it's a bug in the code. I reported it upstream [1]. [1] https://github.com/libtom/libtomcrypt/issues/109 And same problem on s390x, so it's likely big endian problem. I haven't expected a rebase under the same version ... i created a fix for this issue and send the patch to upstream. It built fine with the fix. http://s390.koji.fedoraproject.org/koji/taskinfo?taskID=2146729 http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3210976 |
Description of problem: Test misc_test fails on ppc64 BE with following error message: misc_test..... RPM build errors: Algorithm failed test vectors. (5) misc_test.c:18:crc32_test() error: Bad exit status from /var/tmp/rpm-tmp.xYmIrH (%check) Bad exit status from /var/tmp/rpm-tmp.xYmIrH (%check) Complete build log is available at http://ppc.koji.fedoraproject.org/kojifiles/work/tasks/2547/3172547/build.log from koji build http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=3172546 Version-Release number of selected component (if applicable): libtomcrypt-1.17-28.fc24 Additional info: Failure happens only when following section in test file testprof/misc_test.c runs : #ifdef LTC_CRC32 DO(crc32_test()); #endif If we comment this section, remaining tests and build pass successfully.