From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30932 invoked by alias); 15 Dec 2014 03:16:11 -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 30918 invoked by uid 89); 15 Dec 2014 03:16:08 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-HELO: relay1.mentorg.com Received: from relay1.mentorg.com (HELO relay1.mentorg.com) (192.94.38.131) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 15 Dec 2014 03:16:06 +0000 Received: from svr-orw-fem-04.mgc.mentorg.com ([147.34.97.41]) by relay1.mentorg.com with esmtp id 1Y0M8g-000651-2E from Yao_Qi@mentor.com ; Sun, 14 Dec 2014 19:16:02 -0800 Received: from GreenOnly (147.34.91.1) by svr-orw-fem-04.mgc.mentorg.com (147.34.97.41) with Microsoft SMTP Server id 14.3.181.6; Sun, 14 Dec 2014 19:16:01 -0800 From: Yao Qi To: Jan Kratochvil CC: , Kai Tietz Subject: Re: [mingw rfc] Add mkdtemp to gdb/gnulib/ [Re: [PATCH v4 14/14] the "compile" command] 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> Date: Mon, 15 Dec 2014 03:16:00 -0000 In-Reply-To: <20141214182341.GA2908@host2.jankratochvil.net> (Jan Kratochvil's message of "Sun, 14 Dec 2014 19:23:41 +0100") Message-ID: <87a92pvc0w.fsf@codesourcery.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-IsSubscribed: yes X-SW-Source: 2014-12/txt/msg00360.txt.bz2 Jan Kratochvil writes: > But mingw-w64 64-bit target would build OK (after commenting out the mkdt= emp() > call) before adding the gnulib mkdtemp module. But after the gnulib mkdt= emp > addition there are many errors (attached as the second attachment). It i= s all > about > struct timeval * > vs. > struct rpl_timeval * > but an advice from mingw64 aware hacker would be nice to know what to do. Hi Jan, 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. --=20 Yao (=E9=BD=90=E5=B0=A7)