Re: Compile failures today

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Andres Freund <andres(at)anarazel(dot)de>, Peter Geoghegan <pg(at)bowt(dot)ie>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>, PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Compile failures today
Date: 2018-08-24 22:50:10
Message-ID: 20180824225010.GA20306@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On Fri, Aug 24, 2018 at 06:41:07PM -0400, Tom Lane wrote:
> Andres Freund <andres(at)anarazel(dot)de> writes:
> > On 2018-08-24 18:21:48 -0400, Bruce Momjian wrote:
> >> Since no one else was seeing this problem, I started digging, and I have
> >> found it. I narrowed it to down to this line in Makefile.custom
> >> CC=ccache gcc
>
> > Yea, that's a bad idea. You should instead pass CC='ccache gcc' to
> > configure, rather than doing it Makefile.custom.
>
> Indeed. This way is overriding the CC setting configure chose, which
> means that none of configure's determinations of compiler properties
> (or much else, perhaps) are really valid.

You are right that "CC='ccache gcc' configure" worked properly. Thanks.

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://enterprisedb.com

+ As you are, so once was I. As I am, so you will be. +
+ Ancient Roman grave inscription +

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Alexander Kukushkin 2018-08-25 07:54:39 Re: BUG #15346: Replica fails to start after the crash
Previous Message Tom Lane 2018-08-24 22:41:07 Re: Compile failures today