On Tue, 06 Dec 2016, Jonas Smedegaard wrote: > Excerpts from Raphaël Hertzog's message of December 6, 2016 3:25 pm: > > I have the feeling that this is all related to the "-Wl,-z,now" flag but I > > don't know what > > is injecting this flag here... > > Seems to come from LDFLAGS setting of /usr/lib/postgresql/9.6/bin/pg_config > in package > postgresql-server-dev-9.6. > > Is that a bug in that postgreql package?
Maybe. It's certainly not a required flag to make the build succeed... so it could be dropped there but if it was added in the first place, it's for a purpose (hardening I guess). Maybe it was not envisioned that the library could be linked to plugins that would depend on other unavailable external symbols. Or maybe it's your responsibility to drop it because you know that you are building a plugin where this option is not usable. Ccing Christoph Berg to have his opinion. Cheers, -- Raphaël Hertzog ◈ Debian Developer Support Debian LTS: http://www.freexian.com/services/debian-lts.html Learn to master Debian: http://debian-handbook.info/get/