Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-09 Thread Jack Howarth
On Fri, Dec 09, 2011 at 10:03:47AM -0500, Jack Howarth wrote: > On Fri, Dec 09, 2011 at 02:09:54PM +, Iain Sandoe wrote: > > > > On 8 Dec 2011, at 20:55, Iain Sandoe wrote: > >> ... but, I'll bow out at this juncture - > > > > OK, I lied :-) > > > > The boehm-gc tests pass for m32 and m64 with

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-09 Thread Jack Howarth
On Fri, Dec 09, 2011 at 05:26:47PM +0100, Rainer Orth wrote: > Hi Jack, > > > The same argument could be made for PIC itself regarding the testsuite. > > Aren't we still the only target that defaults to PIC objects? I would think > > that > > certainly not: e.g. both Tru64 UNIX and IRIX are

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-09 Thread Rainer Orth
Hi Jack, > The same argument could be made for PIC itself regarding the testsuite. > Aren't we still the only target that defaults to PIC objects? I would think > that certainly not: e.g. both Tru64 UNIX and IRIX are PIC by default. Rainer -- -

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-09 Thread Jack Howarth
On Fri, Dec 09, 2011 at 02:09:54PM +, Iain Sandoe wrote: > > On 8 Dec 2011, at 20:55, Iain Sandoe wrote: >> ... but, I'll bow out at this juncture - > > OK, I lied :-) > > The boehm-gc tests pass for m32 and m64 with "-fpie/-fPIE" on both x86 > Darwin9 (XC3.1.4) and x86_64 Darwin10 (XC3.2.5);

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-09 Thread Iain Sandoe
On 8 Dec 2011, at 20:55, Iain Sandoe wrote: ... but, I'll bow out at this juncture - OK, I lied :-) The boehm-gc tests pass for m32 and m64 with "-fpie/-fPIE" on both x86 Darwin9 (XC3.1.4) and x86_64 Darwin10 (XC3.2.5); I'm building with XC3.2.6 to check that too. So I think you need to d

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Jack Howarth
On Thu, Dec 08, 2011 at 08:55:17PM +, Iain Sandoe wrote: > > On 8 Dec 2011, at 20:15, Jack Howarth wrote: >>> >>> At present, you pass it when "no-pic, no-pie" etc. are - perhaps it >>> should just be the default and *only* switched on for -pie something >>> like >>> >>> %{!fpie: %{!PIE: %:

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Iain Sandoe
On 8 Dec 2011, at 20:15, Jack Howarth wrote: At present, you pass it when "no-pic, no-pie" etc. are - perhaps it should just be the default and *only* switched on for -pie something like %{!fpie: %{!PIE: %:version-compare(>= 10.7 mmacosx-version-min= - no_pie) } } Otherwise, D11 is behavi

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Jack Howarth
On Thu, Dec 08, 2011 at 05:55:37PM +, Iain Sandoe wrote: > > On 8 Dec 2011, at 17:24, Jack Howarth wrote: > >> On Thu, Dec 08, 2011 at 05:05:12PM +, Iain Sandoe wrote: >>> >>> On 8 Dec 2011, at 16:58, Jack Howarth wrote: >>> On Thu, Dec 08, 2011 at 03:54:35PM +, Iain Sandoe wrote:

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Jack Howarth
On Thu, Dec 08, 2011 at 05:55:37PM +, Iain Sandoe wrote: > > On 8 Dec 2011, at 17:24, Jack Howarth wrote: > >> On Thu, Dec 08, 2011 at 05:05:12PM +, Iain Sandoe wrote: >>> >>> On 8 Dec 2011, at 16:58, Jack Howarth wrote: >>> On Thu, Dec 08, 2011 at 03:54:35PM +, Iain Sandoe wrote:

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Iain Sandoe
On 8 Dec 2011, at 17:24, Jack Howarth wrote: On Thu, Dec 08, 2011 at 05:05:12PM +, Iain Sandoe wrote: On 8 Dec 2011, at 16:58, Jack Howarth wrote: On Thu, Dec 08, 2011 at 03:54:35PM +, Iain Sandoe wrote: On 8 Dec 2011, at 15:38, Jack Howarth wrote: Currently the boehm-gc testsui

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Jack Howarth
On Thu, Dec 08, 2011 at 05:05:12PM +, Iain Sandoe wrote: > > On 8 Dec 2011, at 16:58, Jack Howarth wrote: > >> On Thu, Dec 08, 2011 at 03:54:35PM +, Iain Sandoe wrote: >>> >>> On 8 Dec 2011, at 15:38, Jack Howarth wrote: >>> Currently the boehm-gc testsuite fails... FAIL: boe

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Iain Sandoe
On 8 Dec 2011, at 16:58, Jack Howarth wrote: On Thu, Dec 08, 2011 at 03:54:35PM +, Iain Sandoe wrote: On 8 Dec 2011, at 15:38, Jack Howarth wrote: Currently the boehm-gc testsuite fails... FAIL: boehm-gc.c/gctest.c -O2 execution test FAIL: boehm-gc.c/leak_test.c -O2 execution test FAIL

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Jack Howarth
On Thu, Dec 08, 2011 at 03:54:35PM +, Iain Sandoe wrote: > > On 8 Dec 2011, at 15:38, Jack Howarth wrote: > >> Currently the boehm-gc testsuite fails... >> >> FAIL: boehm-gc.c/gctest.c -O2 execution test >> FAIL: boehm-gc.c/leak_test.c -O2 execution test >> FAIL: boehm-gc.c/thread_leak_test.c -

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Rainer Orth
Iain Sandoe writes: > On 8 Dec 2011, at 15:38, Jack Howarth wrote: > >> Currently the boehm-gc testsuite fails... >> >> FAIL: boehm-gc.c/gctest.c -O2 execution test >> FAIL: boehm-gc.c/leak_test.c -O2 execution test >> FAIL: boehm-gc.c/thread_leak_test.c -O2 execution test >> FAIL: boehm-gc.lib/s

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Mike Stump
On Dec 8, 2011, at 7:38 AM, Jack Howarth wrote: > Currently the boehm-gc testsuite fails... > > FAIL: boehm-gc.c/gctest.c -O2 execution test > FAIL: boehm-gc.c/leak_test.c -O2 execution test > FAIL: boehm-gc.c/thread_leak_test.c -O2 execution test > FAIL: boehm-gc.lib/staticrootstest.c -O2 execut

Re: [PATCH] use -fno-pie on darwin in boehm-gc.exp

2011-12-08 Thread Iain Sandoe
On 8 Dec 2011, at 15:38, Jack Howarth wrote: Currently the boehm-gc testsuite fails... FAIL: boehm-gc.c/gctest.c -O2 execution test FAIL: boehm-gc.c/leak_test.c -O2 execution test FAIL: boehm-gc.c/thread_leak_test.c -O2 execution test FAIL: boehm-gc.lib/staticrootstest.c -O2 execution test y