seg-fault of octave on MacOSX
Jean-François Mertens
Jean-Francois.Mertens at uclouvain.be
Thu Dec 6 17:32:35 CST 2007
On 06 Dec 2007, at 22:08, John W. Eaton wrote:
>
> Did you see this message:
>
> https://www.cae.wisc.edu/pipermail/bug-octave/2007-December/
> 004243.html
>
Yes _ Jack had told me.
> ? Are you building with -fPIC?
No.
-fPIC is the default for Apple's compilers at least
(ie,. the gcc and g++ I'm using)
[ man g++ gives even :
"-fPIC is the default on Darwin and Mac OS X"
implying literally it might be part of the
FSF gcc specs for Darwin _ there I'm not sure.
Further, the man page of the FSF's g++ specifies
for fPIC : "This option makes a difference on
the m68k, PowerPC and SPARC"
and I'm not on such a machine.
I understand that Jack tries to get around the
present problem by using, instead of Apple's
compilers, the FSF compilers (v. 4.2.2) troughout,
and I guess in that case it can be an issue
_ at least on some machines.
But since I'm using Apple's compilers for the moment,
_ except for gfortran , which does not seem to appear
in this bug _ I felt relatively safe.
To be sure, I re-launched a build adding
-fPIC to the FFLAGS.
JF
More information about the Bug-octave
mailing list