logo       

Re: MacOS X 10.3.9 build but load-save.m test failure: msg#00052

gnu.octave.bugs

Subject: Re: MacOS X 10.3.9 build but load-save.m test failure

On 28/04/2005, at 1:34 PM, Dmitri A. Sergatskov wrote:

For one thing, which optimization flags did you use?

The defaults. that is -O2 for C and C++ and -O for Fortran.

I compiled 2.9.2 with
gcc version 4.0.0 20050406 (Red Hat 4.0.0-0.41.fc3)

Clearly that is not an Apple compiler!

g++4 with -O2 blows on some files with Internal Compiler Error
(see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20991)

The bugzilla reference refers to optimisation flags '-O3 -m32'
I was using -O2 and -m32 is an X86 specific flag. MacOS X runs on PowerPC

I could not work out how to reproduce the reported bug.

so I had to recompile some files manually with -Os.
The end result looks OK. Passes all tests etc....

I guess my point is that gcc4 pre-release may be finicky with
optimization.

Possibly, but it seemed quite happy with -O2. I suspect -fast (Apple specific speed freaks flag)may well cause grief.

Also it is worth bearing in mind that gcc-4.00 is Apple's current shipping default compiler. So perhaps it has more bugs knocked out of it than the one on RedHat.

Bill Northcott

Thanks,
jwe

Sincerely,

Dmitri.
--




-------------------------------------------------------------
Octave is freely available under the terms of the GNU GPL.

Octave's home on the web: http://www.octave.org
How to fund new projects: http://www.octave.org/funding.html
Subscription information: http://www.octave.org/archive.html
-------------------------------------------------------------




<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise