Wietse Venema: > Viktor Dukhovni: > > On Wed, Jul 09, 2014 at 09:05:08PM -0400, Wietse Venema wrote: > > > > > > Thanks. What do you want to do about "-Wl,--enable-new-dtags"? I > > > > > > I have no idea how portable that is even if only within LINUX.
As one data point, I just built and installed Postfix with "new" dtags on a pretty-old test VM that has no prior Postfix shared libraries. This VM is reset after each use. Linux c4eb.porcupine.org 2.4.21-27.0.4.EL #1 Sat Apr 16 19:00:33 EDT 2005 i686 i686 i386 GNU/Linux Both the build and installation completed without error. To demonstrate that this system supports the "new" dtags: $ readelf -d bin/sendmail Dynamic segment at offset 0x42a4 contains 28 entries: Tag Type Name/Value 0x00000001 (NEEDED) Shared library: [libpostfix-global.so] ... 0x0000000f (RPATH) Library rpath: [/tmp/usr/libexec/postfix] 0x0000001d (RUNPATH) Library runpath: [/tmp/usr/libexec/postfix] ... Conclusion: the odds that "new" dtags will break the build are becoming astronomically-small. (Side note: this show the silliness of using "new" in a feature name. After 10 years or so it can hardly be called new.) Wietse