Am 04.02.2015 um 03:31 schrieb Peter:
On 02/04/2015 02:47 PM, Viktor Dukhovni wrote:
It may be tricky, Postfix applies "AUXLIBS" when building both the
final executables, and the shared libraries, but it seems that
"-pie" is not appropriate for shared libraries.  Additinal "makedefs"
and Makefile.in logic would be required to create linker flags that
apply to the executables only.

Well for now, then I'll just have to remove -pie, but if I can get that
in as a feature request to make -pie work with shared=yes, then I would
really appreciate it.  Not sure if it should be considered a blocker for
3.0.0 or not, though, maybe it could be considered a bugfix to go into
3.0.1?

looks like you don't realize the difference between PIC and PIE

PIE = position independent EXECUTABLE
PIC = position independent CODE

shared libraries (at least on x86_64) are always PIC
see the difference between a .so and a executeable below

Full RELRO Canary found NX enabled DSO No RPATH No RUNPATH /usr/lib64/mysql/libmysqlclient.so.18.0.0

Full RELRO Canary found NX enabled PIE enabled No RPATH No RUNPATH /usr/libexec/mysqld

Reply via email to