Overview
Request 924666 revoked
- Unset SUSE_IGNORED_RPATHS to avoid a build failure caused by one
of the binutils patches (boo#1191473).
- Created by cgiboudeaux
- In state revoked
Loading...
Request History
cgiboudeaux created request
- Unset SUSE_IGNORED_RPATHS to avoid a build failure caused by one
of the binutils patches (boo#1191473).
StefanBruens declined request
Hopefully obsolete by the bugfix for binutils:
https://build.opensuse.org/request/show/928530
cgiboudeaux revoked request
The source project 'home:cgiboudeaux:branches:science' has been removed
Having read the bug report, it seems to me that setting
CMAKE_SKIP_INSTALL_RPATH=ON
during the configure stage should do it as well, and would perhaps be more preferable than unsettingSUSE_IGNORED_RPATHS
. Am I wrong?Sorry for the delayed review btw.
Enabling
CMAKE_SKIP_INSTALL_RPATH
would be a workaround for the issue introduced by binutils (and wrongly reassigned to the cmake maintainer)On the other hand, it has the effect of omitting any unwanted entries from RUNPATH.
IMHO both sides (CMake and binutils) need some improvement:
(1) this could be initialized with SUSE_IGNORED_RPATHS, but may be amended in specific cases with entries from e.g. /etc/ld.so.conf.d/*. This would avoid the need to fixup RPATH for system dirs (CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES), see https://gitlab.kitware.com/cmake/community/-/wikis/doc/cmake/RPATH-handling#always-full-rpath
@Dmitry_R, @Mailaender, @StefanBruens, @TheBlackCat, @adrianSuSE, @anag, @badshah400, @cjunghans, @dstoecker, @eeich, @kwk, @lrupp, @mslacken, @openfoam, @psmt: review reminder