From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30590 invoked by alias); 15 Dec 2014 17:12:37 -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 30576 invoked by uid 89); 15 Dec 2014 17:12:36 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.9 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 15 Dec 2014 17:12:35 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (8.14.4/8.14.4) with ESMTP id sBFHCTDF019853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 15 Dec 2014 12:12:29 -0500 Received: from host2.jankratochvil.net (ovpn-116-142.ams2.redhat.com [10.36.116.142]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id sBFHCPIw004737 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Mon, 15 Dec 2014 12:12:28 -0500 Date: Mon, 15 Dec 2014 17:12:00 -0000 From: Jan Kratochvil To: Joel Brobecker Cc: Yao Qi , 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: <20141215171225.GA19674@host2.jankratochvil.net> 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> <20141215124358.GU5457@adacore.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141215124358.GU5457@adacore.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00403.txt.bz2 On Mon, 15 Dec 2014 13:43:58 +0100, Joel Brobecker wrote: > 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. Does it mean that after upgrading gnulib we can drop the MS-Windows host routines (which need to be written yet) again? IMO a more clean solution would be s/gdb_select/select/g, drop gdb_select from mingw-hdep.c and import gnulib select instead which handles what gdb_select is there fore, hopefully more transparently. But I haven't tried any of that. Jan