[Bug 208120] cmake strips necessary rpath when installing any gnu compiler from ports
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Mar 18 13:09:47 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120
Bug ID: 208120
Summary: cmake strips necessary rpath when installing any gnu
compiler from ports
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: db at FreeBSD.org
Created attachment 168368
--> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=168368&action=edit
Fix for RPATH bug with gfortran
Cmake strips local RPATH as it installs, this also strips the needed RPATH for
gfortran and gcc (non base gcc). Symptoms in the fortran case is it tries to
use the base /lib/libgcc_s.so instead of ${LOCALBASE}/lib/gcc${_GCC_VER} This
result in a failure at run time since our base libgcc_s is not compatible with
gfortran's version.
After back and forth email/IRC discussion with groot at kde.org Adriaan came
up with this final suggested patch to cmake-modules.
N.B. The same bug using gcc g++ from ports has not been addressed here since
they also should be using ${LOCALBASE} libgcc_s.so not base libgcc_s.so
An exp run is suggested with this change.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list