Re: Disable libitm if unsupported

2011-11-09 Thread Iain Sandoe
On 9 Nov 2011, at 18:39, Richard Henderson wrote: I'll hang on .. and test stuff ;-) Try now. I've committed the following. sjlj.S now builds ... ... similar issues are showing in x86_sse.S (I will try and look at those, if you have not already started). Iain

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 Date: Wed Nov 9 18:38:21 2011 + libitm: de-ELF-ize x86/sjlj.S. * config/x86/sjlj.S: Protect elf directives with __ELF__.

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 fa

Re: Disable libitm if unsupported

2011-11-09 Thread Richard Henderson
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 favor of a plain function for portability. I also ad

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). How

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

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 > /GCC/gcc-4-7-install/i686-apple-darwi

Re: Disable libitm if unsupported

2011-11-08 Thread Iain Sandoe
Hi Chaps On 8 Nov 2011, at 18:22, Richard Henderson wrote: On 11/08/2011 09:56 AM, Pedro Alves wrote: 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/

Re: Disable libitm if unsupported

2011-11-08 Thread Richard Henderson
On 11/08/2011 09:56 AM, Pedro Alves wrote: > 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/c

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 u

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; then >> + AC_

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=

Disable libitm if unsupported

2011-11-08 Thread Richard Henderson
As suggested by Joseph, this consolidates the knowledge of libitm support in the libitm directory. And better, in a file not controlled by autoconf, so less fumbling around for the correct edition. ;-) Committed in two hunks because I faffed it the first time and managed to not notice that I'd d