load-save.cc oddity

David Bateman adb014 at gmail.com
Mon Dec 10 01:43:06 CST 2007


Jack Howarth wrote:
> David,
>    Thanks for the explanation. I've already filed this as
> Radar://5637903 with Apple and have provided them with the
> preprocessed source and the assembly files generated at
> -O0 (which works) and -O3 (which bus errors). So it does
> look like a compiler bug and not an octave bug.
>    Do you have any idea how one would modify the Makefile.in
> in src to compile load-save.cc with -O0?
>                      Jack


I'm not sure that is the best way around it, though there are examples
of special targets in the Makefile.in for things like urlwrite.oct and
you should be able to do something similar for load-save.o and
pic/load-save.o.

A better solution would be to try and identify the badly compiled
section of code and rewrite it to behave with apple's compilers..

D.


More information about the Bug-octave mailing list