From c63e050acb8e4bc6bc48f1d132eb333ecb9cac2d Mon Sep 17 00:00:00 2001 From: rfm Date: Fri, 23 May 2008 16:01:19 +0000 Subject: [PATCH] Fixups for sparc64 git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@26558 72102866-910b-0410-8b05-ffd578937521 --- ChangeLog | 4 ++++ Tools/gdnc.m | 2 +- configure | 8 +++++++- configure.ac | 8 +++++++- 4 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index b53fea8a3..6fb5f1f70 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,10 @@ 2008-05-23 Richard Frith-Macdonald * configure.ac: Check for systems which need -lnsl (solaris) + Reintroduce use of ffi by default on sparc64 as I just couldn't + get ffcall to work at all and the latest ffi seems to work atr + least for all the common cases. + * Tools/gdnc.m: Fix incorrectly sized instance variable. 2008-05-22 Richard Frith-Macdonald diff --git a/Tools/gdnc.m b/Tools/gdnc.m index 4cd5fcc36..4b9f8e35e 100644 --- a/Tools/gdnc.m +++ b/Tools/gdnc.m @@ -242,7 +242,7 @@ ihandler(int sig) @interface GDNCObserver : NSObject { @public - unsigned observer; + unsigned long observer; NSString *notificationName; NSString *notificationObject; NSString *selector; diff --git a/configure b/configure index 16f481d4d..d7b8a0d74 100755 --- a/configure +++ b/configure @@ -16171,9 +16171,15 @@ fi #-------------------------------------------------------------------- # Check for FFI interface libraries for invocations -# We enable ffcall by default. +# We enable ffcall by default now, except on sparc64 (where we think +# it's broken). #-------------------------------------------------------------------- case "$target_cpu" in + sparc64*) + do_broken_libffi=no; + do_broken_libffcall=yes; + do_enable_libffi=yes; + do_enable_libffcall=no;; *) do_broken_libffi=no; do_broken_libffcall=no; diff --git a/configure.ac b/configure.ac index f4cf998ea..825d2c92d 100644 --- a/configure.ac +++ b/configure.ac @@ -1870,9 +1870,15 @@ fi #-------------------------------------------------------------------- # Check for FFI interface libraries for invocations -# We enable ffcall by default. +# We enable ffcall by default now, except on sparc64 (where we think +# it's broken). #-------------------------------------------------------------------- case "$target_cpu" in + sparc64*) + do_broken_libffi=no; + do_broken_libffcall=yes; + do_enable_libffi=yes; + do_enable_libffcall=no;; *) do_broken_libffi=no; do_broken_libffcall=no;