Date: Thu, 18 Aug 2016 17:12:44 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: Diane Bruce <db@db.net> Cc: Tijl Coosemans <tijl@FreeBSD.org>, freebsd-toolchain@freebsd.org, Dimitry Andric <dim@FreeBSD.org>, freebsd-ports@freebsd.org, kargl@uw.edu Subject: Re: Problems with out libgcc_s.so in base Message-ID: <20160819001244.GA93672@troutmask.apl.washington.edu> In-Reply-To: <20160818235801.GA83722@night.db.net> References: <20160814230351.GA10587@troutmask.apl.washington.edu> <20160814233430.GA35872@night.db.net> <20160817211710.GA59205@troutmask.apl.washington.edu> <20160818111521.7f79b9f8@kalimero.tijl.coosemans.org> <AB844E50-01A9-4559-8F7A-FE1F7B768F3A@FreeBSD.org> <20160819011432.6f2eadbd@kalimero.tijl.coosemans.org> <20160818235049.GA93186@troutmask.apl.washington.edu> <20160818235801.GA83722@night.db.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 18, 2016 at 07:58:01PM -0400, Diane Bruce wrote: > On Thu, Aug 18, 2016 at 04:50:49PM -0700, Steve Kargl wrote: > > On Fri, Aug 19, 2016 at 01:14:32AM +0200, Tijl Coosemans wrote: > > > > > > > > For example, on one of my systems, I now have these: > > > > > .... > > entry: 5 > > d_tag: DT_RPATH > > d_val: /usr/local/lib/gcc6 > > > > I don't know how ELF or the ldd work, but shouldn't the DT_RPATH > > tell ldd to look for all of the above libraries in /usr/local/lib/gcc6 > > first. If a library isn't present, it would then look in ldconfig's > > hints file or fallback to /lib and /usr/lib/. But, I suppose we > > still run into issues as libgfortran.so.3 needs its companion libgcc_s.s.1 > > from DT_RPATH and libc.so.7 expects the one from /lib (or perhaps > > libcxxrt.so.1?). > > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=208120 > > Anything compiled with cmake infrastructure loses the DT_RPATH. > I know nothing about cmake, but it seems to be broken. :) -- Steve
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160819001244.GA93672>