Bug 196369
| Summary: | Need newer sha* hashes | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | James Antill <james.antill> | ||||
| Component: | coreutils | Assignee: | Tim Waugh <twaugh> | ||||
| Status: | CLOSED RAWHIDE | QA Contact: | |||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 6 | CC: | meyering, redhat-bugzilla, sgrubb | ||||
| Target Milestone: | --- | Keywords: | Reopened | ||||
| Target Release: | --- | ||||||
| Hardware: | All | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | 5.97-1 | Doc Type: | Bug Fix | ||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2006-06-26 08:04:23 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Bug Depends On: | |||||||
| Bug Blocks: | 150223 | ||||||
| Attachments: |
|
||||||
|
Description
James Antill
2006-06-22 19:42:40 UTC
Created attachment 131378 [details]
Backport patch to add sha*sum and base64 hashing/encoding
5.96-4 building. Test cases failed on s390 (but succeeded on ia64). It appears to be a bug in gcc/memcpy, since memcpy transforms the first four bytes of a buffer from 128 to 9223372036854775808 (aka 0x8000000000000000). Building with -fno-builtin avoids the problem. I'll submit a test case shortly. Update: a better-controlled experiment suggests that the test failures are due to a bug in gcc's -O2. When I compile sha512.c with -O1 and relink, the tests pass. FYI, the s390 gcc -O2 problem is being tracked here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28146 Thanks for working out the problem! For the moment I've built coreutils with -O1 on s390/s390x. |