Re: 5e4854cbf8d8 - main - rescue: Link libzutil after libzfs.
- In reply to: John Baldwin : "Re: 5e4854cbf8d8 - main - rescue: Link libzutil after libzfs."
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 04 Oct 2022 17:52:26 UTC
On Tue, 4 Oct 2022 at 12:33, John Baldwin <email@example.com> 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.