Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-20 Thread Max Horn
Am 19.11.2011 um 21:21 schrieb Alexander Hansen: [...] > Here's a couple of test finks, derived from branch_0_31: > > https://github.com/akhansen/fink/zipball/clang-default > https://github.com/akhansen/fink/zipball/llvm-default > > Hopefully the names are self-explanatory. :-) > > The clang-

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-19 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/16/11 5:59 PM, Max Horn wrote: > > Am 16.11.2011 um 17:56 schrieb Alexander Hansen: > > [...] > >>> >> >> Right, and the point I was trying to make is that fink-0.31.4 >> *doesn't work* for people who do a fresh install of Xcode 4.2, >> beca

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-17 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/16/11 5:59 PM, Max Horn wrote: > > Am 16.11.2011 um 17:56 schrieb Alexander Hansen: > > [...] > >>> >> >> Right, and the point I was trying to make is that fink-0.31.4 >> *doesn't work* for people who do a fresh install of Xcode 4.2, >> beca

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-17 Thread Alexander Hansen
On 11/17/11 10:09 AM, David Lowe wrote: > On 16 Nov, 2011, at 2:59 PM, Max Horn wrote: > >> But on the other hand, this also means that Xcode 4.2 on 10.6 now contains >> no reliable compiler at all :-(. > > I guess we can't simply declare this particular combination to be > unsupported? >

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-17 Thread David Lowe
On 16 Nov, 2011, at 2:59 PM, Max Horn wrote: > But on the other hand, this also means that Xcode 4.2 on 10.6 now contains no > reliable compiler at all :-(. I guess we can't simply declare this particular combination to be unsupported? Sent from my MacBookPro Friends come and friends

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-16 Thread Max Horn
Am 16.11.2011 um 17:56 schrieb Alexander Hansen: [...] >> > > Right, and the point I was trying to make is that fink-0.31.4 *doesn't > work* for people who do a fresh install of Xcode 4.2, because of the > absence of gcc-4.2 in the PATH. Bootstrap immediately fails, as per > > http://pastebi

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-16 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 11/16/11 10:52 AM, Alexander Hansen wrote: > On 10/21/11 6:09 PM, Max Horn wrote: >> Jack, > >> Am 21.10.2011 um 21:53 schrieb Jack Howarth: > >>> On Fri, Oct 21, 2011 at 09:32:08PM +0200, Martin Costabel >>> wrote: > >> [...] > Is the poss

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-16 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/21/11 6:09 PM, Max Horn wrote: > Jack, > > Am 21.10.2011 um 21:53 schrieb Jack Howarth: > >> On Fri, Oct 21, 2011 at 09:32:08PM +0200, Martin Costabel wrote: > > [...] > >>> Is the possible benefit for a tiny minority of xcode-4.2 users >>> o

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-16 Thread Alexander Hansen
So personally, I'd love to avoid that and get things compatible with XCode 4.2 by making sure everything gets to use GCC 4.2 by default. Cheers, Max > > Did we actually _confirm_ that Xcode 4.2 comes with gcc-4.2 on 10.6? > We've got a user in IRC today who doesn't

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-11-16 Thread Jack Howarth
On Wed, Nov 16, 2011 at 10:52:41AM -0500, Alexander Hansen wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 10/21/11 6:09 PM, Max Horn wrote: > > Jack, > > > > Am 21.10.2011 um 21:53 schrieb Jack Howarth: > > > >> On Fri, Oct 21, 2011 at 09:32:08PM +0200, Martin Costabel wrote: >

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Jack Howarth
In view of the comments so far, the path of least resistance for fixing fink to use SL Xcode 4.2 obviously appears to be reverting the system compiler under fink to gcc-4.2 and g++-4.2 for cc/gcc and c++/g++ respectively. The simple approach would be to enhance the compiler wrapper for path-p

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/21/11 3:44 PM, Jack Howarth wrote: > On Fri, Oct 21, 2011 at 09:02:56PM +0200, Martin Costabel wrote: >> On 21/10/11 16:04 , Jack Howarth wrote: >>> On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel >>> wrote: On 21/10/11 01:05, Jack

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Max Horn
Jack, Am 21.10.2011 um 21:53 schrieb Jack Howarth: > On Fri, Oct 21, 2011 at 09:32:08PM +0200, Martin Costabel wrote: [...] >> Is the possible benefit for a tiny minority of xcode-4.2 users on Snow >> Leopard really worth all this hassle? > > Considering that i386 fink represents the most te

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Jack Howarth
On Fri, Oct 21, 2011 at 09:32:08PM +0200, Martin Costabel wrote: > On 21/10/11 21:18 , Alexander Hansen wrote: > >> On 10/21/11 3:02 PM, Martin Costabel wrote: > [] >>> What I mean is that a package that does not compile under clang >>> needs to include the above fix for xcode-4.2 if your automatic

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Jack Howarth
On Fri, Oct 21, 2011 at 09:02:56PM +0200, Martin Costabel wrote: > On 21/10/11 16:04 , Jack Howarth wrote: >> On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel wrote: >>> On 21/10/11 01:05, Jack Howarth wrote: >>> [] should upgrade to this version (or revert to Xcode 3.2.6). This would

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Martin Costabel
On 21/10/11 21:18 , Alexander Hansen wrote: > On 10/21/11 3:02 PM, Martin Costabel wrote: [] >> What I mean is that a package that does not compile under clang >> needs to include the above fix for xcode-4.2 if your automatic >> switch to clang is implemented. But then it will probably no longer >

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Alexander Hansen
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 10/21/11 3:02 PM, Martin Costabel wrote: > On 21/10/11 16:04 , Jack Howarth wrote: >> On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel wrote: >>> On 21/10/11 01:05, Jack Howarth wrote: [] should upgrade to this version (or revert to Xc

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Martin Costabel
On 21/10/11 16:04 , Jack Howarth wrote: > On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel wrote: >> On 21/10/11 01:05, Jack Howarth wrote: >> [] >>> should upgrade to this version (or revert to Xcode 3.2.6). This would allow >>> us to >>> focus on supporting clang in the Xcode 4.x releas

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Jack Howarth
On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel wrote: > On 21/10/11 01:05, Jack Howarth wrote: > [] >> should upgrade to this version (or revert to Xcode 3.2.6). This would allow >> us to >> focus on supporting clang in the Xcode 4.x releases and encourage >> unification of >> any clan

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Jack Howarth
On Fri, Oct 21, 2011 at 10:06:24AM +0200, Martin Costabel wrote: > On 21/10/11 01:05, Jack Howarth wrote: > [] >> should upgrade to this version (or revert to Xcode 3.2.6). This would allow >> us to >> focus on supporting clang in the Xcode 4.x releases and encourage >> unification of >> any clan

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-21 Thread Martin Costabel
On 21/10/11 01:05, Jack Howarth wrote: [] > should upgrade to this version (or revert to Xcode 3.2.6). This would allow > us to > focus on supporting clang in the Xcode 4.x releases and encourage unification > of > any clang specific changes to info files between the 10.4 and 10.6 trees. It > al

Re: [Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-20 Thread Jack Howarth
The ppl9.info file provides a good example of the adjustments we need to make to info files in order to support path-prefix-clang under Xcode 4.2 on SL... --- /sw/fink/10.6/stable/main/finkinfo/devel/ppl9.info 2011-09-26 09:48:21.0 -0400 +++ ppl9.info 2011-10-20 18:44:37.0

[Fink-devel] enable path-prefix-clang for SL Xcode 4.2

2011-10-20 Thread Jack Howarth
The release of Xcode 4.2 for Snow Leopard presents fink with both a problem and an opportunity. The Xcode 4.2 SL release defaults /usr/bin/gcc and /usr/bin/g++ to the llvm-gcc-4.2 and llvm-g++-4.2 compilers respectively. This exposes fink 10.6 to a slew of llvm-gcc bugs (many yet unknown). For