[PATCH] D56288: [ELF] Do not enable 'new dtags' on NetBSD by default

Kamil Rytarowski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 7 06:18:51 PST 2019


krytarowski added a comment.

In D56288#1348148 <https://reviews.llvm.org/D56288#1348148>, @mgorny wrote:

> Ok, maybe I'm being silly but since clang driver has to pass `--enable-new-dtags` for GNU ld compatibility anyway, wouldn't it make sense to keep the default as disabled in order to match GNU ld behavior?


This would be the best especially in the context of philosophical issues of builtin knowledge in LLD and difficulty to resolve it.

Most Linux software doesn't need RPATH/RUNPATH as there is ld-config.. but it's completely the opposite on NetBSD where almost everything needs proper RPATH setting due to lack of Linux style ld-config.


Repository:
  rLLD LLVM Linker

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D56288/new/

https://reviews.llvm.org/D56288





More information about the cfe-commits mailing list