[lld] r262910 - ELF: Add /lib and /usr/lib as default search paths.

Joerg Sonnenberger via llvm-commits llvm-commits at lists.llvm.org
Tue Mar 8 22:33:45 PST 2016


On Tue, Mar 08, 2016 at 01:10:50PM -0800, Rui Ueyama via llvm-commits wrote:
> It is probably the same situation as --dynamic-linker? We expect that the
> compiler always passes the correct dynamic linker path through the option
> or we do not create .interp section.

I disagree. The compiler doing it is with --dynamic-linker kind of cargo cult,
because at some point linkers didn't have the correct choice, so they
started doing it and never really stopped. Given that packagers have
been training FOSS developers to not call the linker directly, it just
isn't that visible in general.

Joerg


More information about the llvm-commits mailing list