On Sat, Oct 27, 2018 at 01:01:10PM +0200, Mark Kettenis wrote: > > Correct. More recent GNU linkers behave the same way as lld, which is > why I think the change in behaviour is a good thing. > > It is possible to make ld.lld emit DT_RPATH by passing > -Wl,-disable-new-dtags. And if you pass -Wl,-enable-new-dtags, our > ld.bfd will emit DT_RUNPATH (although it will also emit DT_RPATH in > that case). Maybe we should revisit the defaults for ld.bfd on this.
As far as libtool is concerned, it won't care at all. Diagnosing the problem was the hard part.