This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command]
- From: Joel Brobecker <brobecker at adacore dot com>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: Jan Kratochvil <jan dot kratochvil at redhat dot com>, gdb-patches at sourceware dot org, Kai Tietz <ktietz at redhat dot com>
- Date: Mon, 15 Dec 2014 07:43:58 -0500
- Subject: Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command]
- Authentication-results: sourceware.org; auth=none
- References: <20141123192713 dot 32193 dot 57150 dot stgit at host1 dot jankratochvil dot net> <20141123192900 dot 32193 dot 65726 dot stgit at host1 dot jankratochvil dot net> <87r3w2vkhv dot fsf at codesourcery dot com> <20141214075258 dot GA26795 at host2 dot jankratochvil dot net> <87egs2vcfu dot fsf at codesourcery dot com> <20141214182341 dot GA2908 at host2 dot jankratochvil dot net> <87a92pvc0w dot fsf at codesourcery dot com>
Hi Yao,
> I can reproduce your build failure with x86_64-w64-mingw32-gcc too.
> Looks gnulib sys_time module needs update, or maybe we have to use win32
> api, such as GetTempPath and GetRandomFileName.
Do you mean that the problem is solved with a more recent version
of gnulib?
I would personally take a two-step approach: First, immediately
fix the build issue using the second recommendation you made, which
is to use win32 routines on Windows hosts for now. Then, we can
work towards first upgrading gnulib, and then importing mkdtemp.
I find that updating gnulib to always be fairly disruptive, which
is why I propose we stabilize the problem first to get builds
working back ASAP, and then look at gnulib.
--
Joel