[cmake-developers] [CMake 0012173]: runpaths incorrect on IRIX
Mantis Bug Tracker
mantis at public.kitware.com
Mon May 9 23:15:24 EDT 2011
The following issue has been SUBMITTED.
======================================================================
http://public.kitware.com/Bug/view.php?id=12173
======================================================================
Reported By: Peter O'Gorman (The Written Word, Inc.)
Assigned To:
======================================================================
Project: CMake
Issue ID: 12173
Category: CMake
Reproducibility: always
Severity: major
Priority: normal
Status: new
======================================================================
Date Submitted: 2011-05-09 23:15 EDT
Last Modified: 2011-05-09 23:15 EDT
======================================================================
Summary: runpaths incorrect on IRIX
Description:
cmake relinks on this platform to get correct RPATHS, unfortunately, for
libproxy for example, it relinks libmodman, puts the output in CMakeRelink.dir
and then relinks libproxy using the relative path to the original libmodman.so,
so the original libmodman.so's runpaths get added to the output.
The IRIX ld manpage says:
Note that the DT_RPATHs of any dependent DSOs are implicitly
included in the DT_RPATH of the executable or DSO being
created and that any library paths added with -rpath are
appended to this initial list.
Relinking to the relinked libraries would solve the issue.
Additional Information:
This is the hack that we used to workaround the issue. It copies the relinked
libraries to replace the originals.
======================================================================
Issue History
Date Modified Username Field Change
======================================================================
2011-05-09 23:15 Peter O'Gorman (The Written Word, Inc.)New Issue
2011-05-09 23:15 Peter O'Gorman (The Written Word, Inc.)File Added:
cmake.irix.patch
======================================================================
More information about the cmake-developers
mailing list