From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Andy Moreton Newsgroups: gmane.emacs.devel Subject: Re: bignum branch Date: Tue, 14 Aug 2018 16:11:36 +0100 Message-ID: References: <87o9fbbw1t.fsf@tromey.com> <86bmaasm39.fsf@gmail.com> <83a7puo8oq.fsf@gnu.org> <83zhxummef.fsf@gnu.org> <83lg9em1v6.fsf@gnu.org> <86r2j5q67t.fsf@gmail.com> <83r2j4lvyo.fsf@gnu.org> <86va8gj12l.fsf@gmail.com> <83k1owlscr.fsf@gnu.org> <86mutsiy80.fsf@gmail.com> <83eff4lqon.fsf@gnu.org> <86eff4ixcj.fsf@gmail.com> <83a7pslnzz.fsf@gnu.org> <86eff4turj.fsf@gmail.com> <83y3dbju00.fsf@gnu.org> <86ftzjs73w.fsf@gmail.com> <83pnymjomm.fsf@gnu.org> <86va8d3ln1.fsf@gmail.com> <83a7ppj8vd.fsf@gnu.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1534259397 9621 195.159.176.226 (14 Aug 2018 15:09:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 14 Aug 2018 15:09:57 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (windows-nt) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 14 17:09:53 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1fpaxF-0002Oi-79 for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2018 17:09:53 +0200 Original-Received: from localhost ([::1]:44792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpazK-0007QL-16 for ged-emacs-devel@m.gmane.org; Tue, 14 Aug 2018 11:12:02 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56076) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fpaz9-0007NR-Fo for emacs-devel@gnu.org; Tue, 14 Aug 2018 11:11:52 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fpaz5-0008BH-C1 for emacs-devel@gnu.org; Tue, 14 Aug 2018 11:11:51 -0400 Original-Received: from [195.159.176.226] (port=50150 helo=blaine.gmane.org) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fpaz5-0008Ax-3e for emacs-devel@gnu.org; Tue, 14 Aug 2018 11:11:47 -0400 Original-Received: from list by blaine.gmane.org with local (Exim 4.84_2) (envelope-from ) id 1fpawv-00023U-IT for emacs-devel@gnu.org; Tue, 14 Aug 2018 17:09:33 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@blaine.gmane.org Cancel-Lock: sha1:BPjm/PO7NfO0lfI/pxHccUTfwoI= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 195.159.176.226 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:228526 Archived-At: On Tue 14 Aug 2018, Eli Zaretskii wrote: >> From: Andy Moreton >> Date: Tue, 14 Aug 2018 00:13:54 +0100 >> >> > It may also be a good idea to report the problem with gmp.h to the >> > MSYS2 forum, they should fix the header anyway. (Mingw.org already >> > fixed theirs, as I reported related problems, not about Emacs, a few >> > months ago.) >> >> Looking at the MSYS2 on github, there was a pull request to fix the >> broken header install problem for GMP, but the maintainers dropped it: >> > > It sounds like they want GMP and MPFR to be available only for static > linking, "for simplicity". That is OK, and is their prerogative, but > then the package should come without the libgmp.dll.a import library > (and maybe even without the DLL), because the GNU linker will prefer > linking against the DLL if it sees the import library. IOW, their > decision seems to be inconsistent with the package contents. Yes, that was my conclusion too. > (Assuming that the import library you have is not a left-over from > some old installation, that is.) No, the lib is cleanly installed from the package. My earlier experiments with removing the import library before linking and then reinstalling the package elicited a warning from the package manager about the missing file, which was then reinstalled (all as expected). It seems the answer is patch the header manually , or avoid -Og builds. I have not yet tried an -O2 build to see if that works. AndyM