Re: Getting Citus into (Debian) PGDG
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Christoph Berg <myon@debian.org>, Jason Petersen <jason@citusdata.com>, pgsql-pkg-debian@postgresql.org
Date: 2016-04-27T23:05:16Z
Lists: pgsql-hackers
On 2016-04-26 17:32:35 +0200, Christoph Berg wrote: > 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. Afaics, that's citus independent, and coming from postgres code. Makefile.port: ifeq "$(findstring sparc,$(host_cpu))" "sparc" CFLAGS_SL = -fPIC else CFLAGS_SL = -fpic endif I'm not clear why citus triggers this, when other extensions don't? Andres
Commits
-
Always use -fPIC, not -fpic, when building shared libraries with gcc.
- cee7238de58f 9.3.18 landed
- a378b9bc287d 9.2.22 landed
- 8d9b4fe01b5e 9.6.4 landed
- 894ce0e97ab1 9.4.13 landed
- 68938ab8ea0e 9.5.8 landed
- e9a3c047a5fc 10.0 landed