[x264-devel] [PATCH] Fix build on ARM with binutils >= 2.23.51.0.6

Bernhard Rosenkränzer bernhard.rosenkranzer at linaro.org
Sun Dec 30 01:53:48 CET 2012


Hi,
with current binutils, x264 fails to build on arm:
common/arm/pixel-a.S:144: Error: ']' expected -- `vld1.32 {d1[]},[r2 ],r3'
[...]

The problem is that gas can't deal with the extra space between "[r2" and
"]" anymore.

While I think this is a bug or misfeature in current gas (see
http://sourceware.org/bugzilla/show_bug.cgi?id=14987), the fix on the x264
side is easy. Patch attached.

The patch applies cleanly on both the master and stable branches.

(please Cc me, I'm not subscribed to the list)

ttyl
bero
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121230/0239d15a/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: x264-fix-build.patch
Type: application/octet-stream
Size: 1667 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x264-devel/attachments/20121230/0239d15a/attachment.obj>


More information about the x264-devel mailing list