Re: Getting Citus into (Debian) PGDG

Christoph Berg <myon@debian.org>

From: Christoph Berg <myon@debian.org>
To: Jason Petersen <jason@citusdata.com>, pgsql-pkg-debian@postgresql.org
Date: 2016-04-26T15:32:35Z
Lists: pgsql-hackers
Re: To Jason Petersen 2016-04-26 <20160426151339.GF12563@msg.df7cb.de>
> I've had that problem before, but forgot most of it. I think the
> problem is that "-fPIC -pie  -fpic" isn't consistent and should
> probably be "-fPIC -PIE", but I might be totally wrong. (I'll try to
> dig up some docs.)

Just talked to a s390x porter, the flags used should be -fPIC -pie",
i.e. without the lower case version.

Christoph


Commits

  1. Always use -fPIC, not -fpic, when building shared libraries with gcc.