Date: Tue, 4 Oct 2022 13:52:26 -0400 From: Ed Maste <emaste@freebsd.org> To: John Baldwin <jhb@freebsd.org> Cc: Ravi Pokala <rpokala@freebsd.org>, src-committers@freebsd.org, dev-commits-src-all@freebsd.org, dev-commits-src-main@freebsd.org Subject: Re: 5e4854cbf8d8 - main - rescue: Link libzutil after libzfs. Message-ID: <CAPyFy2BLOSBq1t3aSUpv8HAbXKSwX2vXG-5X__XzSbRN-yOanw@mail.gmail.com> In-Reply-To: <a0b5ba32-aae4-3f0f-e2a1-ad941752c2a7@FreeBSD.org> References: <202210032311.293NBKEd065568@gitrepo.freebsd.org> <1BB1F50E-C679-4570-8C7C-582B8C83CAD6@panasas.com> <a0b5ba32-aae4-3f0f-e2a1-ad941752c2a7@FreeBSD.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 4 Oct 2022 at 12:33, John Baldwin <jhb@freebsd.org> wrote: > > Yes, that's normally how that works (you link libc last, not first). lld is just > a bit different as it will look in earlier libraries to resolve symbols (backwards > references) not just forward references. ld.bfd only does forward references by > default. If anyone wants more info, the IMPLEMENTATION NOTES section in ld.lld(1) has a reasonably detailed description of lld's behaviour.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAPyFy2BLOSBq1t3aSUpv8HAbXKSwX2vXG-5X__XzSbRN-yOanw>