LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Ralf Wildenhues (Ralf.Wildenhues_at_[hidden])
Date: 2005-06-21 01:43:15


> > Ralf Wildenhues wrote:
> > >
> > >The first issue is that, while linking, -fpic (-fPIC is an alias)
> > >chooses the shared libraries from the libso/ directory over the static,
> > >non-PIC ones from the lib/ directory (all below $PGI installation dir).
> > >This might be regarded as poor design rather than an outright bug.
> > >One interesting symptom is a C++ runtime failure:
> > >
> > >... Or adding -fPIC to the link line, which I have put in Libtool.

I am speaking nonsense. Libtool puts this into the link line when
creating a shared library. Not when creating a program linked against
shared libraries.

Now we /could/ do this nicely with libtool's branch-2-0 (but there is no
stable release of it yet) .. or document the stated workaround, since
PGI did mention that they plan to change this.

Regards,
Ralf