Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Iain Sandoe
On 6 Jan 2012, at 01:44, Patrick Marlier wrote: Hello Iain, On 11/21/2011 10:17 AM, Iain Sandoe wrote: This checked to DTRT on i686-darwin9 (weak ref doesn't behave like ELF's) and x86-64-darwin10/XCode 3.2.5 (weak ref behaves as per ELF). It is my understanding from some off-list

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Mike Stump
On Jan 6, 2012, at 12:29 AM, Iain Sandoe wrote: I think something is wrong in the configure. Indeed, on apple-darwin10.8.0, weak ref works but it is configure as no. I guess it should not try to run it but only compile it (or the symbol should exists). Which tool-chain are you using ?

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Patrick Marlier
On 01/06/2012 10:38 AM, Mike Stump wrote: On Jan 6, 2012, at 12:29 AM, Iain Sandoe wrote: I think something is wrong in the configure. Indeed, on apple-darwin10.8.0, weak ref works but it is configure as no. I guess it should not try to run it but only compile it (or the symbol should

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Jack Howarth
On Fri, Jan 06, 2012 at 10:58:51AM -0500, Patrick Marlier wrote: On 01/06/2012 10:38 AM, Mike Stump wrote: On Jan 6, 2012, at 12:29 AM, Iain Sandoe wrote: I think something is wrong in the configure. Indeed, on apple-darwin10.8.0, weak ref works but it is configure as no. I guess it should

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Iain Sandoe
On 6 Jan 2012, at 16:42, Jack Howarth wrote: On Fri, Jan 06, 2012 at 10:58:51AM -0500, Patrick Marlier wrote: On 01/06/2012 10:38 AM, Mike Stump wrote: On Jan 6, 2012, at 12:29 AM, Iain Sandoe wrote: I think something is wrong in the configure. Indeed, on apple- darwin10.8.0, weak ref works

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Iain Sandoe
On 6 Jan 2012, at 18:04, Patrick Marlier wrote: On 01/06/2012 12:30 PM, Iain Sandoe wrote: On 6 Jan 2012, at 16:42, Jack Howarth wrote: On Fri, Jan 06, 2012 at 10:58:51AM -0500, Patrick Marlier wrote: On 01/06/2012 10:38 AM, Mike Stump wrote: On Jan 6, 2012, at 12:29 AM, Iain Sandoe

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-06 Thread Jack Howarth
On Fri, Jan 06, 2012 at 06:07:37PM +, Iain Sandoe wrote: On 6 Jan 2012, at 18:04, Patrick Marlier wrote: On 01/06/2012 12:30 PM, Iain Sandoe wrote: On 6 Jan 2012, at 16:42, Jack Howarth wrote: On Fri, Jan 06, 2012 at 10:58:51AM -0500, Patrick Marlier wrote: On 01/06/2012 10:38 AM,

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2012-01-05 Thread Patrick Marlier
Hello Iain, On 11/21/2011 10:17 AM, Iain Sandoe wrote: This checked to DTRT on i686-darwin9 (weak ref doesn't behave like ELF's) and x86-64-darwin10/XCode 3.2.5 (weak ref behaves as per ELF). It is my understanding from some off-list discussion reported with the ld64 engineer - - that Darwin =

[Patch libitm] [V2] config-based assessment of weakref capability

2011-11-21 Thread Iain Sandoe
Hello All, This is the last piece needed to get libitm working on Darwin. --- It is take 2 on auto-configury for weakrefs in libitm. It takes into account the comments made by Rainer (and follow-up) on: http://gcc.gnu.org/ml/gcc-patches/2011-11/msg01898.html * moves the checking functions to

Re: [Patch libitm] [V2] config-based assessment of weakref capability

2011-11-21 Thread Richard Henderson
On 11/21/2011 07:17 AM, Iain Sandoe wrote: config: * weakref.m4: New file. libitm: * configure.ac: Use GCC_CHECK_ELF_STYLE_WEAKREF. * alloc_cpp.cc: Generate dummy functions if we don't HAVE_ELF_STYLE_WEAKREF. * eh_cpp.cc: Likewise. * configure: Regenerate.