octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X 10.6 current build


From: Ben Abbott
Subject: Re: Mac OS X 10.6 current build
Date: Tue, 23 Mar 2010 18:06:48 -0400

On Tuesday, March 23, 2010, at 05:55PM, "John W. Eaton" <address@hidden> wrote:
>On 23-Mar-2010, Ben Abbott wrote:
>
>| On Mar 23, 2010, at 5:35 PM, "Michael D. Godfrey" <address@hidden 
>|  > wrote:
>| 
>| > I tried the current source (not having done this for a couple
>| > of months) and it built without any new problems,  except for 1
>| > error when running make check:
>| >
>| > >>>>> processing /src/octave/hg/octave/src/data.cc
>| >  ***** assert(log2(complex(0,Inf)), Inf + log2(i));
>| > !!!!! test failed
>| > assert (log2 (complex (0, Inf)),Inf + log2 (i)) expected
>| > Inf + 2.266i
>| > but got
>| > Inf - NaNi
>| > NaNs don't match
>| > =================================
>| > I think that I saw mention of this before.
>| >
>| > My build command was:
>| > ./autogen.sh ;  ./configure F77="gfortran -ff2c -O0" CFLAGS=-O0  
>| > CXXFLAGS=-O0 CPPFLAGS=-O0
>| >
>| > Michael
>| 
>| I get this error as well. Thus far I have not been able to resolve it  
>| using Apple's gcc 4.2.1.
>
>I think we've discussed this problem before.  Without optimization,
>GCC returns the incorrect result.  With optimization, it works.
>
>  http://n4.nabble.com/Log2-and-beta-test-failures-td1650551.html#a1650552
>
>jwe

Unfortunately this solution doesn't work for me. Either Apple's changes to gcc 
are responsible, or I'm doing something else that interferes.

Ben



reply via email to

[Prev in Thread] Current Thread [Next in Thread]