Bug 1194704
Summary: | tests fail on big endians | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Dan Horák <dan> |
Component: | gcc | Assignee: | Jakub Jelinek <jakub> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 22 | CC: | dan, davejohansen, esandeen, jakub, josef, kzak, law, mtoman, oliver, pbrobinson, pschindl, than |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | s390x | ||
OS: | Unspecified | ||
Whiteboard: | AcceptedFreezeException | ||
Fixed In Version: | gcc-5.0.0-0.17.fc22 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 18:22:20 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: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 467765, 1071880, 1043123 |
Description
Dan Horák
2015-02-20 15:10:32 UTC
for the record - the tests pass on ppc64le - http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=2361338 - so big endian AND gcc5 related also a build with -O1 makes the tests pass, so switching to gcc, narrowing the cause will follow Do you think you can reduce some self-contained testcase? yes, Michal (added to CC) is working on that Started with http://gcc.gnu.org/r210843 (not really surprising, given how often something like that occurs in the extent.c and other sources). Self-contained testcase for -O2: static inline unsigned int foo (unsigned int x) { return (x >> 24) | ((x >> 8) & 0xFF00) | ((x << 8) & 0xFF0000) | (x << 24); } __attribute__((noinline, noclone)) unsigned int bar (unsigned long *x) { return foo (*x); } int main () { unsigned long l = foo (0xdeadbeefU) | 0xfeedbea800000000ULL; if (bar (&l) != 0xdeadbeefU) __builtin_abort (); return 0; } i confirmed that the latest gcc-5.0.0-0.17 fixes this issue in e2fsproc on ppc. I'm testing it on s390 and will report the results today. gcc-5.0.0-0.17.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/gcc-5.0.0-0.17.fc22 Package gcc-5.0.0-0.17.fc22: * should fix your issue, * was pushed to the Fedora 22 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing gcc-5.0.0-0.17.fc22' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-2759/gcc-5.0.0-0.17.fc22 then log in and leave karma (feedback). Proposed as a Freeze Exception for 22-alpha by Fedora user sharkcz using the blocker tracking app because: gcc-5.0.0-0.17.fc22 contains a fix for critical issue on big endian arches (earlier version produce wrong code) Discussed at today's blocker review meeting [1]. This bug was accepted as Freeze Exception - This is provisionally granted FE status pending input from releng regarding potential impacts. We will check this further with relengs and developers before it will get pulled through the freeze http://meetbot.fedoraproject.org/fedora-blocker-review/2015-03-02/ gcc-5.0.0-0.17.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. |