cmake suddenly stopped working

Norton Allen allen@huarp.harvard.edu
Wed Nov 18 00:09:05 GMT 2020


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

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




More information about the Cygwin mailing list