Bug 1464403
Summary: | glibc: memcmp-avx2-movbe.S lacks saturating subtraction for between_2_3 | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Petr Pisar <ppisar> | ||||
Component: | glibc | Assignee: | Florian Weimer <fweimer> | ||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | unspecified | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | rawhide | CC: | arjun.is, codonell, cweyl, dj, fweimer, iarnell, jplesnik, kasal, law, mfabian, perl-devel, pfrankli, ppisar, psabata, rc040203, siddhesh, tcallawa | ||||
Target Milestone: | --- | Keywords: | Regression, Reopened | ||||
Target Release: | --- | ||||||
Hardware: | x86_64 | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | glibc-2.25.90-15.fc27 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2017-06-23 20:36:45 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: | 1464244 | ||||||
Attachments: |
|
Description
Petr Pisar
2017-06-23 11:06:22 UTC
I found the trigger. It's triggered by updating glibc from 2.25.90-6.fc27 to 2.25.90-7.fc27. After the update, the tests fail in mock. Created attachment 1290996 [details]
Reproducer
Install F27 build root, install perl package and execute attached Perl script in mock (or chroot) environment. Since glibc-2.25.90-7.fc27.x86_64 it prints this:
# perl test
got = <ꑭʑ:bar>
expected = <bar:ꑭʑ>
Locale does not matter.
glibc maintainer, could you please bisect glibc changes and pinpoint the cause? perl needs rebuilding. *** This bug has been marked as a duplicate of bug 1464244 *** Sorry, disregard that. This happened before the xlocale.h removal. Please note it exhibits on x86_64 only. (In reply to Petr Pisar from comment #6) > This happened before the xlocale.h removal. Please note it exhibits on > x86_64 only. Agreed, I'm working on it. The bug is a non-saturating subtract in the new memcmp. Great. There is a coreutils-only reproducer: Before: # printf 'bar\nꑭʑ\n' | LC_ALL=C sort bar ꑭʑ # printf 'bar\nꑭʑ\n' | LC_ALL=C.UTF-8 sort bar ꑭʑ After: # printf 'bar\nꑭʑ\n' | LC_ALL=C sort ꑭʑ bar # printf 'bar\nꑭʑ\n' | LC_ALL=C.UTF-8 sort bar ꑭʑ Patch posted upstream: https://sourceware.org/ml/libc-alpha/2017-06/msg01193.html I hope the patch will be reviewed upstream soon enough. If not, I'll put the fix into rawhide as a Fedora-specific patch later today, so that perl can be built again. The problematic Perl test appears to be passing now. |