Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1da1xW-0002EK-9k for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Jul 2017 15:41:18 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1da1xV-0007K8-Qv for pgsql-hackers@arkaria.postgresql.org; Tue, 25 Jul 2017 15:41:17 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1da1vw-0001ql-Od for pgsql-hackers@postgresql.org; Tue, 25 Jul 2017 15:39:40 +0000 Received: from mail-qt0-x229.google.com ([2607:f8b0:400d:c0d::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1da1vu-0000GH-27 for pgsql-hackers@postgresql.org; Tue, 25 Jul 2017 15:39:39 +0000 Received: by mail-qt0-x229.google.com with SMTP id p3so28649541qtg.2 for ; Tue, 25 Jul 2017 08:39:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=from:subject:to:cc:references:message-id:date:user-agent :mime-version:in-reply-to:content-transfer-encoding:content-language; bh=kM3xXdYhTEcuIMj5S4D9YfEspdvsneTmcS3xs7OBKVA=; b=RrB1a5WCMqpOmZLlBg8Ww2WH9pl8fjyRZRDGOVi51EX7CQ5ZBAximzseYm5lLC+2H7 O6oZsgChCoWUc92v8huRQd+2xUCd0m0lr8a9IdNnCglsQHrigPHQud9m1obpYIRyesap doHy7L6t4FUhEO337j/7UsKla9ytIuc3OrIb5mWhN+L7nS2CFnE7wWLSqt3YlteZjeLP 8EJcd9biYKsHb9VhjizDjR3x6kgdd1TXhD8OU9xBu+0aScRsTKDGWAdd7BXSV8kj+Zh2 eqDc/KFgBl9yBOa71yvmXahKk3zDP0LD1QQLbgCzat1Akt6ypCAuAP6trimsPPjvi23i 7cyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:subject:to:cc:references:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=kM3xXdYhTEcuIMj5S4D9YfEspdvsneTmcS3xs7OBKVA=; b=AMW50xOhPc3M7WnZtxlN1HHY0z0wfrMWN2wur1yFkyF1TRADRy7KAfjsxJDdwCcDhi LAR8/Vbg4Mck5BMlT8kRXMINQ0PgD1DnZiaQbTTslaOoceM7hb8M1mftu/w83kbfTXZ8 gcugjtGMsKySt8FLnUjy70fW0zr69QGwipsU9i+/0u5153THiL9D30JIGuYgiwm5c3aa FX7zmIte6VqkYX6inPUjX9xsuS+ILmUNBsco5H9scqmO8XizuNv/eB8L2+lmbAQ+u5a6 5La1wAfx5t3MjrfW7kutBWAU0DAjeitSH+ZylYJcFgF7T4ZmxIWVLABCw65agkA8IMUL A0MA== X-Gm-Message-State: AIVw110bUShS+sFwrhpBGzrRJOQalk8lcRfANTIcDcGo5azoA5HETnd/ YGSjdVSneh3TD9fFwllcDEqZjnmOqR08Fkt3tEn+D5amKW/VHn+aAYoDRqdSOL+TjlliHSsc+RA 1sAM2XmdIy2HHfN5HYvzPEshtVhc7CbHgIbvogtUqcksOnY2TMnhytrg/9m2Xr1BOGUPYtJ3y/2 xx9EzL X-Received: by 10.200.9.27 with SMTP id t27mr25095735qth.107.1500997176395; Tue, 25 Jul 2017 08:39:36 -0700 (PDT) Received: from [192.168.10.146] ([98.122.175.38]) by smtp.gmail.com with ESMTPSA id t57sm10522064qtt.18.2017.07.25.08.39.35 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 25 Jul 2017 08:39:35 -0700 (PDT) From: Andrew Dunstan X-Google-Original-From: Andrew Dunstan Subject: Re: pl/perl extension fails on Windows To: Tom Lane , Robert Haas Cc: Ashutosh Sharma , Dave Page , Sandeep Thakkar , "pgsql-hackers@postgresql.org" References: <4569.1499873707@sss.pgh.pa.us> <6063dd4c-cd1e-d9d8-fa0d-3bddb1403c66@2ndQuadrant.com> <184f1fb9-dfa2-ef2d-024b-7933486e018a@2ndQuadrant.com> <16093.1499956602@sss.pgh.pa.us> <7480.1499965218@sss.pgh.pa.us> <30585.1500480763@sss.pgh.pa.us> <32468.1500498091@sss.pgh.pa.us> <6805.1500994804@sss.pgh.pa.us> <8530.1500996723@sss.pgh.pa.us> Message-ID: <148f10a8-8aed-1a09-cb00-1d871612dadf@2ndQuadrant.com> Date: Tue, 25 Jul 2017 11:39:35 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 In-Reply-To: <8530.1500996723@sss.pgh.pa.us> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-MW List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On 07/25/2017 11:32 AM, Tom Lane wrote: > Robert Haas writes: >> On Tue, Jul 25, 2017 at 11:00 AM, Tom Lane wrote: >>> Hm, I had the idea that we were already asking ExtUtils::Embed for that, >>> but now I see we only inquire about LDFLAGS not CCFLAGS. Yes, this sounds >>> like a promising avenue to pursue. >>> >>> It would be useful to see the results of >>> perl -MExtUtils::Embed -e ccopts >>> on one of the affected installations, and compare that to the problematic >>> field(s). >> Why ccopts rather than ccflags? > I was looking at the current code which fetches ldopts, and analogizing. > Don't know the difference between ccflags and ccopts. > > per docs: ccopts() This function combines "perl_inc()", "ccflags()" and "ccdlflags()" into one. cheers andrew -- Andrew Dunstan https://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers