[PATCH] [GNU] Implement --enable-new-dtags/--disable-new-dtags

Baptiste Daroussin bapt at freebsd.org
Mon Apr 6 10:32:07 PDT 2015


It is actually a very popular option, it is mostly hidden because for example:

- clang for instance is always passing --enable-new-dtags by default.
- Gentoo activates it by default https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo/src/patchsets/binutils/2.25/76_all_use-new-ld-dtags.patch?diff_format=s&view=log&pathrev=HEAD

--new-enable-dtags has been made to workaround an issue

- Dragonfly BSD is another example: http://gitweb.dragonflybsd.org/dragonfly.git/commit/0d2ea3af92127a10961ca1d0332ec09bb20d5703

this option has been made to allow to workaround issues with DT_RPATH by allowing to make it respect LD_LIBRARY_PATH useful for example for inplace regression test in build system


REPOSITORY
  rL LLVM

http://reviews.llvm.org/D8836

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the llvm-commits mailing list