[csw-maintainers] Runpath menagerie for review

Dagobert Michelsen dam at opencsw.org
Wed Mar 24 11:00:52 CET 2010


Hi,

Am 23.03.2010 um 22:25 schrieb Philip Brown:
> On Tue, Mar 23, 2010 at 1:27 PM, Maciej (Matchek) Blizinski
> <maciej at opencsw.org> wrote:
>
>> I would like to kindly ask the Elders to review the list below and
>> identify rpath entries that are erroneous, so I can create a check
>> detecting them.
>
> most of them are wrong :)

Yes. I suggest using a whitelist of allowed pathes, which can then
be extended if necessary.

> /opt/studio and/opt/forte are artifacts of old environment. they
> "shouldnt" really be there.
> /opt/SUNWspro is sortof forgivable, since its the "proper" location,
> but we should probably really be using -xnorunpath to avoid that sort
> of stuffs

This is for SOS12u1 only, earlier versions don't have that and in
most cases it should not be necessary:

>           Normally cc does not pass any -R path to the linker.
>           There are a few options that do pass -R path to the
>           linker such as -xliclib=sunperf and -xopenmp.  The
>           -xnorunpath option can be used to prevent this.


Best regards

   -- Dago


More information about the maintainers mailing list