Bug 271043 - Valgrind build fails with assembler error on ppc64 with binutils 2.21
Summary: Valgrind build fails with assembler error on ppc64 with binutils 2.21
Status: RESOLVED FIXED
Alias: None
Product: valgrind
Classification: Developer tools
Component: general (show other bugs)
Version: 3.7 SVN
Platform: Unlisted Binaries Linux
: NOR normal
Target Milestone: ---
Assignee: Julian Seward
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-04-15 17:51 UTC by Maynard Johnson
Modified: 2011-04-15 23:14 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Patch to fix this bug (1007 bytes, patch)
2011-04-15 17:51 UTC, Maynard Johnson
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maynard Johnson 2011-04-15 17:51:05 UTC
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.
Comment 1 Julian Seward 2011-04-15 23:14:38 UTC
Committed, r11700.