[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#37158: 27.0.50; Build failure (MSYS2, master)

From: Eli Zaretskii
Subject: bug#37158: 27.0.50; Build failure (MSYS2, master)
Date: Fri, 23 Aug 2019 16:05:02 +0300

> From: Richard Copley <address@hidden>
> Date: Fri, 23 Aug 2019 13:44:22 +0100
>  The immediate problem should be fixed now, but what worries me is how
>  on earth did your MinGW build ended up compiling the
>  !HAVE_GAI_STRERROR branch?  This shouldn't happen, by virtue of this
>  part of nt/mingw-cfg.site:
>    ac_cv_func_gai_strerror=yes
>  Doesn't your src/config.h has this line:
>    #define HAVE_GAI_STRERROR 1
>  ?  If not, we should find out why.
> Yes, that line is there, but also, in nt/ms-w32.h, there is this:
> /* Unlike MS and mingw.org, MinGW64 doesn't define gai_strerror as an
>    inline function in a system header file, and instead seems to
>    require to link against ws2_32.a.  But we don't want to link with
>    -lws2_32, as that would make Emacs dependent on the respective DLL.
>    So MinGW64 is amply punished here by the following:  */

Ah, okay.  It's clear now.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]