Date: Fri, 18 Mar 2016 13:09:47 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 208120] cmake strips necessary rpath when installing any gnu compiler from ports Message-ID: <bug-208120-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D208120 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@FreeBSD.org Reporter: db@FreeBSD.org Created attachment 168368 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D168368&action= =3Dedit 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} Th= is result in a failure at run time since our base libgcc_s is not compatible w= ith gfortran's version. After back and forth email/IRC discussion with groot@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 sinc= e=20 they also should be using ${LOCALBASE} libgcc_s.so not base libgcc_s.so An exp run is suggested with this change. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-208120-13>