delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2021/12/28/10:17:22

X-Recipient: archive-cygwin AT delorie DOT com
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org ED8CD3858C60
Authentication-Results: sourceware.org;
dmarc=pass (p=none dis=none) header.from=gmail.com
Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112;
h=message-id:date:mime-version:user-agent:subject:content-language
:from:to:references:in-reply-to:content-transfer-encoding;
bh=vlYW+0hd+pyiGP5PmUn5A3ry7DI7JJXqy9FlMOdokiA=;
b=jO9CjQHRr+Uj2ftTx/SEX0SAAC/RtsYzld2z27iRfWgCEyYuczKvODZid0aOyyttwz
UIoRc9AnivKfoz8l6ZVTd83cOoJOwpPVkSCBTncG3AS1BWaFlOfBH9yNNJ8diyDORqPn
RzwqS6Wct7sEOY65GDAMM3Nqp4Q4KmFm1ysL5D1Q1j8QFGp1ShYE2KmJY+M0wygPr/Pu
AkPSayiwBLV0xuMUxFiPl/7Jv7A2JulRT+AOjWq913Pi3PSHtCngw/Hfhw8xvYNpGtq+
iWFgNbRNx6X+kO6fgED9/+BLP/nGgveLaADrTLO4Vy7hgnZ5w0sR35lkDHbbp7ylwfCf
IyFQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20210112;
h=x-gm-message-state:message-id:date:mime-version:user-agent:subject
:content-language:from:to:references:in-reply-to
:content-transfer-encoding;
bh=vlYW+0hd+pyiGP5PmUn5A3ry7DI7JJXqy9FlMOdokiA=;
b=uFbEDLe14zR75hVqkVbZckLCB21CY87a44VddEYTkGg7rUbtebIPkJJW3coAMMToOl
0TYHtOZh7QBl4UobfkjT0zALTvPBnq+re3zv7ksaw11gT68Xe2b7fSFQTWtnAqgejYDI
ipW9qX2hUaWY2wTdluxPWthDYhYkIzAJ3+GrNLwPhpKZI5h5BHYUy70suGmUorwcK1k4
9BkC3YbbJJHZkebEQkE4VWuBhBrObHcLsTq3XjUerBdlS33rFnB1m8506cwTc1octhef
sxpJuYXKXIQ9lWSitwF1MT/aDiyRKxHOQ659PpC1I3oWC1w8pOMpgPlbmzDCVdF3jX+M
scqw==
X-Gm-Message-State: AOAM531IuVEUOzQi4DYEBheo6BNTJGzG8QFLjI8GvVRAs8hVq8e4dqeH
i8lEsFk3W9iuKU09y1rp5uzRqhhHyvbG95Si
X-Google-Smtp-Source: ABdhPJz64H4q2sO8k5uvp3eqcEtc3vkNf4OlAL49Ykh3B4tFsmRIIJCqvhLTdFxRgUDhNCCq8h1sZw==
X-Received: by 2002:a05:6402:6cd:: with SMTP id
n13mr21217506edy.248.1640704602966;
Tue, 28 Dec 2021 07:16:42 -0800 (PST)
Message-ID: <9bd5689c-005d-9f06-6131-c5e2e3172667@gmail.com>
Date: Tue, 28 Dec 2021 16:16:41 +0100
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:91.0) Gecko/20100101
Thunderbird/91.4.1
Subject: Re: python 3.9 package leaks CFLAGS into user packages via sysconfig
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
To: cygwin AT cygwin DOT com
References: <CAJ_wo5gZp2ChiNWokn3vryB1Dzwrs-4sJQwm-28r1Ym_m5mH_A AT mail DOT gmail DOT com>
<c35be882-155c-fab6-5a75-b0ef27cbbe0c AT gmail DOT com>
In-Reply-To: <c35be882-155c-fab6-5a75-b0ef27cbbe0c@gmail.com>
X-Spam-Status: No, score=-3.1 required=5.0 tests=BAYES_00, DKIM_SIGNED,
DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A,
RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS,
TXREP autolearn=ham autolearn_force=no version=3.4.4
X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on
server2.sourceware.org
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
Sender: "Cygwin" <cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com>

On 28.12.2021 03:19, Marco Atzeri wrote:
> On 28.12.2021 02:27, Matthias Koeppe wrote:
>> $ python3.9 -m sysconfig | grep CFLAGS

Hi Matthias,

can you please verify the test package

python39-3.9.9-3 (not the -2)

$ python3.9 -m sysconfig | grep CFLAGS
         BASECFLAGS = "-Wno-unused-result -Wsign-compare"
         CFLAGS = "-Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv 
-O3 -Wall"
         CFLAGSFORSHARED = ""
         CFLAGS_ALIASING = ""
         CONFIGURE_CFLAGS = ""
         CONFIGURE_CFLAGS_NODIST = "-ggdb -O2 -pipe -Wall 
-Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector-strong 
--param=ssp-buffer-size=4 
-fdebug-prefix-map=/pub/devel/python/python39/python39-3.9.9-3.x86_64/build=/usr/src/debug/python39-3.9.9-3 
-fdebug-prefix-map=/pub/devel/python/python39/python39-3.9.9-3.x86_64/src/Python-3.9.9=/usr/src/debug/python39-3.9.9-3 
-DOPENSSL_NO_SSL3=1 -I/usr/include/uuid/ -std=c99 -Wextra 
-Wno-unused-result -Wno-unused-parameter -Wno-missing-field-initializers 
-Werror=implicit-function-declaration -fvisibility=hidden"
....

Regards
Marco

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019