Re: Why does ldd not show cyg*.dll in its output?

2016-07-01 Thread Corinna Vinschen
Hi David, On Jun 30 23:27, David Macek wrote: > On 29. 6. 2016 23:45, David Macek wrote: > > I can try watching them side by side in debuggers tomorrow, maybe I'll find > > something. > > Yep, found something. TL;DR the issue is that Windows spins a thread > in the process before our DLLs are lo

Re: Why does ldd not show cyg*.dll in its output?

2016-06-30 Thread David Macek
On 29. 6. 2016 23:45, David Macek wrote: > I can try watching them side by side in debuggers tomorrow, maybe I'll find > something. Yep, found something. TL;DR the issue is that Windows spins a thread in the process before our DLLs are loaded. Detailed analysis below. On my Win8.x, the ldd "deb

Re: Why does ldd not show cyg*.dll in its output?

2016-06-29 Thread David Macek
On 20. 5. 2016 3:20, Warren Young wrote: > On May 19, 2016, at 5:21 PM, Hans-Bernhard Bröker > wrote: >> >> Does not WFM: > > [snip] > >> This is with ldd.exe from cygwin-2.5.1-1, on Win10 64bit, installed into >> c:\cygwin64 Just bumped into this as well. Win10 64bit (1607 build 14367) with

Re: Why does ldd not show cyg*.dll in its output?

2016-05-19 Thread Warren Young
On May 19, 2016, at 5:21 PM, Hans-Bernhard Bröker wrote: > > Does not WFM: [snip] > This is with ldd.exe from cygwin-2.5.1-1, on Win10 64bit, installed into > c:\cygwin64 That’s identical to my system. I was going to attach the output of “strace ldd `which ls`” but that leaks too much detai

Re: Why does ldd not show cyg*.dll in its output?

2016-05-19 Thread Hans-Bernhard Bröker
Am 16.05.2016 um 19:50 schrieb Yaakov Selkowitz: On 2016-05-16 10:42, Warren Young wrote: $ ldd `which ls` ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb) KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b8) KERNELBASE.dll => /c/WINDOWS/system32/K

Re: Why does ldd not show cyg*.dll in its output?

2016-05-16 Thread Marco Atzeri
On 16/05/2016 17:42, Warren Young wrote: STC: $ ldd `which ls` Actual output: $ ldd `which ls` ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb) KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b8) KERNELBASE.dll => /c/WINDOWS/system32/KERNE

Re: Why does ldd not show cyg*.dll in its output?

2016-05-16 Thread Yaakov Selkowitz
On 2016-05-16 10:42, Warren Young wrote: $ ldd `which ls` ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb) KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b8) KERNELBASE.dll => /c/WINDOWS/system32/KERNELBASE.dll (0x7ffd13f5) WFM: $ /bin/ldd

Re: Why does ldd not show cyg*.dll in its output?

2016-05-16 Thread Warren Young
On May 16, 2016, at 10:48 AM, Andrey Repin wrote: > > Greetings, Warren Young! > >> STC: > >>$ ldd `which ls` > > $ cygcheck $(which ls) Good to know. But ldd should do it, too. :) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Do

Re: Why does ldd not show cyg*.dll in its output?

2016-05-16 Thread Andrey Repin
Greetings, Warren Young! > STC: > $ ldd `which ls` > Actual output: > $ ldd `which ls` > ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb) > KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b8) > KERNELBASE.dll => /c/WINDOWS/system32/KERNELBASE

Why does ldd not show cyg*.dll in its output?

2016-05-16 Thread Warren Young
STC: $ ldd `which ls` Actual output: $ ldd `which ls` ntdll.dll => /c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffd16fb) KERNEL32.DLL => /c/WINDOWS/system32/KERNEL32.DLL (0x7ffd16b8) KERNELBASE.dll => /c/WINDOWS/system32/KERNELBASE.dll (0x7ffd13f5) Expected output: