Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jig6y-0001OT-5X for pgsql-novice@arkaria.postgresql.org; Tue, 09 Jun 2020 15:24:24 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1jig6x-0003lf-2d for pgsql-novice@arkaria.postgresql.org; Tue, 09 Jun 2020 15:24:23 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jig6w-0003lY-Si for pgsql-novice@lists.postgresql.org; Tue, 09 Jun 2020 15:24:22 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jig6u-0006uw-Nq for pgsql-novice@lists.postgresql.org; Tue, 09 Jun 2020 15:24:21 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.15.2/8.15.2) with ESMTP id 059FOIjc2211018; Tue, 9 Jun 2020 11:24:19 -0400 From: Tom Lane To: =?utf-8?B?0J3QuNC60L7Qu9Cw0Lkg0KfQsNC00LDQtdCy?= cc: pgsql-novice@lists.postgresql.org Subject: Re: PGXS on CentOS 7.6 In-reply-to: <619711591691985@mail.yandex.ru> References: <619711591691985@mail.yandex.ru> Comments: In-reply-to =?utf-8?B?0J3QuNC60L7Qu9Cw0Lkg0KfQsNC00LDQtdCy?= message dated "Tue, 09 Jun 2020 11:41:35 +0300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <2211016.1591716258.1@sss.pgh.pa.us> Content-Transfer-Encoding: quoted-printable Date: Tue, 09 Jun 2020 11:24:18 -0400 Message-ID: <2211017.1591716258@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk =3D?utf-8?B?0J3QuNC60L7Qu9Cw0Lkg0KfQsNC00LDQtdCy?=3D = writes: PG>make PG_CONFIG=3D/usr/pgsql-12/bin/pg_config . . . . . . $>make PG_CONFIG=3D/usr/pgsql-12/bin/pg_config /opt/rh/llvm-toolset-7/root/usr/bin/clang -Wno-ignored-attributes -fno-str= ict-aliasing -fwrapv -O2 -I. -I./ -I/usr/pgsql-12/include/server -I/usr/pg= sql-12/include/internal -D_GNU_SOURCE -I/usr/include/libxml2 -I/usr/includ= e -flto=3Dthin -emit-llvm -c -o pg_hashids.bc pg_hashids.c clang: error: unknown argument: '-flto=3Dthin' 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