failed build with current mercurial sources

Ben Abbott bpabbott at mac.com
Wed Mar 19 07:19:56 CDT 2008


On Mar 19, 2008, at 8:13 AM, Jaroslav Hajek wrote:

> On Wed, Mar 19, 2008 at 1:07 PM, Ben Abbott <bpabbott at mac.com> wrote:
>>
>> On Mar 19, 2008, at 4:27 AM, Jaroslav Hajek wrote:
>>
>>>>
>>>> Since the crash is not reproducible, I'm lost as to how to proceed
>>>> with gdb ... I'm not exactly an expert in debugging such things, if
>>>> there is another tool that might help, please school me ;-)
>>>>
>>>> Presently, I'm thinking my problem (Mac OSX 10.5.2) is related to
>>>> lapack/blas. I'm using ATLAS 3.8.0-6 from Fink. Previously, I'd  
>>>> used
>>>> Apple's vecLib/Framework, but it was built using gcc 4.0.1 ...  
>>>> which
>>>> has some compatibility issues with later versions of gfortran (i.e.
>>>> the one I'm using) :-(
>>>>
>>>> As I'm not up to speed on what recent changes to Octave might have
>>>> impacted mldivide, I'm hoping for some assistance.
>>>>
>>>> Might my problem be related to problems with xGELSD? ... or  
>>>> something
>>>> else all together?
>>>>
>>>> Ben
>>>
>>
>>> Ben,
>>> can you try compiling revision a89b3fa632ee (i.e. before John's
>>> zdotc->xzdotc fix) with the -ff2c flag given to gfortran?
>>
>> No problem. Shall I use the command below to return my copy of his
>> archive to that desired state?
>>
>>        hg revert -ra89b3fa632ee
>>
>> Ben
>>
>>
>
> I think so. I'm similarly experienced with mercurial as you. If feel
> up to it, you can also try
> checking out the latest repo then download the patch I've posted and
> apply it; and tell us whether it works, i.e., without -ff2c, you
> should get
> "checking for compatible BLAS ZDOTC/ZDOTU calling convention...no"
> and then a warning
> "BLAS library found, but seems incompatible with the Fortran compiler.
> The default BLAS will be used. Try adding -ff2c to FFLAGS as a  
> workaround"
> and BLAS_LIBS should be empty
>
> with -ff2c, the test should pass and let the BLAS be linked.
>
> regards

So I must apply the revert John's change *and* apply your patch?

Shall I link to Apple's lapack/blas, or to atlas?

Apple's is compiled using f2c (at least I think it is). My Atlas is  
built using gfortran.

Ben




More information about the Bug-octave mailing list