Thanks for pointing that out. Ldd also worked fine on my Windows 10 Home box. From: Brian Inglis Sent: Tuesday, May 23, 2023 12:39 AM To: cygwin-apps@cygwin.com Cc: Rodney Brown Subject: Re: x86_64 ldd hangs running on a DLL [EXTERNAL EMAIL] BLODA? https://cygwin.com/faq/faq.html#faq.using.bloda On 2023-05-21 14:32, Jon Turney via Cygwin-apps wrote: > On 18/05/2023 02:46, Rodney Brown via Cygwin wrote: >> $ uname -a >> CYGWIN_NT-10.0-19045 X 3.4.6-1.x86_64 2023-02-14 13:23 UTC x86_64 Cygwin >> $ ldd --version >> ldd (cygwin) 3.4.6 >> >> As with "ldd freezes" >> https://sourceware.org/legacy-ml/cygwin/2015-07/msg00314.html , cygcheck works, >> not only for Cygwin DLLs and ldd hangs needing the xterm to be closed, though >> it can interrupted when run >> under strace, or did. Strace now is segfaulting. > > What changed to make it start segfaulting? > >> Did Corinna's fix for i686 not end up in the x86_64 code? > > The claim here seems to be: ldd is broken on x86_64 for all dlls, and has been > since 2015, and nobody has noticed. > > While possible, this seems unlikely. > > All I can tell you is that it appears to WFM. Perhaps you can provide some more > details? > >> $ ldd /usr/bin/cygwin1.dll >> ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffe56090000) >> KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL >> (0x7ffe54a90000) >> KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll >> (0x7ffe53c40000) >> msvcrt.dll => /cygdrive/c/WINDOWS/System32/msvcrt.dll (0x7ffe55750000) >> advapi32.dll => /cygdrive/c/WINDOWS/System32/advapi32.dll >> (0x7ffe54d90000) >> sechost.dll => /cygdrive/c/WINDOWS/System32/sechost.dll (0x7ffe549b0000) >> RPCRT4.dll => /cygdrive/c/WINDOWS/System32/RPCRT4.dll (0x7ffe55570000) >> CRYPTBASE.DLL => /cygdrive/c/WINDOWS/SYSTEM32/CRYPTBASE.DLL >> (0x7ffe53060000) >> bcryptPrimitives.dll => >> /cygdrive/c/WINDOWS/System32/bcryptPrimitives.dll (0x7ffe53770000) > -- Take care. Thanks, Brian Inglis Calgary, Alberta, Canada La perfection est atteinte Perfection is achieved non pas lorsqu'il n'y a plus rien à ajouter not when there is no more to add mais lorsqu'il n'y a plus rien à retirer but when there is no more to cut -- Antoine de Saint-Exupéry