Summary: | PPC64, remove R2 from the clobber list | ||
---|---|---|---|
Product: | [Developer tools] valgrind | Reporter: | Carl Love <cel> |
Component: | general | Assignee: | Julian Seward <jseward> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | will_schmidt |
Priority: | NOR | ||
Version: | 3.12 SVN | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | On ppc64*, the TOC ptr should not be considered a scratch register |
Description
Carl Love
2017-02-20 18:51:38 UTC
Created attachment 104133 [details]
On ppc64*, the TOC ptr should not be considered a scratch register
Will Schmidt created the attached patch to address the issue. His fix description is as follows:
"On ppc64*, the TOC ptr should not be considered a scratch
register, and should not be in the clobber list.
This is called out in newer GCC (i.e. gcc7) and triggers an error.
Thusly, remove R2 from the clobber list."
Mark Wielaard tested the patch, as reported on the RH bugzilla: That patch fixes things. All arches build now. I tested and applied Will's patch to Valgrind mainline valgrind commit 16254. *** Bug 371668 has been marked as a duplicate of this bug. *** |