From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Arash Esbati Newsgroups: gmane.emacs.devel Subject: Re: Native compilation on Windows, was Re: Bootstrap Compilation Speed Date: Sun, 30 Jan 2022 22:33:40 +0100 Message-ID: <86sft4c3ij.fsf@gnu.org> References: <86v8yj7vhv.fsf@duenenhof-wilhelm.de> <83v8yjyj21.fsf@gnu.org> <87sftmn1k9.fsf@russet.org.uk> <83sftmwner.fsf@gnu.org> <87mtjump5q.fsf@russet.org.uk> <86h7a25nz7.fsf@duenenhof-wilhelm.de> <878rve85yy.fsf@russet.org.uk> <86a6fu3xb2.fsf@duenenhof-wilhelm.de> <87tue1j8x0.fsf@russet.org.uk> <86wniw3kdq.fsf@duenenhof-wilhelm.de> <83tue0u8sh.fsf@gnu.org> <86sftk3evj.fsf@duenenhof-wilhelm.de> <83o848tc92.fsf@gnu.org> <86o8473k13.fsf@duenenhof-wilhelm.de> <83ee53ssbx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8747"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 Cc: Eli Zaretskii , Corwin Brust , Phillip Lord , Emacs developers To: "H. Dieter Wilhelm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jan 30 22:35:31 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nEHr8-00026B-G2 for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 22:35:30 +0100 Original-Received: from localhost ([::1]:47768 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nEHr7-00051e-G0 for ged-emacs-devel@m.gmane-mx.org; Sun, 30 Jan 2022 16:35:29 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35496) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHph-00048g-SJ for emacs-devel@gnu.org; Sun, 30 Jan 2022 16:34:01 -0500 Original-Received: from [2001:470:142:3::e] (port=56576 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHpg-0001dz-5K; Sun, 30 Jan 2022 16:34:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To: From; bh=Od9Oaq2pw72ORDm2AgNKJqoC8J3B9VGj50QHds4+h1Y=; b=KWusFg4+lePpmUub1DdO 3HGA/zhfKm9L0n995c78xwCVyY5Ru6PVqzmMDbf5rKuwGmcYqSx9kvGSkH/gCUsxQa4tZA14wi0fF vTvRv2crqGFMV+2JJDYlm4Z1WXKaEhwIglQE54NUb/VnvfCikFO+ihBMVOKMDe+juv9bHBLz8I8wD GgmW9E+xzoCUBzFMRF184GmWpwoyCLs8KC2rAwcU54PTYg1O29l+mwA5JgO8zP22ciCvvGS9zrE1j EemasNBKg8bsoMjN+55dV+Edt5kLWlVGMswbuRmJPwm+Y6cNU4SiCBvnsuGWZxU3nXfK8TEwYb71m 4AWFTmpvoUVCHA==; Original-Received: from p4fe3e9f7.dip0.t-ipconnect.de ([79.227.233.247]:61385 helo=MUTANT) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nEHpf-0002M4-Ht; Sun, 30 Jan 2022 16:33:59 -0500 In-Reply-To: (H. Dieter Wilhelm's message of "Sun, 30 Jan 2022 11:13:00 +0100") X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:285634 Archived-At: "H. Dieter Wilhelm" writes: > An aside regarding dependencies: When I'm starting Emacs from your > current build from an MSYS2 shell I'm getting this warning: > > gnutls.c: [1] (Emacs) GnuTLS library not found > > Even though libgnutls-30.dll, libgnutls-openssl-27.dll and > libgnutlsxx-28.dll are in Emacs' bin/ directory. I'm not tracking this development, so please bear with me. Is the plan to unpack the file emacs-28.0.91-no-deps.zip into, say C:\emacs and unpack the .dll from emacs-28-deps.zip[1] into C:\emacs\bin? If so, I'm afraid that the compiled features will not work since dependencies are missing in emacs-28-deps.zip, e.g.: 1) libgnutls-30.dll has these dependencies: Found: C:\path\to\msys64\mingw64\bin\libgnutls-30.dll C:\path\to\msys64\mingw64\bin\libgnutls-30.dll C:\path\to\msys64\mingw64\bin\libwinpthread-1.dll C:\path\to\msys64\mingw64\bin\libgcc_s_seh-1.dll C:\path\to\msys64\mingw64\bin\libgmp-10.dll C:\path\to\msys64\mingw64\bin\libhogweed-6.dll C:\path\to\msys64\mingw64\bin\libnettle-8.dll C:\path\to\msys64\mingw64\bin\libidn2-0.dll C:\path\to\msys64\mingw64\bin\libiconv-2.dll C:\path\to\msys64\mingw64\bin\libintl-8.dll C:\path\to\msys64\mingw64\bin\libunistring-2.dll C:\path\to\msys64\mingw64\bin\libp11-kit-0.dll C:\path\to\msys64\mingw64\bin\libffi-7.dll C:\path\to\msys64\mingw64\bin\libtasn1-6.dll 2) libharfbuzz-0.dll has these dependencies: Found: C:\path\to\msys64\mingw64\bin\libharfbuzz-0.dll C:\path\to\msys64\mingw64\bin\libharfbuzz-0.dll C:\path\to\msys64\mingw64\bin\libgcc_s_seh-1.dll C:\path\to\msys64\mingw64\bin\libwinpthread-1.dll C:\path\to\msys64\mingw64\bin\libstdc++-6.dll C:\path\to\msys64\mingw64\bin\libfreetype-6.dll C:\path\to\msys64\mingw64\bin\libbz2-1.dll C:\path\to\msys64\mingw64\bin\libbrotlidec.dll C:\path\to\msys64\mingw64\bin\libbrotlicommon.dll C:\path\to\msys64\mingw64\bin\libharfbuzz-0.dll C:\path\to\msys64\mingw64\bin\libglib-2.0-0.dll C:\path\to\msys64\mingw64\bin\libintl-8.dll C:\path\to\msys64\mingw64\bin\libiconv-2.dll C:\path\to\msys64\mingw64\bin\libpcre-1.dll C:\path\to\msys64\mingw64\bin\libgraphite2.dll C:\path\to\msys64\mingw64\bin\libpng16-16.dll C:\path\to\msys64\mingw64\bin\zlib1.dll libgcc_s_seh-1.dll is an important one and IIRC, this dependency was the one pushing Phillip into packaging the GCC source next to his binaries. I checked the dependencies with cygcheck program shipped with Msys2 (and snipped the standard Win libraries) Best, Arash Footnotes: [1] Files from https://git.sr.ht/~mplscorwin/emacs-w64