Re: Getting Citus into (Debian) PGDG

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: Getting Citus into (Debian) PGDG
Дата
Msg-id 20160427230516.44fuzdxlifch2wwp@alap3.anarazel.de
обсуждение исходный текст
Ответ на Re: Getting Citus into (Debian) PGDG  (Christoph Berg <myon@debian.org>)
Ответы relocation truncated to fit: citus build failure on s390x  (Christoph Berg <myon@debian.org>)
Список pgsql-pkg-debian
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


В списке pgsql-pkg-debian по дате отправления:

Предыдущее
От: Christoph Berg
Дата:
Сообщение: Re: Getting Citus into (Debian) PGDG
Следующее
От: Christoph Berg
Дата:
Сообщение: relocation truncated to fit: citus build failure on s390x