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

From: Eli Zaretskii <[email-masked]>
Date: Fri, 23 Aug 2019 15:35:25 +0300

> From: Richard Copley <[email-masked]>
> Date: Fri, 23 Aug 2019 12:50:33 +0100
> 
>   CCLD     temacs.exe
> C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> process.o:process.c:(.text+0xe3b): undefined reference to `make_number'
> process.o:process.c:(.text+0xe3b): relocation truncated to fit: R_X86_64_PC32 against undefined symbol
> `make_number'
> collect2.exe: error: ld returned 1 exit status

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.

Thanks.