delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2020/11/17/19:09:59

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.3.2 sourceware.org 9D16B3851C0E
Authentication-Results: sourceware.org; dmarc=none (p=none dis=none)
header.from=huarp.harvard.edu
Authentication-Results: sourceware.org;
spf=pass smtp.mailfrom=allen AT huarp DOT harvard DOT edu
Subject: Re: cmake suddenly stopped working
From: Norton Allen <allen AT huarp DOT harvard DOT edu>
To: "cygwin AT cygwin DOT com" <cygwin AT cygwin DOT com>
References: <fa12ed14-46b3-50d8-b02f-814936386328 AT huarp DOT harvard DOT edu>
<2f4aa73e-781e-ba06-f230-4fa884715988 AT maxrnd DOT com>
<c782735e-ab0c-ab21-d9af-6e6a9a1d674b AT huarp DOT harvard DOT edu>
<3ccdc37d-953f-f6a5-76af-56e201ee864a AT huarp DOT harvard DOT edu>
Message-ID: <0c91c91e-70e5-093a-0b61-07b76a52fc4a@huarp.harvard.edu>
Date: Tue, 17 Nov 2020 19:09:05 -0500
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101
Thunderbird/68.12.1
MIME-Version: 1.0
In-Reply-To: <3ccdc37d-953f-f6a5-76af-56e201ee864a@huarp.harvard.edu>
X-Spam-Status: No, score=-4.1 required=5.0 tests=BAYES_00, 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 AT cygwin DOT com
X-Mailman-Version: 2.1.29
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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>
Errors-To: cygwin-bounces AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 0AI09cre011561

On 11/17/2020 6:48 PM, Norton Allen wrote:
> On 11/17/2020 6:21 PM, Norton Allen wrote:
>> On 11/17/2020 5:48 PM, Mark Geisert wrote:
>>> Norton Allen wrote:
>>>> Is anyone else seeing this? Any suggestions?
>>>
>>> I'm not seeing it.  'cmake --help' works for me.
>>> Does 'ldd /usr/bin/cmake' give any hint? 
>>
>> ldd did not complain, but your question reminded me that I should try 
>> running under strace. That produce the complaint:
>>
>>    The procedure entry point
>>    _ZNSt19basic_ostringstreamlcSt11char_traitslcESalcEEC1Ev could not
>>    be located in the dynamic link library C:\cygwin64\bin\cmake.exe
>>
>> (I had to type that in, as I could not copy from strace's error dialog.)
>>
>> That looks like it might be an issue with the g++ library? Any chance 
>> there was a change in the library that might require a recompile/relink?
>>
>> I will try rolling that one back. 
>
>
> Rolling back to gcc-g++ 9.3.0 did not help.
>
> I did find that entry point string in cmake.exe (all the lowercase 
> 'L's I typed in that are actually capital i's. My font makes no 
> distinction) and I was able to locate a matching string in 
> /lib/gcc/x86_64-pc-cygwin/9.3.0/libstdc++.a, but not in 
> libstdc++.dll.a. Running strings on the /usr/bin/cygstdc++-6.dll 
> showed the same information. Maybe I need to roll back further!
>
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 AT 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 AT easwhlpt3425080 /usr/bin
     $ strings cmake.exe | grep _ZNSt19basic_ostringstreamIcSt11char_traits
     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEEC1Ev
     _ZNSt19basic_ostringstreamIcSt11char_traitsIcESaIcEED1Ev

Does this seem like a problem that is likely to be resolved by 
rebuilding cmake?


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