On Mon, Oct 10, 2011 at 11:17:27PM -0600, David Palmer wrote:
> I did a survey of compilers to see what works and what doesn't.
>
> In the .info file, I changed the ../configure line to
> ../configure %c "CC=llvm-gcc -m64" "CXX=llvm-g++ -m64"
> --libdir='${prefix}/%lib'
> etc.
>
> llvm-gcc PASSED
> llvm-gcc-4.2 PASSED
> clang FAILED on the same assert as the original
> gcc-4.2 PASSED
> gcc-fsf-4.6 PASSED
> (I used fink to install gcc4.6 for the last one).
>
>
> Only clang seems to fail when the compiler is given explicitly in the
> ../configure line
>
> I am not really understanding this. The unmodified version claims to be
> compiling with 'gcc', and
> % which gcc
> /usr/bin/gcc
> % ls -ls /usr/bin/gcc
> 8 lrwxr-xr-x 1 root wheel 12 Oct 7 00:36 /usr/bin/gcc -> llvm-gcc-4.2
>
> so there should be no difference between the original run (which doesn't
> work) and the llbm-gcc-4.2 (which works).
David,
Under fink 10.7, the clang compilers are used by default via prefix-clang
symlinks (in the same manner
as symlinks are used to force -m64 for x86_64 fink). Your results suggest that
we have run across a
clang regression introduced in Xcode 4.2 and that we will need to file a radar
report on it. This isn't
surprising considering that the focus of Xcode 4.2 was iOS5 and thus ARM rather
than intel. Also Apple
can't compile any GPLv3 sources so code like current mpfr goes untested. I'll
try a fresh bootstrap of fink 10.7
once Xcode 4.2 is released to see how much damage Apple has done to clang in
that release.
Jack
ps It is still unclear to me if Apple intends to automatically push out Xcode
4.2 or if it will be
an opt-in only installation intended focused on iOS5 developers.
>
>
>
>
>
> In the CompileScript secant, just before the ../configure line, there is
>
> if [ "%type_raw[-64bit]" == "-64bit" ]; then
> export CC="gcc -m64"
> fi
>
> But changing those lines don't seem to have any effect on the compiler. (I
> don't know enough about .info files to know if that is the expected result)
------------------------------------------------------------------------------
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. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
_______________________________________________
Fink-devel mailing list
[email protected]
List archive:
http://news.gmane.org/gmane.os.apple.fink.devel
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-devel