X-Recipient: archive-cygwin@delorie.com
X-Original-To: cygwin@cygwin.com
Delivered-To: cygwin@cygwin.com
DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 23FA63987C13
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
 header.from=huarp.harvard.edu
Authentication-Results: sourceware.org;
 spf=pass smtp.mailfrom=allen@huarp.harvard.edu
Subject: Re: cmake suddenly stopped working
To: cygwin@cygwin.com
References: <fa12ed14-46b3-50d8-b02f-814936386328@huarp.harvard.edu>
 <2f4aa73e-781e-ba06-f230-4fa884715988@maxrnd.com>
 <c782735e-ab0c-ab21-d9af-6e6a9a1d674b@huarp.harvard.edu>
 <3ccdc37d-953f-f6a5-76af-56e201ee864a@huarp.harvard.edu>
 <0c91c91e-70e5-093a-0b61-07b76a52fc4a@huarp.harvard.edu>
 <cc0cdbb1-472e-c0d8-49b4-06d3b6510304@huarp.harvard.edu>
 <ecf6ce39-0278-a513-942b-6affbb04d9f0@gmail.com>
 <8b5c7352-0a0e-1931-fe8b-741acce9d576@huarp.harvard.edu>
 <ad902a4f-2f70-a114-f1fc-c331fa9112fa@gmail.com>
From: Norton Allen <allen@huarp.harvard.edu>
Message-ID: <a82cc3fb-799e-e9fb-9134-196b85ae4ea8@huarp.harvard.edu>
Date: Wed, 18 Nov 2020 11:09:22 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101
 Thunderbird/78.4.3
MIME-Version: 1.0
In-Reply-To: <ad902a4f-2f70-a114-f1fc-c331fa9112fa@gmail.com>
Content-Language: en-US
X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00, BODY_8BITS,
 KAM_DMARC_STATUS, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, 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 <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=unsubscribe>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-request@cygwin.com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
 <mailto:cygwin-request@cygwin.com?subject=subscribe>
Content-Type: text/plain; charset="utf-8"; Format="flowed"
Errors-To: cygwin-bounces@cygwin.com
Sender: "Cygwin" <cygwin-bounces@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AIGA2cf018902

On 11/18/2020 10:33 AM, Marco Atzeri via Cygwin wrote:
> On 18.11.2020 14:54, Norton Allen wrote:
>> On 11/18/2020 6:31 AM, Marco Atzeri via Cygwin wrote:
>>> On 18.11.2020 01:24, Norton Allen wrote:
>>>> Rolling back cmake from 3.17.3-2 to 3.14.5-1 seems to have resolved 
>>>> the problem.
>>>>
>>>> Any idea why no one else seems to be seeing this problem with 
>>>> 3.17.3-2?
>>>>
>>>
>>> I assume you had an incomplete upgrade.
>>>
>>> what is the output of "cygcheck cmake" ?
>>
>> I rolled back forward to 3.17.3-2 and verified that 3.17.3-2 still 
>> shows the problem:
>>
>> $ cygcheck cmake
>> Found: C:\cygwin64\bin\cmake.exe
>
>>        C:\Program 
>> Files\OpenJDK\jdk-13\bin\api-ms-win-core-rtlsupport-l1-1-0.dll
>
> this is strange
>
> Can you try also
>    strace -o cmake.out /usr/bin/cmake --version
>
> I expect an error with a specific shared library 

Yes, earlier in the thread I reported running with strace and 
identifying a specific symbol that was missing, apparently from the 
stdc++ library:

> This seems to be the crux of it. That entry point is simply not in the 
> g++ shared library. I have not figured out why this cropped up today, 
> since it is not present in the current (10.2.0-1) or previous 
> (9.3.0-2) versions. I will trying going back to 7.4.0.1, but it's hard 
> to imagine it's been gone so long and I haven't seen the problem 
> before today.
>
>     nort@easwhlpt3425080 /usr/bin
>     $ strings cygstdc++-6.dll | grep 
> _ZNSt19basic_ostringstreamIcSt11char_traits
> _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE3strERKSs
> _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEE4swapERS3_
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1EOS3_
> _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ERKSsSt13_Ios_Openmode 
>
> _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1ESt13_Ios_Openmode
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC2EOS3_
> _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC2ERKSsSt13_Ios_Openmode 
>
> _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC2ESt13_Ios_Openmode
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED0Ev
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED2Ev
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEaSEOS3_
>
>     nort@easwhlpt3425080 /usr/bin
>     $ strings cmake.exe | grep 
> _ZNSt19basic_ostringstreamIcSt11char_traits
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
>     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev

_ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev is the symbol 
that popped up in the strace error dialog.


--
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

