-----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,
>> because of the absence of gcc-4.2 in the PATH.  Bootstrap
>> immediately fails, as per
>> 
>> http://pastebin.com/5ZndHJP1
>> 
>> I'm not exactly sure why falling back to gcc-4.2 was suggested as
>> a "solution", given that it is _absent_ in Xcode 4.2.
> 
> My guess would be that it was suggested and accepted as a solution
> because at that time nobody was aware that gcc-4.2 is absent in
> Xcode. E.g. I myself tested Xcode 4.2 on 10.6 and had no reason to
> suspect that gcc-4.2 could be a "leftover" (I wish they would use a
> real package managment system for their installers... dpkg would
> not leave "traces" like that. Nasty).
> 
> There, simple as that :).
> 
> 
> The fact that it *is* absent is extremely troubling for multiple
> reasons. On the one hand, the current bootstrap failure, of course
> (which we can and need to fix by making a new release of fink
> ASAP).
> 
> But on the other hand, this also means that Xcode 4.2 on 10.6 now
> contains no reliable compiler at all :-(. Just today I wasted an
> hour tracking down a bug only to discover that I had recompiled
> some code with "gcc", which is llvm-gcc, which causes gmp 5.0.2
> miscompilation, resulting in some gmp test code not terminating.
> Yuck. And clang miscompiles other code... Anyway, so now we can
> decide whether to make gcc = llvm-gcc-4.2 default, or clang... both
> will cause pain for some. Yuck again.
> 
> 
> 
> Bye, Max

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-default option rolls back the use of "gcc|g++-4.2" for the
default compilers, and uses clang, if present, as per

http://sourceforge.net/tracker/?func=detail&atid=317203&aid=3426897&group_id=17203

The llvm-default option just rolls back "gcc|g++-4.2" for the default
compilers, basically putting us back where we were in fink-0.31.3 .

I can't test these myself, since I can't really afford to spring for a
Dev Center membership, and I'm still not employed, so there's no $job
to pay for that.
- -- 
Alexander Hansen, Ph.D.
Fink User Liaison
http://finkakh.wordpress.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7ID8UACgkQB8UpO3rKjQ8tnwCfdP2SwvoQIzdjo2eEkNPhnaaM
ZxwAn3XsC6uWb0+0F4GL27/EjblEu7UB
=l7zl
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to