From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25838 invoked by alias); 15 Dec 2014 12:44:02 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 25828 invoked by uid 89); 15 Dec 2014 12:44:01 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.7 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.2 X-HELO: rock.gnat.com Received: from rock.gnat.com (HELO rock.gnat.com) (205.232.38.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Mon, 15 Dec 2014 12:44:00 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id 707A31164B4; Mon, 15 Dec 2014 07:43:58 -0500 (EST) Received: from rock.gnat.com ([127.0.0.1]) by localhost (rock.gnat.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 1VmmfwrDf2uk; Mon, 15 Dec 2014 07:43:58 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 60EA11163A4; Mon, 15 Dec 2014 07:43:58 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id 8BD6440164; Mon, 15 Dec 2014 07:43:58 -0500 (EST) Date: Mon, 15 Dec 2014 12:44:00 -0000 From: Joel Brobecker To: Yao Qi Cc: Jan Kratochvil , gdb-patches@sourceware.org, Kai Tietz Subject: Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command] Message-ID: <20141215124358.GU5457@adacore.com> References: <20141123192713.32193.57150.stgit@host1.jankratochvil.net> <20141123192900.32193.65726.stgit@host1.jankratochvil.net> <87r3w2vkhv.fsf@codesourcery.com> <20141214075258.GA26795@host2.jankratochvil.net> <87egs2vcfu.fsf@codesourcery.com> <20141214182341.GA2908@host2.jankratochvil.net> <87a92pvc0w.fsf@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <87a92pvc0w.fsf@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2014-12/txt/msg00380.txt.bz2 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