[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-gsl] check make fail with linalg
From: |
Steve Brosnan |
Subject: |
Re: [Bug-gsl] check make fail with linalg |
Date: |
Mon, 15 Oct 2012 13:17:43 -0700 |
Hello Filipe,
This topic has been raised several times on bug-gsl, but no definitive fix has
been made. There is a possible workaround. The problem has to do with the
optimization results from the gcc 4.2.1 (LLVM) compiler that is installed on
the Mac. I have found that changing the optimization switch to -Os works
(that's capital O and lower case 's'). Or at least when using this switch 'make
check' succeeds. (Actually anything except the default '-O2' works, i.e. '-O0'
or '-O1' or '-Os'. According to the gcc man page '-Os' is a major subset of
'-O2'.)
So use Terminal to cd into the gsl directory and then issue the commands:
make clean
export CFLAGS="-Os -g"
./configure
make
make check
Hope this helps. And hopefully a better systemic fix will emerge someday.
Best regards,
Steve Brosnan
>
> Date: Mon, 15 Oct 2012 15:02:33 -0300
> From: Carlos Filipe Da Silva Costa <address@hidden>
> To: address@hidden
> Subject: [Bug-gsl] check make fail with linalg
> Message-ID: <address@hidden>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello,
> I am having some troubles with linag.
> You will find the log file below.
> I am using: MacOs 10.8.2 with gcc:
> gcc version 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
>
> have you any idea what can I do to solve it. I tried to make it as a static
> library only but it gives the same problem.
> Thank you for your help
> Best regards
> Filipe
>