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 1oQ8T9-0004c3-Iy for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Aug 2022 14:31:59 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oQ8T8-0008Ce-77 for pgsql-hackers@arkaria.postgresql.org; Mon, 22 Aug 2022 14:31:58 +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 1oQ8T7-0008CP-T1 for pgsql-hackers@lists.postgresql.org; Mon, 22 Aug 2022 14:31:57 +0000 Received: from out2-smtp.messagingengine.com ([66.111.4.26]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oQ8T5-0003H6-Hg for pgsql-hackers@postgresql.org; Mon, 22 Aug 2022 14:31:56 +0000 Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailout.nyi.internal (Postfix) with ESMTP id E0D345C00E1; Mon, 22 Aug 2022 10:31:54 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Mon, 22 Aug 2022 10:31:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1661178714; x= 1661265114; bh=5XBRaThuAH6LiGTHgEz/0haIr2894lQieh94WIyI7RI=; b=v k62F0dRww8TcDq4d//hr+W37/PzfgVsQ1Z/L3x1oGbQMJ+vTRFOYLOB8K8xiaopL oFXOWylaVADoBDaeFZ25XEGY0RN5IMOaLukjLHf6rXnf+o1VVzHFsbIlUib0sa9A +glRaIWE/ulRt9/wIzmiUs/YNPtTHw3DpwaD5q1Q6xYRCjtrkkvf6I6G+fHaASl4 PYE0m5S/xtHQ+y0F1hTTxaObtGzMaCdtaQGSduMAOes8JWX2aGTHntiNVeZkeUCI 4UpVBEPl+Oc3WAve6obOCcDl3uAMGGNO4jsI9JCVfbaOSe+U9yFUwcYqbGaBJ1Qi 8P237HsK0TVUOx/oZqtuw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvfedrvdeijedgjeejucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpefrvght vghrucfgihhsvghnthhrrghuthcuoehpvghtvghrrdgvihhsvghnthhrrghuthesvghnth gvrhhprhhishgvuggsrdgtohhmqeenucggtffrrghtthgvrhhnpeehleffgeegudejteei hfelteduvdeifffhffdvjedvffegjeekudeludehudeifeenucevlhhushhtvghrufhiii gvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehpvghtvghrrdgvihhsvghnthhrrghu thesvghnthgvrhhprhhishgvuggsrdgtohhm X-ME-Proxy: Feedback-ID: i131946ab:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 22 Aug 2022 10:31:53 -0400 (EDT) Message-ID: Date: Mon, 22 Aug 2022 16:31:53 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:91.0) Gecko/20100101 Thunderbird/91.12.0 Subject: Re: Strip -mmacosx-version-min options from plperl build Content-Language: en-US To: Andres Freund , Tom Lane Cc: pgsql-hackers References: <8c4fcb72-2574-ff7c-4c25-1f032d4a2a57@enterprisedb.com> <2369869.1660830828@sss.pgh.pa.us> <9518842c-6844-0c99-85ec-ec43fba3115f@enterprisedb.com> <3050653.1660917635@sss.pgh.pa.us> <20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de> From: Peter Eisentraut In-Reply-To: <20220820204401.vrf5kejih6jofvqb@awork3.anarazel.de> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On 20.08.22 22:44, Andres Freund wrote: > Maybe a daft question: Why do want any of the -l flags other than -lperl? With > the patch configure spits out the following on my debian system: > > checking for CFLAGS to compile embedded Perl... -DDEBIAN > checking for flags to link embedded Perl... -L/usr/lib/x86_64-linux-gnu/perl/5.34/CORE -lperl -ldl -lm -lpthread -lc -lcrypt > > those libraries were likely relevant to build libperl, but don't look relevant > for linking to it dynamically. Statically would be a different story, but we > already insist on a shared build. Looking inside the ExtUtils::Embed source code, I wonder if there are some installations that have things like -lperl538 or something like that that it wants to deal with.