This is the mail archive of the libffi-discuss@sourceware.org mailing list for the libffi project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libffi ABI change causes stack corruption on Debian


Anthony Green <green@redhat.com> writes:

> Alan Modra <amodra@gmail.com> writes:
>> Attached is a replacement for
>> https://sourceware.org/ml/libffi-discuss/2013/msg00218.html that fixes
>> backwards compatibility issues.
>
> Thanks Alan.  This patch doesn't apply cleanly to the git libffi right
> now.  Could you either rebase it, or send me your patched
> src/powerpc/ffi.c?

Ignore this.  I had missed your two fix patches from yesterday.
Committing shortly...

Thanks!

AG



>
> Thanks!
>
> AG
>
>
> [green@moxiedev ~]$ git clone git@github.com:/atgreen/libffi
> Cloning into 'libffi'...
> Enter passphrase for key '/home/green/.ssh/id_rsa': 
> Authenticated to github.com ([192.30.252.128]:22).
> remote: Counting objects: 8320, done.
> remote: Compressing objects: 100% (3581/3581), done.
> remote: Total 8320 (delta 4722), reused 8074 (delta 4510)
> Transferred: sent 4704, received 6032632 bytes, in 26.7 seconds
> Bytes per second: sent 175.9, received 225612.5
> Receiving objects: 100% (8320/8320), 5.73 MiB | 162.00 KiB/s, done.
> Resolving deltas: 100% (4722/4722), done.
> [green@moxiedev ~]$ cd libffi/
> [green@moxiedev libffi]$ cat /tmp/0003-Tidy-powerpc-linux-support.patch.gz | gzip -d - | patch -p1 
> patching file Makefile.am
> patching file configure.ac
> patching file include/ffi.h.in
> patching file src/powerpc/ffi.c
> Hunk #2 FAILED at 28.
> 1 out of 5 hunks FAILED -- saving rejects to file src/powerpc/ffi.c.rej
> patching file src/powerpc/ffi_linux64.c
> patching file src/powerpc/ffi_powerpc.h
> patching file src/powerpc/ffi_sysv.c
> patching file src/powerpc/ffitarget.h
> patching file src/powerpc/linux64.S
> patching file src/powerpc/linux64_closure.S
> patching file src/powerpc/ppc_closure.S
> patching file src/powerpc/sysv.S
> patching file src/prep_cif.c
> patching file src/types.c


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]