https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66848
--- Comment #30 from Jack Howarth <howarth.at.gcc at gmail dot com> --- (In reply to Iain Sandoe from comment #29) > (In reply to Jack Howarth from comment #28) > > (In reply to r...@cebitec.uni-bielefeld.de from comment #27) > > > > --- Comment #25 from Jack Howarth <howarth.at.gcc at gmail dot com> --- > > > Iain suggested that the required changes for supporting SIP will be along > > the lines of... > > > > a) make all libs @rpath/xxx > > b) add @loader_path as an rpath to all libs with a local dep. > > c) add @executable_path/../lib; <path/to/current/install/dir/>../lib as > > rpaths to exes. > > I have a draft for a patch to do this - will try and stick it somewhere > useful soon. It certainly would be worthwhile getting some level of support for SIP in gcc 6 as we really don't want to encourage users to disable that feature.