all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Po Lu <luangruo@yahoo.com>
To: Bruno Haible <bruno@clisp.org>
Cc: Corwin Brust <corwin@bru.st>,
	 Emacs-devel@gnu.org,  Paul Eggert <eggert@cs.ucla.edu>
Subject: Re: Windows port binaries
Date: Wed, 16 Aug 2023 14:45:56 +0800	[thread overview]
Message-ID: <87v8dfjxi3.fsf@yahoo.com> (raw)
In-Reply-To: <3861918.kkAUEy7oZ9@nimes> (Bruno Haible's message of "Tue, 15 Aug 2023 21:57:47 +0200")

Bruno Haible <bruno@clisp.org> writes:

> Corwin Brust wrote:
>> In case it helps others to assist with testing, for the moment I am
>> aggressively rebuilding the Windows port also, from (not quite every)
>> commit to emacs-29 or master, posting to:
>> 
>>   https://corwin.bru.st/emacs-29
>>   https://corwin.bru.st/emacs-30
>
> Thanks. I tried to use the
> https://corwin.bru.st/emacs-30/emacs-30-latest-no-deps.zip
> binary from today, but they don't work for me (on Windows 10), because
> they rely on two DLLs which are not contained in the 'bin' directory:
>   - libgmp-10.dll
>   - libwinpthread-1.dll
>
> Find below the output of "dumpbin.exe /imports emacs.exe".
>
> Additionally, I find it strange:
>
>   1) Why are the imports from libgmp all prefixed with '__'? That's
>      a bit unusual.

GMP prefers such a naming convention for their exported symbols.  These
symbols are defined to their programmer-facing names in gmp.h.

>   2) emacs/nt/mingw-cfg.site contains this comment:
>        # We don't want to check for these functions
>        # because they are implemented in libwinpthread.
>      corresponding to this ChangeLog entry:
>
>        2016-04-21  Fabrice Popineau  <fabrice.popineau@gmail.com>
>
>                Avoid run-time dependency on libwinpthread DLL on MS-Windows
>
>                * nt/mingw-cfg.site (ac_cv_search_clock_gettime)
>                (ac_cv_func_clock_gettime, ac_cv_func_clock_settime): Force to not
>                present, so that MinGW64 builds don't depend on libwinpthread.
>                (Bug#22959)
>
>      However, the binaries rely on nanosleep() from libwinpthread.
>      Is it intended or unintended?
>      If it is unintended, does it come from Gnulib? In this case, I'll gladly
>      help to do anything needed in Gnulib to help avoid this import.

I was under the impression that Emacs is supposed to use the nanosleep
from MinGW, so this should be investigated.



  reply	other threads:[~2023-08-16  6:45 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <4536176.VaOIPsP7d9@nimes>
2023-08-13  2:49 ` boot-time: straighten code Paul Eggert
2023-08-13  3:26   ` Po Lu
2023-08-13  6:35     ` Paul Eggert
2023-08-13 13:45     ` Bruno Haible
2023-08-13 14:16     ` Bruno Haible
2023-08-13 14:36     ` Bruno Haible
2023-08-13 23:44       ` Po Lu
2023-08-13 23:59         ` Bruno Haible
2023-08-14  1:07           ` Po Lu
2023-08-14  2:14             ` Corwin Brust
2023-08-15 19:57               ` Windows port binaries Bruno Haible
2023-08-16  6:45                 ` Po Lu [this message]
2023-08-16 11:36                 ` Eli Zaretskii
2023-08-17 14:01                   ` Bruno Haible
2023-08-17 14:14                     ` Eli Zaretskii
2023-08-14  8:02   ` boot-time: straighten code Andreas Schwab
2023-08-14  9:15     ` Bruno Haible
2023-08-14  9:20       ` Andreas Schwab
2023-08-14 10:19         ` Bruno Haible
2023-08-14 10:33           ` Andreas Schwab
2023-08-14 13:51             ` Bruno Haible
2023-08-15 23:03               ` Paul Eggert
2023-08-15 21:12   ` Bruno Haible
2023-08-16 10:13     ` Bruno Haible

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=87v8dfjxi3.fsf@yahoo.com \
    --to=luangruo@yahoo.com \
    --cc=Emacs-devel@gnu.org \
    --cc=bruno@clisp.org \
    --cc=corwin@bru.st \
    --cc=eggert@cs.ucla.edu \
    /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.