Bug 19156 - Remove RPATH from libtool
Summary: Remove RPATH from libtool
Status: RESOLVED INVALID
Alias: None
Product: XCB
Classification: Unclassified
Component: Utils (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) All
: medium normal
Assignee: xcb mailing list dummy
QA Contact:
URL: http://kojipkgs.fedoraproject.org/pac...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 05:29 UTC by Michal Nowak
Modified: 2019-02-16 13:02 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Michal Nowak 2008-12-18 05:29:45 UTC
Build system is using RPATH:

...
/bin/sh ../libtool --tag=CC   --mode=link gcc -Wall -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -version-info 1:0:0  -o libxcb-atom.la -rpath /usr/lib64 libxcb_atom_la-atoms.lo -lxcb
...

Fedora guides suggests some way how to deal with RPATH for packagers, see https://fedoraproject.org/wiki/Packaging/Guidelines#Removing_Rpath

Debian guide suggest upstream "...to add the relocatable.m4 and lib-link.m4 macros (from the gettext source) might solve it", see http://wiki.debian.org/RpathIssue
Comment 1 Daniel Stone 2019-02-16 13:02:35 UTC
It's not really XCB's place to be trying to work around libtool. Alternate, better, build systems are available anyway.

(Plus, libtool relinks at install time to remove RPATH anyway, so it's only a transient build thing ...)


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.