From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Phillip Lord Newsgroups: gmane.emacs.devel Subject: Re: Emacs 28 pretest MS Windows snapshots Date: Sun, 05 Jul 2020 22:04:40 +0100 Message-ID: <87o8otd66v.fsf@russet.org.uk> References: <525489ee-b53c-49f4-bcc1-512f48175e08@default> <87wo3lhmj7.fsf@russet.org.uk> <83sge9x1ja.fsf@gnu.org> <83lfk1x0xu.fsf@gnu.org> <87h7unft33.fsf@russet.org.uk> <838sfzv8cx.fsf@gnu.org> <874kqnfmv5.fsf@russet.org.uk> <834kqnv2si.fsf@gnu.org> <87a70fe56h.fsf@russet.org.uk> <831rlruy8v.fsf@gnu.org> <871rlrdwn0.fsf@russet.org.uk> <83v9j3tbxe.fsf@gnu.org> <87sge7c5u1.fsf@russet.org.uk> <83k0zit57v.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="2300"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) Cc: drew.adams@oracle.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Jul 05 23:06:07 2020 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 1jsBpv-0000Ut-Lp for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jul 2020 23:06:07 +0200 Original-Received: from localhost ([::1]:39234 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jsBpu-0005rP-OL for ged-emacs-devel@m.gmane-mx.org; Sun, 05 Jul 2020 17:06:06 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53952) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsBpM-0005QY-B0 for emacs-devel@gnu.org; Sun, 05 Jul 2020 17:05:32 -0400 Original-Received: from cloud103.planethippo.com ([78.129.138.110]:38594) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jsBpJ-0003yx-3O; Sun, 05 Jul 2020 17:05:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=c/fgooCtrW7ExcCltpEVKnKR8YqNAy/6fXv4+u4BhXM=; b=WEl+9vABvQXaplHcktvLIe3vX +gETQUdVt1a2nNtSWiVcaN3bfVnlGWmA5Ne9pjIumcQOPKYQPddheO5yaurg6TmOa/x8PUDkWc6OJ aOKS+CjkwnnE2/ufhWoWLYl6s5GJuDM5I8K+rabvmZcjHxRzvy33ZC3m7qLGiLyhtfKMDlZz2l9bI cUye76IKJo0Ie6o1pol0F7ZT17VHG+Tt9nzhm/wHFj5jt5dDjT8TsoKSc3xnC8YPaC6a1nBJYapis y6Ov5Hyo3B5zhtMVTKdk1x4KZydGBfyTXPmLScVCi4RdjwJokBY/F2UN4nY/ovOHFFhs1JQ4GLLOV 5v1FtgK5Q==; Original-Received: from cpc142652-benw12-2-0-cust953.16-2.cable.virginm.net ([82.21.43.186]:50156 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jsBoa-0005EX-Re; Sun, 05 Jul 2020 22:04:44 +0100 In-Reply-To: <83k0zit57v.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jul 2020 17:19:00 +0300") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk Received-SPF: none client-ip=78.129.138.110; envelope-from=phillip.lord@russet.org.uk; helo=cloud103.planethippo.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/07/05 17:04:45 X-ACL-Warn: Detected OS = Linux 3.11 and newer X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:252716 Archived-At: Eli Zaretskii writes: >> From: Phillip Lord >> Cc: drew.adams@oracle.com, emacs-devel@gnu.org >> Date: Sat, 04 Jul 2020 22:45:26 +0100 >> >> > Can you show the full link command in each case? To display it, touch >> > some object file in src/, then say "make V=1". >> >> Here they are. Both mention gmp in the command line. > > Yes, but there's a subtle difference: > >> ================Emacs 28========================= [...] >> x86_64-w64-mingw32-gcc -o temacs.exe.tmp \ -Demacs >> -I. -I../../../../git/master/src -I../lib >> [...] >> -Wno-pointer-sign -O2 -g3 -Wl,-stack,0x00800000 -Wl,-heap,0x00100000 > ^^^^^^^ > >> ================Emacs 27========================= >> Administrator@cirrocumulus MINGW64 >> ~/emacs-build/build/emacs-27.0.91/x86_64/src $ make V=1 [...] >> x86_64-w64-mingw32-gcc -o temacs.exe.tmp \ -Demacs >> -I. -I../../../../git/emacs-27.0.91/src -I../lib >> [...] >> -Wno-pointer-sign -O2 -static -Wl,-stack,0x00800000 > ^^^^^^^^^^^ > > IOW, the Emacs 27 build uses -static (thus linking against libgmp > statically), whereas the Emacs 28 does not. Which is why > libgmp-10.dll ends up being a runtime dependency of the latter, but > not the former. > > I don't know how this happened, but hopefully this is a string you > could pull to find the reason(s). First question I'd ask is "how do > you arrange for -static to be injected into the link command line?" > Maybe whatever you do no longer works with the master branch? Oh dear. My build source was dirty. I have added `-static` for a long time. IIRC, this was because something tended to pull in libwinpthread, so -static subverted this problem. The snapshot builds are also build with -g3 because you asked me to add that. My master had a modified build-zips. Clearly I was experimenting with removing static. Apologies for noise. I will update the snapshot. Phil