[Pkg-postgresql-public] Bug#687208: Bug#687208: postgresql-9.1: pg_config --cflags includes -pie

Julian Taylor jtaylor.debian at googlemail.com
Thu Sep 13 23:09:59 UTC 2012


On 09/11/2012 06:12 AM, Martin Pitt wrote:
> tag 687208 wontfix
> thanks
> 
> Hello Julian,
> 
> Julian Taylor [2012-09-10 22:34 +0200]:
>> Package: postgresql-9.1
>> Version: 9.1.5-2
>> Severity: serious
>> Justification: breaks packages in wheezy
>>
>> pg_config --cflags in in 9.1.5-2 includes the -pie flag.
> 
> Yes, quite deliberately -- PIE was accidentally dropped in 9.1.3-2,
> but now re-enabled.
> 
>> This flag causes issues in packages using pg_config to build libraries
>> and due to performance issues it may also be unwanted in non-library builds.
> 
> Err, that's wrong I'm afraid. pg_config is not pkg-config, you are not
> supposed to use pg_config --cflags for building libraries. It's ok to
> use it to build server-side extensions.

thanks for the detailed reply, the documentation is quite clear sorry I
didn't read it properly before hand.

uwsgi has been fixed in unstable, please coordinate potential moves to
wheezy with the uwsgi maintainer to avoid unnecessary breakage.



More information about the Pkg-postgresql-public mailing list