Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Jack Howarth
On Sun, Dec 04, 2011 at 08:35:07PM +, Iain Sandoe wrote: > > On 4 Dec 2011, at 20:19, Jack Howarth wrote: > >> On Sun, Dec 04, 2011 at 08:18:32PM +0100, Jakub Jelinek wrote: >>> On Sun, Dec 04, 2011 at 02:00:20PM -0500, Jack Howarth wrote: >> at -m32/-m64 on x86_64-apple-darwin11 due to the

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Iain Sandoe
On 4 Dec 2011, at 20:19, Jack Howarth wrote: On Sun, Dec 04, 2011 at 08:18:32PM +0100, Jakub Jelinek wrote: On Sun, Dec 04, 2011 at 02:00:20PM -0500, Jack Howarth wrote: at -m32/-m64 on x86_64-apple-darwin11 due to the -pie linker default. Iain had wanted to leave these in place to encourage

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Jack Howarth
On Sun, Dec 04, 2011 at 08:18:32PM +0100, Jakub Jelinek wrote: > On Sun, Dec 04, 2011 at 02:00:20PM -0500, Jack Howarth wrote: > > > > at -m32/-m64 on x86_64-apple-darwin11 due to the -pie linker default. > > > > Iain had wanted > > > > to leave these in place to encourage boehm-gc to be fixed but

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Jakub Jelinek
On Sun, Dec 04, 2011 at 02:00:20PM -0500, Jack Howarth wrote: > > > at -m32/-m64 on x86_64-apple-darwin11 due to the -pie linker default. > > > Iain had wanted > > > to leave these in place to encourage boehm-gc to be fixed but I doubt > > > that is a realistic > > > goal in the near/middle term.

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Jack Howarth
On Sun, Dec 04, 2011 at 09:28:55AM -0800, Mike Stump wrote: > On Dec 4, 2011, at 9:09 AM, Jack Howarth wrote: > > On Sat, Dec 03, 2011 at 10:45:18PM -0800, Mike Stump wrote: > >> On Dec 3, 2011, at 7:25 AM, Jack Howarth wrote: > >>> FSF gcc currently doesn't handle -fno-pie and friends properly un

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Mike Stump
On Dec 4, 2011, at 9:09 AM, Jack Howarth wrote: > On Sat, Dec 03, 2011 at 10:45:18PM -0800, Mike Stump wrote: >> On Dec 3, 2011, at 7:25 AM, Jack Howarth wrote: >>> FSF gcc currently doesn't handle -fno-pie and friends properly under Lion. >>> The darwin11 linker now defaults to -pie >> >>> Okay

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-04 Thread Jack Howarth
On Sat, Dec 03, 2011 at 10:45:18PM -0800, Mike Stump wrote: > On Dec 3, 2011, at 7:25 AM, Jack Howarth wrote: > > FSF gcc currently doesn't handle -fno-pie and friends properly under Lion. > > The darwin11 linker now defaults to -pie > > > Okay for gcc trunk and backports to gcc-4_5-branch/gcc-4_6

Re: [PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-03 Thread Mike Stump
On Dec 3, 2011, at 7:25 AM, Jack Howarth wrote: > FSF gcc currently doesn't handle -fno-pie and friends properly under Lion. > The darwin11 linker now defaults to -pie > Okay for gcc trunk and backports to gcc-4_5-branch/gcc-4_6-branch? Ok.

[PATCH] pass -no_pie to LINK_GCC_C_SEQUENCE_SPEC on darwin

2011-12-03 Thread Jack Howarth
FSF gcc currently doesn't handle -fno-pie and friends properly under Lion. The darwin11 linker now defaults to -pie and must be explicitly passed -no_pie in such cases. The following patch extends LINK_GCC_C_SEQUENCE_SPEC to handle those instances which should pass -no_pie to the linker. The gc