[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: need test run on Mac
From: |
John W. Eaton |
Subject: |
Re: need test run on Mac |
Date: |
Fri, 28 Feb 2014 10:10:07 -0500 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20131005 Icedove/17.0.9 |
On 02/27/2014 10:25 PM, Dmitri A. Sergatskov wrote:
I usually compile against the reference blas and then use LD_PRELOAD
trick to overload shared library symbols.
If you use LD_PRELOAD, then I would expect it to fail with any BLAS
because the default XERBLA will be loaded before Octave has a chance
to load its own version of that function.
Here is what I see on my system:
$ ldd /usr/bin/octave | grep blas
libblas.so.3 => /usr/lib/libblas.so.3 (0x00007fd78ceb5000)
coredump:2901> LD_PRELOAD=/usr/lib/libblas.so.3 /usr/bin/octave -qf
octave:1> foo
** On entry to barf parameter number -7 had an illegal value
$
I.e., Octave exits immediately because that's what the default XERBLA
does.
Hmm, is there some way we can prevent this from happening and still
have Octave link correctly? Currently, xerbla is in liboctave. I'll
see what happens if we link it directly with the main Octave
executable instead of putting it in a separate shared library.
jwe
- Re: need test run on Mac, (continued)
- Re: need test run on Mac, John W. Eaton, 2014/02/27
- Re: need test run on Mac, Lukas Reichlin, 2014/02/27
- Re: need test run on Mac, c., 2014/02/27
- Re: need test run on Mac, John W. Eaton, 2014/02/27
- Re: need test run on Mac, Dmitri A. Sergatskov, 2014/02/27
- Re: need test run on Mac, c., 2014/02/27
- Re: need test run on Mac, Dmitri A. Sergatskov, 2014/02/27
- Re: need test run on Mac, c., 2014/02/27
- Re: need test run on Mac, Dmitri A. Sergatskov, 2014/02/27
- Re: need test run on Mac, c., 2014/02/28
- Re: need test run on Mac,
John W. Eaton <=
- Re: need test run on Mac, John W. Eaton, 2014/02/28
- Re: need test run on Mac, c., 2014/02/28
- Re: need test run on Mac, Dmitri A. Sergatskov, 2014/02/28