X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:reply-to:to:subject:date:message-id :content-type:content-transfer-encoding:mime-version; q=dns; s= default; b=nrGIqzdSZ+tgTZQxTLh/fc7gVFLsViwHo4+OF8u+GWUzufR2+6aAQ 13kb8aAcu9fqZOqTnusmCNmPbtjP+8juLDWdABsRp3YtAK4cvb1k+e1rIvbWYsi9 hjfn+RcdSFLRkyU6QJXZs/sTVfuHqHEcMHN++9AiR83nHA1XfnTGrQ= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:reply-to:to:subject:date:message-id :content-type:content-transfer-encoding:mime-version; s=default; bh=LU07ffTBPUcpiO7bZCY+DW6+aMY=; b=EsvOn7/lt4Vrsy5rQ3+dWa5uJO18 zpZYSM8ZDsXImcrKz/k4r9MqvUaeYXD+azb1aewP2oxrrpXrdfQRtJiBrd5d1TMd YvbjN7VFaIU9ti9Yov8kqP5HInq4vIyY/5CjZ6riKxlFGrXagiyey+H/WdGO7/lZ ftCQhMNBgKQ72TU= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=sudden X-HELO: nihcesxwayst01.hub.nih.gov DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.gov; i=@nih.gov; q=dns/txt; s=NIH; t=1562616806; x=1594152806; h=from:to:subject:date:message-id: content-transfer-encoding:mime-version; bh=knye4Kzy9Vlu3b2qx6/MM8PrZkqXUMDru/7BJFC8/Pc=; b=a9/5orUTGVYO9U2D9stoNXguvMC4x2UO25wtO2a5ZLKaXVJ15nl5jpC2 Q1Y1YssD01bEGaKraDCXVCvurxYOXO1j3Yn1GI4RP9ffkZj98cK8x72J3 Cx1V67IIfMkqz+7bEVep3b44dsaSroFNMedFot0JFQ+r91tcBJGwL4LtH hSSJ6xGO4bpJQHgV9XAzfduJiep0wJrcCu92HMSMv/Vsq/0pThJqSUipH GEe3TTGCNg8JZBMuCpeyf/sg2T0INih9VoceEOJVyrq/fLWAreasJDdIL 00GPMaxwc4ki7d5/uaB0eJJxymEvI7y6Ci6WUOmk/PVTxHWLqkk0qJPrr Q==; IronPort-SDR: 4GynbMXP9KGdYKca/LtK75NO6Rm3Jl+nxzSdFXJ8klA4cAnfqf62p/nqX/IxPaG616UVMgbX7t rR+Wnw3m8LK0fgg4UT6owKfKMDVlky4kOJYMQoriS/ZF1dB0/8i/9d0/Wm+kjIcWjdts7xof9q I3d0hgNz6ml8ubumti22MPyA+35MWNoOc6us0HZVLKzoSVsKn/bixPu10Wr5i+2j1GUyS6WdBb nJMHpWcfRgCHWUMkJFQLGCug9abF6eb4J7wTWt74UKXV9Xbea/TfABkhI+lkqymSeMCtkAdSaL 8gM= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nih.onmicrosoft.com; s=selector1-nih-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=knye4Kzy9Vlu3b2qx6/MM8PrZkqXUMDru/7BJFC8/Pc=; b=EeZChiD1sYkwBaDav+kQaNSjon+7X/or1ZWdeqqGbk4SosXD6Wc6YLmdQXKaoC17zbdcx8iM/wN8nFnQ531auPa5XituQ4yox2C7ccxCixI8Nu4nPi2bqQle25fMEz8ZK3yCfTMsNRALV4+bqhP30aGaqrTSZ5w7zWE6kSzCA44= From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "'cygwin AT cygwin DOT com'" Subject: Re: Question about the ldd output Date: Mon, 8 Jul 2019 18:00:07 +0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr AT ncbi DOT nlm DOT nih DOT gov; x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lavr AT nih DOT gov Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id x68KE6LL001835 Well, I don't think there's anything special that Cygwin does to load executables, because these are essentially Windows processes, so they are loaded by Windows, first and foremost. But it gets even weirder. Below are two _consecutive!_ runs of ldd on the very same executable. Why the output differs so drastically (including the unknown dlls all of a sudden)? 1. ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffc339d0000) KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffc31a00000) KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffc30090000) cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x3f6a40000) cygcom_err-2.dll => /usr/bin/cygcom_err-2.dll (0x3ef750000) cyggssapi_krb5-2.dll => /usr/bin/cyggssapi_krb5-2.dll (0x3eceb0000) cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3ec980000) cygpcre-1.dll => /usr/bin/cygpcre-1.dll (0x3eb1a0000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3ee3a0000) cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3ea280000) cygz.dll => /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygz.dll (0x3aba30000) cygk5crypto-3.dll => /usr/bin/cygk5crypto-3.dll (0x3ec300000) cygwin1.dll => /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygwin1.dll (0x180040000) ??? => ??? (0xe80000) ??? => ??? (0x1440000) ??? => ??? (0xe80000) cygkrb5-3.dll => /usr/bin/cygkrb5-3.dll (0x3ec170000) cygkrb5support-0.dll => /usr/bin/cygkrb5support-0.dll (0x3ec150000) cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3ec8d0000) 2. ntdll.dll => /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffc339d0000) KERNEL32.DLL => /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffc31a00000) KERNELBASE.dll => /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x7ffc30090000) cygbz2-1.dll => /usr/bin/cygbz2-1.dll (0x3f6a40000) cygcom_err-2.dll => /usr/bin/cygcom_err-2.dll (0x3ef750000) cyggssapi_krb5-2.dll => /usr/bin/cyggssapi_krb5-2.dll (0x3eceb0000) cygiconv-2.dll => /usr/bin/cygiconv-2.dll (0x3ec980000) cygpcre-1.dll => /usr/bin/cygpcre-1.dll (0x3eb1a0000) cygwin1.dll => /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygwin1.dll (0x180040000) cyggcc_s-seh-1.dll => /usr/bin/cyggcc_s-seh-1.dll (0x3ee3a0000) cygstdc++-6.dll => /usr/bin/cygstdc++-6.dll (0x3ea280000) cygk5crypto-3.dll => /usr/bin/cygk5crypto-3.dll (0x3ec300000) cygkrb5-3.dll => /usr/bin/cygkrb5-3.dll (0x3ec170000) cygz.dll => /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygz.dll (0x3aba30000) cygkrb5support-0.dll => /usr/bin/cygkrb5support-0.dll (0x3ec150000) cygintl-8.dll => /usr/bin/cygintl-8.dll (0x3ec8d0000) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple