RPATH with multiple empty paths (e.g., ::::::::)
Thiago Macieira
thiago at kde.org
Mon Aug 4 19:35:15 CEST 2008
On Monday 04 August 2008 15:13:38 Brad King wrote:
> Dirk Mueller wrote:
> > On Sunday 03 August 2008, Gavin Beatty wrote:
> >> A lot of KDE libraries are being given strange RPATHs. I'm getting
> >> link lines giving this:
> >
> > installed or uninstalled libraries? for uninstalled that's normal, cmake
> > reserves some space in the binary to be able to fill in the correct path
> > during installation without relinking (which is somewhat slower).
> >
> > if it breaks your scripts (it breaks mine),
> >
> > -DCMAKE_NO_BUILTIN_CHRPATH:BOOL=ON
>
> If someone can tell me how to reserve space in the RPATH entry through
> standard linker interfaces and without creating bogus paths, I would
> love to use it. Until then, this is the only option to avoid relinking.
There isn't one, not without help from binutils guys.
But the point is: this kind of paths shouldn't appear in final, installed
binaries. Gavin hasn't replied yet if that was the case.
Can we approach the GNU binutils people? They seem to be very friendly when it
comes to suggestions.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
PGP/GPG: 0x6EF45358; fingerprint:
E067 918B B660 DBD1 105C 966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20080804/445dd9e8/attachment.pgp
More information about the Kde-buildsystem
mailing list