#1178 [master] Doc issue in file guidelines/modules/ROOT/pages/index.adoc - RPATH is deprecated
Opened 2 years ago by jankratochvil. Modified 2 years ago

DT_RPATH (RPATH) is deprecated in the favor of DT_RUNPATH (RUNPATH).
https://en.wikipedia.org/wiki/Rpath#The_role_of_GNU_ld
Fedora 36 even started to default to --enable-new-dtags which produces DT_RUNPATH (and no longer DT_RPATH): https://src.fedoraproject.org/rpms/binutils/c/616b9e8e44fff4d5c11ff86c813718c83ff968e3
The guidelines should be reworded that one should use DT_RUNPATH, never DT_RPATH.


Perhaps I'm just naive, but the current guidelines don't mention either DT_RPATH or DT_RUNPATH explicitly, so I'm not sure what needs to be reworded. Certainly we mention "rpath" and have a section about it: https://docs.fedoraproject.org/en-US/packaging-guidelines/#_beware_of_rpath
Maybe it's the grep in https://docs.fedoraproject.org/en-US/packaging-guidelines/#_rpath_for_internal_libraries that needs to change? Or are you suggesting the addition of a new section? If so, what would it say?

Login to comment on this ticket.

Metadata