[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] GSL failed to pass ``make check'' while compiled with LLVM
From: |
Yan Zhou |
Subject: |
Re: [Bug-gsl] GSL failed to pass ``make check'' while compiled with LLVM |
Date: |
Thu, 22 Apr 2010 12:25:07 +0100 |
Thanks for your reply.
On Mac I also tested other compilers. Including intel C++ compiler. All
successfully compiled but failed ``make check''. They give all kinds of
different errors. Though I am a not a big fan of commercial compilers (The
usually sucks). But at least the results confused me enough. I has enough
energy or time to look into the problem, whether it is a problem with all those
compilers other than GCC or it is a portability problem with GSL. Instead I
choose to stick with commercial library like apples' vecLib or intel's MKL for
now.
However, thank you for all you have done and wish a better future of GSL.
On 22 Apr 2010, at 11:23, Brian Gough wrote:
> At Mon, 19 Apr 2010 14:11:13 +0100,
> Yan Zhou wrote:
>> I tried to compile GSL successfully with LLVM. But failed to pass
>> the ``make check''.
>>
>> The following is the specification of my machine.
>>
>> Mac OS X 10.6.3; Intel Core 2 Duo 2.4G; 4G RAM; XCode 3.2.2;
>> Compiler: Clang-1.02, distributed with Xcode, back-end llvm
>> llvm-gcc-4.2, distributed with Xcode, back-end
>> llvm
>>
>> The attachment is the log file for both compiler. The compile is
>> successful but the check failed. I also compiled GSL using the apple
>> version of GCC-4.2, also distributed with Xcode. The check passed in
>> the later case.
>>
>> I will test GSL with LLVM backend on other OS while I got the
>> resources.
>
> Thanks for your email. Given the size of the relative errors O(10^-3)
> compared with the expected relative error of O(10^-12) it suggests a
> problem with LLVM itself, rather than GSL.
>
> If the tests pass with standard version of GCC, I would advise you to
> stick with GCC instead.
>
> --
> Brian Gough
>
> GNU Scientific Library -
> http://www.gnu.org/software/gsl/