unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Phillip Lord <phillip.lord@russet.org.uk>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: Emacs 28 pretest MS Windows snapshots
Date: Sun, 05 Jul 2020 17:19:00 +0300	[thread overview]
Message-ID: <83k0zit57v.fsf@gnu.org> (raw)
In-Reply-To: <87sge7c5u1.fsf@russet.org.uk> (message from Phillip Lord on Sat,  04 Jul 2020 22:45:26 +0100)

> From: Phillip Lord <phillip.lord@russet.org.uk>
> 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?



  reply	other threads:[~2020-07-05 14:19 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-02 14:38 Emacs 28 pretest MS Windows snapshots Drew Adams
2020-07-02 17:09 ` Phillip Lord
2020-07-02 17:35   ` Eli Zaretskii
2020-07-02 17:48     ` Eli Zaretskii
2020-07-04 10:54       ` Phillip Lord
2020-07-04 11:15         ` Eli Zaretskii
2020-07-04 13:09           ` Phillip Lord
2020-07-04 13:16             ` Eli Zaretskii
2020-07-04 14:16               ` Phillip Lord
2020-07-04 14:50                 ` Eli Zaretskii
2020-07-04 14:54                 ` Eli Zaretskii
2020-07-04 17:21                   ` Phillip Lord
2020-07-04 17:41                     ` Eli Zaretskii
2020-07-04 17:49                       ` Eli Zaretskii
2020-07-04 21:45                       ` Phillip Lord
2020-07-05 14:19                         ` Eli Zaretskii [this message]
2020-07-05 21:04                           ` Phillip Lord
2020-07-04 14:19               ` Phillip Lord
2020-07-02 17:37   ` Drew Adams
2020-07-04 10:57     ` Phillip Lord
2020-07-04 16:31       ` Drew Adams
2020-07-04 17:26         ` Phillip Lord

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83k0zit57v.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=drew.adams@oracle.com \
    --cc=emacs-devel@gnu.org \
    --cc=phillip.lord@russet.org.uk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).