| Summary: | Valgrind build fails with assembler error on ppc64 with binutils 2.21 | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Maynard Johnson <maynardj> |
| Component: | general | Assignee: | Julian Seward <jseward> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.7 SVN | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to fix this bug | ||
Committed, r11700. |
Created attachment 59016 [details] Patch to fix this bug Building Valgrind on a ppc64 system using a newer toolchain (in particular, binutils 2.21) results in the following error: m_dispatch/dispatch-ppc64-linux.S: Assembler messages: m_dispatch/dispatch-ppc64-linux.S:659: Error: .size expression does not evaluate to a constant m_dispatch/dispatch-ppc64-linux.S:659: Error: .size expression does not evaluate to a constant The new assembler has plugged a hole that existed in previous versions and correctly identifies a problem in the coding of dispatch-ppc64-linux.S. The attached patch fixes this problem.