octave doesn't build DSO's with -fPIC
Ben Abbott
bpabbott at mac.com
Thu Dec 6 09:09:35 CST 2007
On Thursday, December 06, 2007, at 09:46AM, "Jack Howarth" <howarth at bromo.msbb.uc.edu> wrote:
> I noticed while building octave 2.9.18 on Leopard that, for
>Darwin at least, octave is not properly using the -fPIC compiler
>flag when creating objects for shared libraries. Linking non-PIC
>code into shared libraries can introduce obscure bugs and is
>discouraged. See the section "Optimization for DSO's" on page 15
>of http://people.redhat.com/drepper/dsohowto.pdf.
> Jack
Jack, the link you provided produced a "Page Not Found: 404" error for me.
I've been struggling a few problems with my builds on Tiger and Leopard.
Two questions.
(1) Any chance this was also a problem for Tiger?
(2) How should this flag be introduced into the build process of Octave (I only ask because the link you provided did not work).
Ben
More information about the Bug-octave
mailing list