[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs 28 pretest MS Windows snapshots
From: |
Phillip Lord |
Subject: |
Re: Emacs 28 pretest MS Windows snapshots |
Date: |
Sun, 05 Jul 2020 22:04:40 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.91 (gnu/linux) |
Eli Zaretskii <eliz@gnu.org> writes:
>> 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?
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
- Re: Emacs 28 pretest MS Windows snapshots, (continued)
- 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, 2020/07/05
- Re: Emacs 28 pretest MS Windows snapshots,
Phillip Lord <=
- Re: Emacs 28 pretest MS Windows snapshots, Phillip Lord, 2020/07/04
RE: Emacs 28 pretest MS Windows snapshots, Drew Adams, 2020/07/02