[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 28 pretest MS Windows snapshots
From: |
Eli Zaretskii |
Subject: |
Re: Emacs 28 pretest MS Windows snapshots |
Date: |
Sun, 05 Jul 2020 17:19:00 +0300 |
> 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?
- Re: Emacs 28 pretest MS Windows snapshots, (continued)
- Re: Emacs 28 pretest MS Windows snapshots, Eli Zaretskii, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Eli Zaretskii, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Eli Zaretskii, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Eli Zaretskii, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Eli Zaretskii, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Eli Zaretskii, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/04
- Re: Emacs 28 pretest MS Windows snapshots,
Eli Zaretskii <=
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/05
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/04
RE: Emacs 28 pretest MS Windows snapshots, Drew Adams, 2020/07/02