From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62a.google.com (mail-ej1-x62a.google.com [IPv6:2a00:1450:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id 5576F3851C39 for ; Fri, 5 Mar 2021 08:09:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 5576F3851C39 Received: by mail-ej1-x62a.google.com with SMTP id mj10so1709268ejb.5 for ; Fri, 05 Mar 2021 00:09:10 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:from:to:references:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cpdSVLW1YDrYJz2V/ki2EhT3MQ0+uLeZ/7FazEJCTZw=; b=CFNbuaJAd4Si79joOGKSRGWCYzw3zfXC+7iI1vQTjd0aBQaZiiP+2cTK+x7GR/Hzri jkJRP4zoIctK0GwlDOUCNE2Uu8eZXV8VfkAHE1lfmSIwK011gGZcjqGw9eKsgBKEhCPr afMxAvCcEtz/4G6K+iAO8Xc0jauSDRsGkvdQObtAriGZM7j1xlzqSGBxJCjdoetmHj5j 3NXREfSQA6lcPySQefzGR6M0wEgA/GcGQ6GDO6NauFfvqb+7k0YrsMSVQANEgBhDWiBO S7xrNeoTS0LkBLp/r+mnqd94HUziLBCATWPFf/4nBmPupKh6U4PS1/GTy91+NmIdPNp/ XItg== X-Gm-Message-State: AOAM533HJQNAVa/G7U+5pqvCdXfOYIUGlKHBLgwmdCifGppASKYnpF9u EoNHhF2zyF+qjfjdOepd8o1YRYjE7JUKpA== X-Google-Smtp-Source: ABdhPJwZ06MHgS7kIkZ3kqbJRJi5m4vIk+czr2ZNndH5FD4fM1aTjWaIHeTL/lPdcb0bb/YwWrsDCQ== X-Received: by 2002:a17:906:5689:: with SMTP id am9mr1189696ejc.298.1614931748989; Fri, 05 Mar 2021 00:09:08 -0800 (PST) Received: from [192.168.2.121] (pd9ed5ff5.dip0.t-ipconnect.de. [217.237.95.245]) by smtp.gmail.com with ESMTPSA id h22sm1015507eji.80.2021.03.05.00.09.08 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 05 Mar 2021 00:09:08 -0800 (PST) Subject: Re: segfault on 32bit cygwin snapshot From: Marco Atzeri To: cygwin@cygwin.com References: <9d7b9dc2-cb92-498b-7655-e9c618114c87@gmail.com> <20210221072954.db2dcbd523ed366e4dfcb0d0@nifty.ne.jp> <7480c946-8e02-aba2-c06f-6b39f630699f@gmail.com> <20210301095546.dce31a474bd0cec2c3518f87@nifty.ne.jp> <20210301212542.8b1749f92af62c01b008f25a@nifty.ne.jp> <20210302200308.62db4fe01f78fb35a538784f@nifty.ne.jp> <20210303185621.b048287526901af6a4c8200a@nifty.ne.jp> <20210304180534.7c3825e6ee989a2bf62f0652@nifty.ne.jp> <20210304205000.4ac34afe1a8b767ea2986291@nifty.ne.jp> <98df59b3-a139-03d2-c8c5-31ff4f8448ab@gmail.com> Message-ID: <625cb9d2-b6cc-3ada-eea9-44a5e73da17c@gmail.com> Date: Fri, 5 Mar 2021 09:09:07 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.8.0 MIME-Version: 1.0 In-Reply-To: <98df59b3-a139-03d2-c8c5-31ff4f8448ab@gmail.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: it Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.6 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.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: cygwin@cygwin.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Mar 2021 08:09:11 -0000 On 04.03.2021 21:17, Marco Atzeri wrote: > On 04.03.2021 16:17, Ken Brown via Cygwin wrote: >> On 3/4/2021 6:50 AM, Takashi Yano via Cygwin wrote: >>> On Thu, 4 Mar 2021 12:11:11 +0100 >>> marco atzeri wrote: >>>> I have no problem to patch Python to solve the issue, >>>> but I have not seen evidence of the dlsym mechanism . >>>> But of course I an NOT and expert in this field. >>>> >>>> If someone looking to the code can give me some hints, >>>> I will appreciate >>> >>> I am also not sure where the dlsym() is used in python. >>> At least, os.uname() works in python 3.8.7 and 2.7.18 in my >>> environment even without that snippet. It seems that os.uname() >>> does not use dlsym(). Do I overlook something? >> >> This all started because Mark reported a problem building python 3.8.3: >> >>    https://cygwin.com/pipermail/cygwin-apps/2020-December/040765.html >> >> https://cygwin.com/pipermail/cygwin-developers/2020-December/012019.html >> >> It's strange that Marco never bumped into the problem. >> >> Ken > > I never built python using cygwin snapshots as Mark was trying to do, > all my builds were using 3.1.7. > > Let me set a separate enviroment for building on latest snapshot I can not replicate with latest snapshot $ uname -svr CYGWIN_NT-10.0-WOW 3.2.0s(0.340/5/3) 2021-03-01 15:42 nor in 64bit when building 3.8.8 For what I see the DLL is always using a proper import from cygwin1.dll $ objdump -x libpython3.8.dll |grep uname 2b9de0 2170 uname 2b9de8 2171 uname_x the only thing not standard on my build system is a case sensitive filesystem and mount Regards Marco