public inbox for java-patches@gcc.gnu.org
 help / color / mirror / Atom feed
* Re: Please help test libffi 3.0.11-rc3
       [not found] <CACxje586xNJF1J4mOZeqD9HCUbuR7iK6Eb+dtYCUEZ3y12zagA@mail.gmail.com>
@ 2012-04-06 20:30 ` Matthias Klose
  2012-04-06 21:02   ` Anthony Green
  0 siblings, 1 reply; 3+ messages in thread
From: Matthias Klose @ 2012-04-06 20:30 UTC (permalink / raw)
  To: Anthony Green; +Cc: libffi-discuss, David Gilbert, GCJ-patches

[-- Attachment #1: Type: text/plain, Size: 1064 bytes --]

[ CC'ing David although I don't know if his Linaro address will still work]

On 06.04.2012 14:28, Anthony Green wrote:
> I've uploaded release candidate 3 for testing here:
>    ftp://sourceware.org/pub/libffi/libffi-3.0.11-rc3.tar.gz
>
> Please test it on whatever systems you have at your disposal, and
> update the testing wiki here:
>    http://www.moxielogic.org/wiki/index.php/Libffi_3.0.11
>
> I'd like to make a release within a week.
>
> Here's what the README says about 3.0.11...
>
>          Add support for variadic functions (ffi_prep_cif_var).
>          Add Linux/x32 support.
>          Add thiscall, fastcall and MSVC cdecl support on Windows.
>          Add Amiga and newer MacOS support.
>          Fix Octeon and MC68881 support.
>          Add m68k FreeMiNT support.
>          Fix code pessimizations.
>          Lots of build fixes.
>
> Let me know if I should add anything else.

I see that some of the armhf-variadic patches are not applied, attached.  Please 
could you confirm if dropping these changes is deliberate?

Thanks, Matthias

[-- Attachment #2: armhf-varargs.diff --]
[-- Type: text/plain, Size: 1565 bytes --]

--- libffi-3.0.11~rc1.orig/testsuite/libffi.call/cls_double_va.c
+++ libffi-3.0.11~rc1/testsuite/libffi.call/cls_double_va.c
@@ -7,7 +7,6 @@
 /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
 /* { dg-output "" { xfail avr32*-*-* } } */
 /* { dg-output "" { xfail mips-sgi-irix6* } } PR libffi/46660 */
-/* { dg-skip-if "" arm*-*-* { "-mfloat-abi=hard" } { "" } } */
 
 #include "ffitest.h"
 
--- libffi-3.0.11~rc1.orig/testsuite/libffi.call/cls_longdouble_va.c
+++ libffi-3.0.11~rc1/testsuite/libffi.call/cls_longdouble_va.c
@@ -7,7 +7,6 @@
 /* { dg-do run { xfail strongarm*-*-* xscale*-*-* } } */
 /* { dg-output "" { xfail avr32*-*-* x86_64-*-mingw* } } */
 /* { dg-output "" { xfail mips-sgi-irix6* } } PR libffi/46660 */
-/* { dg-skip-if "" arm*-*-* { "-mfloat-abi=hard" } { "" } } */
 
 #include "ffitest.h"
 
--- libffi-3.0.11~rc1.orig/src/arm/ffi.c
+++ libffi-3.0.11~rc1/src/arm/ffi.c
@@ -189,6 +189,18 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
   return FFI_OK;
 }
 
+/* Perform machine dependent cif processing for variadic calls */
+ffi_status ffi_prep_cif_machdep_var(ffi_cif *cif, 
+				    unsigned int nfixedargs,
+				    unsigned int ntotalargs)
+{
+  /* VFP variadic calls actually use the SYSV ABI */
+  if (cif->abi == FFI_VFP)
+	cif->abi = FFI_SYSV;
+
+  return ffi_prep_cif_machdep(cif);
+}
+
 /* Prototypes for assembly functions, in sysv.S */
 extern void ffi_call_SYSV (void (*fn)(void), extended_cif *, unsigned, unsigned, unsigned *);
 extern void ffi_call_VFP (void (*fn)(void), extended_cif *, unsigned, unsigned, unsigned *);

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please help test libffi 3.0.11-rc3
  2012-04-06 20:30 ` Please help test libffi 3.0.11-rc3 Matthias Klose
@ 2012-04-06 21:02   ` Anthony Green
  2012-04-07 11:29     ` Matthias Klose
  0 siblings, 1 reply; 3+ messages in thread
From: Anthony Green @ 2012-04-06 21:02 UTC (permalink / raw)
  To: Matthias Klose; +Cc: libffi-discuss, David Gilbert, GCJ-patches

On Fri, Apr 6, 2012 at 4:29 PM, Matthias Klose <doko@ubuntu.com> wrote:
> I see that some of the armhf-variadic patches are not applied, attached.
>  Please could you confirm if dropping these changes is deliberate?

Could you please double check this?  I see that the two test case
tweaks are missing, but the third patch fragment seems wrong.
src/arc/ffi.c does include ffi_prep_cif_machdep_var().

AG

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Please help test libffi 3.0.11-rc3
  2012-04-06 21:02   ` Anthony Green
@ 2012-04-07 11:29     ` Matthias Klose
  0 siblings, 0 replies; 3+ messages in thread
From: Matthias Klose @ 2012-04-07 11:29 UTC (permalink / raw)
  To: Anthony Green; +Cc: libffi-discuss, David Gilbert, GCJ-patches

On 06.04.2012 23:01, Anthony Green wrote:
> On Fri, Apr 6, 2012 at 4:29 PM, Matthias Klose<doko@ubuntu.com>  wrote:
>> I see that some of the armhf-variadic patches are not applied, attached.
>>   Please could you confirm if dropping these changes is deliberate?
>
> Could you please double check this?  I see that the two test case
> tweaks are missing, but the third patch fragment seems wrong.
> src/arc/ffi.c does include ffi_prep_cif_machdep_var().

you are right about ffi.c, just the test case patches are missing.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-07 11:29 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CACxje586xNJF1J4mOZeqD9HCUbuR7iK6Eb+dtYCUEZ3y12zagA@mail.gmail.com>
2012-04-06 20:30 ` Please help test libffi 3.0.11-rc3 Matthias Klose
2012-04-06 21:02   ` Anthony Green
2012-04-07 11:29     ` Matthias Klose

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).