libffi is broken for x32
H.J. Lu
hjl.tools@gmail.com
Mon Jan 12 23:50:00 GMT 2015
On Mon, Jan 12, 2015 at 2:42 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> This libffi commit:
>
> 13e2d7b92557a9511a0414df82bf2df3edc55cba is the first bad commit
> commit 13e2d7b92557a9511a0414df82bf2df3edc55cba
> Author: Anthony Green <green@moxielogic.com>
> Date: Thu Jan 10 10:52:02 2013 -0500
>
> Handle both 32 and 64-bit x86 builds regardless of target triple
>
> breaks x32.
>
This patch passed "make check" in libffi on x32. I am testing
it in GCC now.
GCC is configured as x86_64-unknown-linux-gnu with x32
enabled. libffi should set TARGET to X86_64 if __x86_64__
is defined.
--
H.J.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Set-TARGET-to-X86_64-if-__x86_64__-is-defined.patch
Type: text/x-patch
Size: 785 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20150112/e5094cef/attachment.bin>
More information about the Gcc-patches
mailing list