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: John W. Eaton
Subject: Re: Mac OS X 10.6 current build
Date: Tue, 23 Mar 2010 17:55:10 -0400

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


reply via email to

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