From: Phillip Lord <phillip.lord@russet.org.uk>
To: Eli Zaretskii <eliz@gnu.org>
Cc: drew.adams@oracle.com, emacs-devel@gnu.org
Subject: Re: Emacs 28 pretest MS Windows snapshots
Date: Sun, 05 Jul 2020 22:04:40 +0100 [thread overview]
Message-ID: <87o8otd66v.fsf@russet.org.uk> (raw)
In-Reply-To: <83k0zit57v.fsf@gnu.org> (Eli Zaretskii's message of "Sun, 05 Jul 2020 17:19:00 +0300")
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
next prev parent reply other threads:[~2020-07-05 21:04 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
2020-07-05 21:04 ` Phillip Lord [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87o8otd66v.fsf@russet.org.uk \
--to=phillip.lord@russet.org.uk \
--cc=drew.adams@oracle.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.