Re: Disable libitm if unsupported

2011-11-09 Thread Iain Sandoe
Hi Richard, On 8 Nov 2011, at 21:29, Richard Henderson wrote: On 11/08/2011 01:20 PM, Iain Sandoe wrote: is it expected for libitm to work on x86 darwin? Yes. hmmm... powerpc-darwin is not affected (doesn't auto configure because there's no powerpc directory under libitm/config).

Re: Disable libitm if unsupported

2011-11-09 Thread Iain Sandoe
On 9 Nov 2011, at 17:01, Richard Henderson wrote: On 11/09/2011 08:14 AM, Iain Sandoe wrote: On i686-darwin9 it fails with target only supports weak alias (I need to understand better where that comes from - but the machine is tied up right now). This is fixed. I removed the alias in

Re: Disable libitm if unsupported

2011-11-09 Thread Richard Henderson
I'll hang on .. and test stuff ;-) Try now. I've committed the following. r~ commit f29a2041f32773464e226a83f41762c2e9cf658e Author: rth rth@138bc75d-0d04-0410-961f-82ee72b054a4 Date: Wed Nov 9 18:38:21 2011 + libitm: de-ELF-ize x86/sjlj.S. * config/x86/sjlj.S:

Disable libitm if unsupported

2011-11-08 Thread Richard Henderson
} in -*-*-linux* | *-*-gnu* | *-*-k*bsd*-gnu) - ;; -*-*-netbsd* | *-*-freebsd* | *-*-openbsd*) - ;; -*-*-solaris2* | *-*-sysv4* | *-*-irix6* | *-*-osf* | *-*-hpux11*) - ;; -*-*-darwin* | *-*-aix*) - ;; -*) +# Disable libitm on unsupported hosted systems

Re: Disable libitm if unsupported

2011-11-08 Thread Pedro Alves
On Tuesday 08 November 2011 16:33:52, Richard Henderson wrote: toplevel/ * configure.ac: Adjust srcdir for running libitm/configure.tgt. +# Disable libitm on unsupported hosted systems. +if test x$enable_libitm = x; then + AC_MSG_CHECKING([for libitm support]) + if (srcdir

Re: Disable libitm if unsupported

2011-11-08 Thread Richard Henderson
On 11/08/2011 09:26 AM, Pedro Alves wrote: On Tuesday 08 November 2011 16:33:52, Richard Henderson wrote: toplevel/ * configure.ac: Adjust srcdir for running libitm/configure.tgt. +# Disable libitm on unsupported hosted systems. +if test x$enable_libitm = x

Re: Disable libitm if unsupported

2011-11-08 Thread Pedro Alves
On Tuesday 08 November 2011 17:31:45, Richard Henderson wrote: On 11/08/2011 09:26 AM, Pedro Alves wrote: On Tuesday 08 November 2011 16:33:52, Richard Henderson wrote: toplevel/ * configure.ac: Adjust srcdir for running libitm/configure.tgt. +# Disable libitm on unsupported

Re: Disable libitm if unsupported

2011-11-08 Thread Richard Henderson
. +# Disable libitm on unsupported hosted systems. +if test x$enable_libitm = x; then + AC_MSG_CHECKING([for libitm support]) + if (srcdir=${srcdir}/libitm; \ + . ${srcdir}/configure.tgt; \ This should check that libitm exists before sourcing the script, as otherwise it will error

Re: Disable libitm if unsupported

2011-11-08 Thread Iain Sandoe
/ * configure.ac: Adjust srcdir for running libitm/ configure.tgt. +# Disable libitm on unsupported hosted systems. +if test x$enable_libitm = x; then + AC_MSG_CHECKING([for libitm support]) + if (srcdir=${srcdir}/libitm; \ + . ${srcdir}/configure.tgt; \ This should check that libitm

Re: Disable libitm if unsupported

2011-11-08 Thread Richard Henderson
On 11/08/2011 01:20 PM, Iain Sandoe wrote: is it expected for libitm to work on x86 darwin? Yes. /bin/sh ./libtool --tag=CXX --mode=compile -B/GCC/gcc-4-7-install/i686-apple-darwin9/bin/ -B/GCC/gcc-4-7-install/i686-apple-darwin9/lib/ -isystem

Re: Disable libitm if unsupported

2011-11-08 Thread Iain Sandoe
On 8 Nov 2011, at 21:29, Richard Henderson wrote: On 11/08/2011 01:20 PM, Iain Sandoe wrote: is it expected for libitm to work on x86 darwin? Yes. OK, I'll persevere ;-) Iain