> Date: Sun, 11 Oct 2026 22:21:00 -0700
> Cc: [email protected], Gnulib bugs <[email protected]>,
>  Eli Zaretskii <[email protected]>
> From: Paul Eggert <[email protected]>
> 
> On 2026-10-11 21:05, Yue Yi wrote:
> >    CCLD     temacs.exe
> > D:/_D/msys64/ucrt64/bin/../lib/gcc/x86_64-w64-mingw32/16.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
> > ../lib/libgnu.a(time_rz.o): in function `mktime_z':
> > D:\emacs-ucrt\lib/time_rz.c:309:(.text+0x31a): undefined reference to
> > `rpl_mktime'
> 
> Thanks. This means lib/time.h was built with REPLACE_MKTIME=1. But I suspect 
> that the mingw32 port does not want to replace mktime. Please apply the 
> attached further patch. You may need to "make bootstrap" after that.

Why do you think the mingw32 doesn't want to replace mktime?  We built
Emacs on Windows while replacing mktime since log ago (I see it as far
back as Emacs 25.1), and I'm not aware of any problems with this
replacement.  So I think we should leave the mktime replacement alone.

Reply via email to