From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22889 invoked by alias); 13 Jan 2015 09:21:58 -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 22878 invoked by uid 89); 13 Jan 2015 09:21:57 -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; Tue, 13 Jan 2015 09:21:56 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by filtered-rock.gnat.com (Postfix) with ESMTP id A13CB116300; Tue, 13 Jan 2015 04:21:54 -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 uGaooMuqxrCU; Tue, 13 Jan 2015 04:21:54 -0500 (EST) Received: from joel.gnat.com (localhost.localdomain [127.0.0.1]) by rock.gnat.com (Postfix) with ESMTP id 29DBC1162D5; Tue, 13 Jan 2015 04:21:54 -0500 (EST) Received: by joel.gnat.com (Postfix, from userid 1000) id A142648E89; Tue, 13 Jan 2015 13:21:49 +0400 (RET) Date: Tue, 13 Jan 2015 09:21:00 -0000 From: Joel Brobecker To: Zachary T Welch Cc: Sergio Durigan Junior , gdb-patches@sourceware.org Subject: Re: [PATCH v2] Fix gdbserver build with x86_64-w64-mingw32 -m32 Message-ID: <20150113092149.GC8167@adacore.com> References: <874mrzu3cd.fsf@redhat.com> <1421084758-2096-1-git-send-email-zwelch@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1421084758-2096-1-git-send-email-zwelch@codesourcery.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-SW-Source: 2015-01/txt/msg00325.txt.bz2 > This patch allows a x86_64-w64-mingw32 toolchain to build a 32-bit > gdbserver. Without it, gdbserver attempts to link to the 64-bit > register files, resulting in undefined references. > > This version was regenerated with correct version of aclocal and rebased to the > current HEAD. > > * configure.ac: Add check for -m32 on x86_64-*-mingw*. > * configure.srv: If using -m32 on x86_64-*-mingw*, use i386 > instead of amd64 registers. > * configure: Regenerated. As explained in... https://www.sourceware.org/ml/gdb-patches/2015-01/msg00324.html ... I am more convinced now that this not correct. From what I have seen so far, I think you are needing this patch because you are calling configure incorrectly. -- Joel