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, Actually, I just tested upstream llvm/clang 3.0svn from llvm.org and am seeing failures there as well.. [tversion] GMP: header 5.0.2, library 5.0.2 [tversion] MPFR tuning parameters from src/x86_64/core2/mparam.h PASS: tversion PASS: tinternals PASS: tinits PASS: tisqrt PASS: tsgn PASS: tcheck PASS: tisnan Error: emin >= emax FAIL: texceptions ../../tests/tset_exp.c:44: MPFR assertion failed: ret == 0 && (__builtin_constant_p (2) && (mpfr_ulong) (2) == 0 ? (mpfr_sgn) (x) : mpfr_cmp_ui_2exp ((x), (2), 0)) == 0 /bin/sh: line 1: 91034 Abort trap: 6 MPFR_QUIET=1 ${dir}$tst FAIL: tset_exp /bin/sh: line 1: 91053 Segmentation fault: 11 MPFR_QUIET=1 ${dir}$tst FAIL: tset PASS: mpf_compat Error in conversion to/from mpz expected 17, got 0.0000000000000000e+00 FAIL: mpfr_compat ../../src/set_str_raw.c:54: MPFR assertion failed: res == 0 /bin/sh: line 1: 91105 Abort trap: 6 MPFR_QUIET=1 ${dir}$tst FAIL: reuse /bin/sh: line 1: 91123 Segmentation fault: 11 MPFR_QUIET=1 ${dir}$tst FAIL: tabs etc. So it looks like either a mpfr bug being tickled or a new flaw introduced upstream in clang 3.0svn. Jack > > > > > > 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 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