Bug 1652926

Summary: ppc64le memcheck cannot handle gcc inlined strcmp
Product: [Fedora] Fedora Reporter: Mark Wielaard <mjw>
Component: valgrindAssignee: Mark Wielaard <mjw>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 29CC: dodji, jakub, mjw
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: valgrind-3.14.0-7.fc29 valgrind-3.14.0-7.fc28 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-12-21 19:39:39 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: 1652927, 1652928    
Bug Blocks:    

Description Mark Wielaard 2018-11-23 15:26:08 UTC
On ppc64le gcc8 generates inlined code for str[n]cmp that valgrind memcheck cannot proof correct. gcc9/trunk generates slightly different code for the inlined strncmp code that valgrind memcheck can proof correct with some patches.

To solve this bug fully some patches from valgrind https://bugs.kde.org/show_bug.cgi?id=386945#c35 need to be backported. The gcc patch https://gcc.gnu.org/ml/gcc-patches/2018-10/msg01589.html needs to be backported. And at least glibc needs to be rebuild with the new gcc compiler.

Comment 1 Fedora Update System 2018-12-19 01:43:41 UTC
valgrind-3.14.0-7.fc28 has been pushed to the Fedora 28 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-725d146d26

Comment 2 Fedora Update System 2018-12-19 03:36:47 UTC
valgrind-3.14.0-7.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2018-ef423a0352

Comment 3 Fedora Update System 2018-12-21 19:39:39 UTC
valgrind-3.14.0-7.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 4 Fedora Update System 2018-12-27 01:50:48 UTC
valgrind-3.14.0-7.fc28 has been pushed to the Fedora 28 stable repository. If problems still persist, please make note of it in this bug report.