tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] -Wl, --enable-new-dtags for DT_RUNPATH instead of DT_RPAT


From: Steffen Nurpmeso
Subject: [Tinycc-devel] -Wl, --enable-new-dtags for DT_RUNPATH instead of DT_RPATH
Date: Thu, 16 Feb 2017 15:49:02 +0100
User-agent: s-nail v14.9.0-pre3

Hello.

Cool, thanks for enabling multiple components in DT_RPATH,
grischka!

Today by accident i had to deal with linker problems of some
software and found an issue that mentioned DT_RUNPATH, which
mentioned that DT_RPATH is legacy and searched for
$LD_LIBRARY_PATH, whereas the newer DT_RUNPATH is searched
thereafter.  Completely unencrypted!  Well.  For what's it worth,
i for one am astonished because of course i want to override
$LD_LIBRARY_PATH, but it surely has its merites, smart people came
to the conclusion, did they.

The attached diff below seems to be sufficient to support
DT_RUNPATH instead of DT_RPATH with tcc(1).  But i have no insight
in what --enable-new-dtags is supposed to change in addition, so
i wonder.

Ciao!

--steffen

Attachment: tcc-dt_runpath.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]