From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10107 invoked by alias); 8 Jul 2019 20:13:31 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9863 invoked by uid 89); 8 Jul 2019 20:13:31 -0000 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 Received: from nihcesxwayst01.hub.nih.gov (HELO nihcesxwayst01.hub.nih.gov) (165.112.13.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 08 Jul 2019 20:13:26 +0000 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= Received: from uccbx04.nih.gov (HELO ces.nih.gov) ([156.40.79.154]) by nihcesxwayst01.hub.nih.gov with ESMTP; 08 Jul 2019 16:13:09 -0400 Received: from uccbX03.nih.gov (156.40.79.153) by uccbx04.nih.gov (156.40.79.154) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Mon, 8 Jul 2019 16:12:52 -0400 Received: from GCC01-CY1-obe.outbound.protection.outlook.com (156.40.79.134) by uccbX03.nih.gov (156.40.79.153) with Microsoft SMTP Server (TLS) id 15.0.1473.3 via Frontend Transport; Mon, 8 Jul 2019 16:12:52 -0400 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= Received: from BN6PR09MB2227.namprd09.prod.outlook.com (10.172.195.16) by BN6PR09MB2244.namprd09.prod.outlook.com (10.172.202.7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2052.19; Mon, 8 Jul 2019 18:00:07 +0000 Received: from BN6PR09MB2227.namprd09.prod.outlook.com ([fe80::84fa:89ce:5696:150]) by BN6PR09MB2227.namprd09.prod.outlook.com ([fe80::84fa:89ce:5696:150%12]) with mapi id 15.20.2052.020; Mon, 8 Jul 2019 18:00:07 +0000 From: "Lavrentiev, Anton (NIH/NLM/NCBI) [C] via cygwin" Reply-To: "Lavrentiev, Anton (NIH/NLM/NCBI) [C]" To: "'cygwin@cygwin.com'" Subject: Re: Question about the ldd output Date: Mon, 08 Jul 2019 20:13:00 -0000 Message-ID: authentication-results: spf=none (sender IP is ) smtp.mailfrom=lavr@ncbi.nlm.nih.gov; x-ms-oob-tlc-oobclassifiers: OLM:3276; x-ms-exchange-senderadcheck: 1 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: lavr@nih.gov Return-Path: lavr@ncbi.nlm.nih.gov X-SW-Source: 2019-07/txt/msg00063.txt.bz2 Well, I don't think there's anything special that Cygwin does to load execu= tables, 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 =3D> /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffc339d00= 00) KERNEL32.DLL =3D> /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffc= 31a00000) KERNELBASE.dll =3D> /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x= 7ffc30090000) cygbz2-1.dll =3D> /usr/bin/cygbz2-1.dll (0x3f6a40000) cygcom_err-2.dll =3D> /usr/bin/cygcom_err-2.dll (0x3ef750000) cyggssapi_krb5-2.dll =3D> /usr/bin/cyggssapi_krb5-2.dll (0x3eceb000= 0) cygiconv-2.dll =3D> /usr/bin/cygiconv-2.dll (0x3ec980000) cygpcre-1.dll =3D> /usr/bin/cygpcre-1.dll (0x3eb1a0000) cyggcc_s-seh-1.dll =3D> /usr/bin/cyggcc_s-seh-1.dll (0x3ee3a0000) cygstdc++-6.dll =3D> /usr/bin/cygstdc++-6.dll (0x3ea280000) cygz.dll =3D> /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygz.dll (0x3= aba30000) cygk5crypto-3.dll =3D> /usr/bin/cygk5crypto-3.dll (0x3ec300000) cygwin1.dll =3D> /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygwin1.dl= l (0x180040000) ??? =3D> ??? (0xe80000) ??? =3D> ??? (0x1440000) ??? =3D> ??? (0xe80000) cygkrb5-3.dll =3D> /usr/bin/cygkrb5-3.dll (0x3ec170000) cygkrb5support-0.dll =3D> /usr/bin/cygkrb5support-0.dll (0x3ec15000= 0) cygintl-8.dll =3D> /usr/bin/cygintl-8.dll (0x3ec8d0000) 2. ntdll.dll =3D> /cygdrive/c/WINDOWS/SYSTEM32/ntdll.dll (0x7ffc339d00= 00) KERNEL32.DLL =3D> /cygdrive/c/WINDOWS/System32/KERNEL32.DLL (0x7ffc= 31a00000) KERNELBASE.dll =3D> /cygdrive/c/WINDOWS/System32/KERNELBASE.dll (0x= 7ffc30090000) cygbz2-1.dll =3D> /usr/bin/cygbz2-1.dll (0x3f6a40000) cygcom_err-2.dll =3D> /usr/bin/cygcom_err-2.dll (0x3ef750000) cyggssapi_krb5-2.dll =3D> /usr/bin/cyggssapi_krb5-2.dll (0x3eceb000= 0) cygiconv-2.dll =3D> /usr/bin/cygiconv-2.dll (0x3ec980000) cygpcre-1.dll =3D> /usr/bin/cygpcre-1.dll (0x3eb1a0000) cygwin1.dll =3D> /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygwin1.dl= l (0x180040000) cyggcc_s-seh-1.dll =3D> /usr/bin/cyggcc_s-seh-1.dll (0x3ee3a0000) cygstdc++-6.dll =3D> /usr/bin/cygstdc++-6.dll (0x3ea280000) cygk5crypto-3.dll =3D> /usr/bin/cygk5crypto-3.dll (0x3ec300000) cygkrb5-3.dll =3D> /usr/bin/cygkrb5-3.dll (0x3ec170000) cygz.dll =3D> /cygdrive/u/2.4.0/release/Cygwin-64/bin/cygz.dll (0x3= aba30000) cygkrb5support-0.dll =3D> /usr/bin/cygkrb5support-0.dll (0x3ec15000= 0) cygintl-8.dll =3D> /usr/bin/cygintl-8.dll (0x3ec8d0000) =09 -- 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