public inbox for [email protected]  
help / color / mirror / Atom feed
From: Tom Lane <[email protected]>
To: Николай Чадаев <[email protected]>
Cc: [email protected]
Subject: Re: PGXS on CentOS 7.6
Date: Tue, 09 Jun 2020 11:24:18 -0400
Message-ID: <[email protected]> (raw)
In-Reply-To: <[email protected]>
References: <[email protected]>

=?utf-8?B?0J3QuNC60L7Qu9Cw0Lkg0KfQsNC00LDQtdCy?= <[email protected]> writes:
PG>make PG_CONFIG=/usr/pgsql-12/bin/pg_config
. . . . . .
$>make PG_CONFIG=/usr/pgsql-12/bin/pg_config
/opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes -fno-strict-aliasing -fwrapv -O2 -I. -I./ -I/usr/pgsql-12/include/server -I/usr/pgsql-12/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/include -flto=thin -emit-llvm -c -o pg_hashids.bc pg_hashids.c
clang: error: unknown argument: '-flto=thin'

Hm.  I'm guessing that that version of clang is too old.  Are you
perhaps overriding the value of CLANG that our Makefile.global
tries to set?

			regards, tom lane





view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected], [email protected]
  Subject: Re: PGXS on CentOS 7.6
  In-Reply-To: <[email protected]>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox