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 1ojtjK-0002Os-5u for pgsql-hackers@arkaria.postgresql.org; Sun, 16 Oct 2022 02:50:22 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1ojtjI-0002S3-G5 for pgsql-hackers@arkaria.postgresql.org; Sun, 16 Oct 2022 02:50:20 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojtjI-0002Rs-6m for pgsql-hackers@lists.postgresql.org; Sun, 16 Oct 2022 02:50:20 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ojtjA-0007fo-SN for pgsql-hackers@postgresql.org; Sun, 16 Oct 2022 02:50:18 +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 29G2o74b1628800; Sat, 15 Oct 2022 22:50:07 -0400 From: Tom Lane To: Andres Freund cc: Peter Eisentraut , Laurenz Albe , pgsql-hackers@postgresql.org Subject: Re: Use -fvisibility=hidden for shared libraries In-reply-to: <20221016020808.uhpam73aonfago2r@awork3.anarazel.de> References: <20211101054700.z3jzmc5lnxlad4y7@alap3.anarazel.de> <2499085.1641859296@sss.pgh.pa.us> <20220111025328.iq5g6uck53j5qtin@alap3.anarazel.de> <5b8d48a4-2fee-6764-7eda-a076f544ea33@enterprisedb.com> <20220716201750.qq6xwegkgp7xqi5w@awork3.anarazel.de> <180138.1658084088@sss.pgh.pa.us> <20220718070516.z4suhhdomktmrenb@awork3.anarazel.de> <20220718220938.5yx7if2mru3rd6jc@awork3.anarazel.de> <3022536.1658944948@sss.pgh.pa.us> <20220901211935.k6v7mt3mjhnfbhnr@awork3.anarazel.de> <20221016020808.uhpam73aonfago2r@awork3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Sat, 15 Oct 2022 19:08:08 -0700" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <1628798.1665888607.1@sss.pgh.pa.us> Date: Sat, 15 Oct 2022 22:50:07 -0400 Message-ID: <1628799.1665888607@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk Andres Freund writes: > I guess we should report the CFLAGS_SL_MODULE etc via pg_config? Dunno ... where do you stop? I'm not really convinced that extensions that don't want to use PGXS have any claim on our buildsystem to provide platform-specific configuration details for them. regards, tom lane