Re: [PATCH] relocation truncated to fit: citus build failure on s390x

From: Robert Haas <robertmhaas(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Christoph Berg <myon(at)debian(dot)org>, Jason Petersen <jason(at)citusdata(dot)com>, pgsql-pkg-debian(at)postgresql(dot)org, PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: [PATCH] relocation truncated to fit: citus build failure on s390x
Date: 2017-05-30 20:56:22
Message-ID: CA+TgmoZ1z6Lpp0FZ_GZqXTs9J+wKfm17kixVC_4eCriwYgPb6Q@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-pkg-debian

On Tue, May 30, 2017 at 4:38 PM, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:
> It'd be interesting if people could gather similar numbers on other
> platforms of more real-world relevance, such as ppc64. But based on
> this small sample, I wouldn't object to just going to -fPIC across
> the board.

That seems pretty sensible to me. I think we should aim for a
configuration that works by default. If we use -fPIC where -fpic
would have been better, the result is that on some platforms there
might be a speed penalty, probably small. In the reverse situation,
the build fails. I believe that the average PostgreSQL extension
developer will prefer the first situation. If somebody has got an
extension which is small enough to use -fpic and that person cares
about minimizing the performance penalty on s390 or other platforms
where they have this problem, then they can arrange an override in the
opposite direction.

--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Ludovic Vaugeois-Pepin 2017-05-30 22:16:37 Fwd: pg_basebackup error: replication slot "pg_basebackup_2194" already exists
Previous Message Tom Lane 2017-05-30 20:49:59 Re: ECPG: pg_type.h file is not synced

Browse pgsql-pkg-debian by date

  From Date Subject
Next Message Christoph Berg 2017-05-31 09:43:38 Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x
Previous Message Tom Lane 2017-05-30 20:38:52 Re: [HACKERS] [PATCH] relocation truncated to fit: citus build failure on s390x