From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24836 invoked by alias); 19 Nov 2013 21:08:07 -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 24819 invoked by uid 89); 19 Nov 2013 21:08:06 -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_50,RDNS_NONE,URIBL_BLOCKED autolearn=no version=3.3.2 X-HELO: mtaout20.012.net.il Received: from Unknown (HELO mtaout20.012.net.il) (80.179.55.166) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 19 Nov 2013 21:07:23 +0000 Received: from conversion-daemon.a-mtaout20.012.net.il by a-mtaout20.012.net.il (HyperSendmail v2007.08) id <0MWJ00A003Y39400@a-mtaout20.012.net.il> for gdb-patches@sourceware.org; Tue, 19 Nov 2013 23:07:14 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout20.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0MWJ00ARO4027930@a-mtaout20.012.net.il>; Tue, 19 Nov 2013 23:07:14 +0200 (IST) Date: Tue, 19 Nov 2013 21:27:00 -0000 From: Eli Zaretskii Subject: Re: [PATCH v3 10/13] don't check for unistd.h In-reply-to: <"00ee01cee569$bcb52d00$361f8700$@muller"@ics-cnrs.unistra.fr> To: Pierre Muller Cc: tromey@redhat.com, gdb-patches@sourceware.org Reply-to: Eli Zaretskii Message-id: <83hab8f6db.fsf@gnu.org> MIME-version: 1.0 Content-type: text/plain; charset=iso-8859-1 Content-transfer-encoding: 8BIT References: <1384806318-12231-1-git-send-email-tromey@redhat.com> <1384806318-12231-11-git-send-email-tromey@redhat.com> <"00ee01cee569$bcb52d00$361f8700$@muller"@ics-cnrs.unistra.fr> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00564.txt.bz2 > From: "Pierre Muller" > Date: Tue, 19 Nov 2013 18:55:47 -0200 > > I am not totally sure this is related, > but I got a new error when trying to cross compile > for i686-w64-mingw32 using cygwin. > m32r-rom.o: dans la fonction « m32r_upload_command »: > /home/Pierre/git/build/binu-gdb-mingw32/gdb/../../../binutils-gdb/gdb/m32r-r > om.c:472: référence indéfinie vers « > _imp__gethostname_used_without_requesting_gnulib_module_gethostname@8 » > collect2: erreur: ld a retourné 1 code d'état d'exécution > > I tried to run ./config.status --recheck; make > but that did not solve the problem... > > To double check, I completely erased the build directory > and reran the "../build/XXX/configure" with required options > and "make all-gdb": Same error... > > Could someone double-check if this is a general problem > with mingw target? It's a real problem, and comes with gnulib, see gdb/gnulib/import/unistd.in.h. (Isn't the error message self-explanatory enough?)