From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18765 invoked by alias); 25 Nov 2013 04:56:56 -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 18755 invoked by uid 89); 25 Nov 2013 04:56:56 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: smtp.gentoo.org Received: from Unknown (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 25 Nov 2013 04:56:55 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0CBF133F289; Mon, 25 Nov 2013 04:56:47 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [patch, sim] Fix simulator Makefile Date: Mon, 25 Nov 2013 07:49:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.12.0; KDE/4.6.5; x86_64; ; ) Cc: "Steve Ellcey " , gdb-patches@gcc.gnu.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1531951.7D8NRSAme7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201311242356.52820.vapier@gentoo.org> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00754.txt.bz2 --nextPart1531951.7D8NRSAme7 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 819 On Friday 22 November 2013 14:34:41 Steve Ellcey wrote: > I am trying to build a complete 32 bit toolchain, including the simulator, > on an x86-64 Linux box by setting CFLAGS and CXXFLAGS to '-O2 -g -m32'. > I ran into a problem when building the simulator because in the igen > subdirectory make is using -m32 when compiling the objects that go into > igen but not on the link line. >=20 > I tried setting LDFLAGS to -m32 but that did not help. I noticed that a > number of other targets in that Makefile (that no longer appear to be use= d) > use $(BUILD_CFLAGS) as well as $(BUILD_LDFLAGS) when linking. Making that > change when building igen fixed the problem. >=20 > This may be considered an obvious fix, but I thought I would send it out > first anyway just to double check. >=20 > OK to checkin? OK -mike --nextPart1531951.7D8NRSAme7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJSktiUAAoJEEFjO5/oN/WBU7MQAMQKz48X+ZLc3x/ZEWJg30Fv UxaYDUGhQBFLWJ4eAKfOIkLgygPV9x0ho4xmShlS6AGKAZkETHblvW/gRalGt2ju fI5JUAmcvDNJA/e1+eJGcCTI4hkJ5nQB9TpmctseK2keU4iIEEp51MDWbrASC8Hm vyK2RkHJxS+DUYpe0icLhwbwsmBCw/VQ+7HXsyBv+fl+wil/oLAzVUCYPVCDBlH9 J63NS1qXFyTFpOhNb1dpzTRhyqD8yseEMpHhbmnuCvLXKi+7SESDkU97eYp22vhx wQW9He5eXBGl2g2YMrKLdxdX5vHHuxS5ZJVBUIoRRMf9V6mCUW5973OfJNfilzsi Zt4F17RfMtz46MHEq9PpvS6FSSiqlAzkY2tee9nfNQ+zdfr7FW1MA0yLTBMzozLB dryI8FK3PFaTCYr+gn8NPoKdpmdlo6kKe37X2QHZPT6d5F+oC6DUu1+xbu2cKO41 DZwd9b3bhio56p+V70G0tXxfJ39XMoj+Z4dE80OH6jH6lgfqtaQkUA+IHhd8ZQ7q EgzfxSsU267PZt0K5FPFhqeNRg17bWmpOGGrZOe2ipQpmRjo1tCjTTliVaQQ0EIy ErdpHxY3Arp7kqJyEc5hs0CPvSfcTs/DX49DFNLs5B6Lb231o29v+WmgtZ4nkDWi qrz/i/kUDoaIsmsTA88D =agv2 -----END PGP SIGNATURE----- --nextPart1531951.7D8NRSAme7-- From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19075 invoked by alias); 25 Nov 2013 04:56:59 -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 18999 invoked by uid 89); 25 Nov 2013 04:56:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.4 required=5.0 tests=AWL,BAYES_50,RDNS_NONE,SPF_PASS autolearn=no version=3.3.2 X-HELO: smtp.gentoo.org Received: from Unknown (HELO smtp.gentoo.org) (140.211.166.183) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-GCM-SHA384 encrypted) ESMTPS; Mon, 25 Nov 2013 04:56:55 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 0CBF133F289; Mon, 25 Nov 2013 04:56:47 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Subject: Re: [patch, sim] Fix simulator Makefile Date: Mon, 25 Nov 2013 08:15:00 -0000 User-Agent: KMail/1.13.7 (Linux/3.12.0; KDE/4.6.5; x86_64; ; ) Cc: "Steve Ellcey " , gdb-patches@gcc.gnu.org References: In-Reply-To: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1531951.7D8NRSAme7"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-ID: <201311242356.52820.vapier@gentoo.org> X-IsSubscribed: yes X-SW-Source: 2013-11/txt/msg00755.txt.bz2 Message-ID: <20131125081500.3_3akT1-rP8U5KdolhzX4JyzHfvlV7aaM_-IsolmXrE@z> --nextPart1531951.7D8NRSAme7 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-length: 819 On Friday 22 November 2013 14:34:41 Steve Ellcey wrote: > I am trying to build a complete 32 bit toolchain, including the simulator, > on an x86-64 Linux box by setting CFLAGS and CXXFLAGS to '-O2 -g -m32'. > I ran into a problem when building the simulator because in the igen > subdirectory make is using -m32 when compiling the objects that go into > igen but not on the link line. >=20 > I tried setting LDFLAGS to -m32 but that did not help. I noticed that a > number of other targets in that Makefile (that no longer appear to be use= d) > use $(BUILD_CFLAGS) as well as $(BUILD_LDFLAGS) when linking. Making that > change when building igen fixed the problem. >=20 > This may be considered an obvious fix, but I thought I would send it out > first anyway just to double check. >=20 > OK to checkin? OK -mike --nextPart1531951.7D8NRSAme7 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iQIcBAABAgAGBQJSktiUAAoJEEFjO5/oN/WBU7MQAMQKz48X+ZLc3x/ZEWJg30Fv UxaYDUGhQBFLWJ4eAKfOIkLgygPV9x0ho4xmShlS6AGKAZkETHblvW/gRalGt2ju fI5JUAmcvDNJA/e1+eJGcCTI4hkJ5nQB9TpmctseK2keU4iIEEp51MDWbrASC8Hm vyK2RkHJxS+DUYpe0icLhwbwsmBCw/VQ+7HXsyBv+fl+wil/oLAzVUCYPVCDBlH9 J63NS1qXFyTFpOhNb1dpzTRhyqD8yseEMpHhbmnuCvLXKi+7SESDkU97eYp22vhx wQW9He5eXBGl2g2YMrKLdxdX5vHHuxS5ZJVBUIoRRMf9V6mCUW5973OfJNfilzsi Zt4F17RfMtz46MHEq9PpvS6FSSiqlAzkY2tee9nfNQ+zdfr7FW1MA0yLTBMzozLB dryI8FK3PFaTCYr+gn8NPoKdpmdlo6kKe37X2QHZPT6d5F+oC6DUu1+xbu2cKO41 DZwd9b3bhio56p+V70G0tXxfJ39XMoj+Z4dE80OH6jH6lgfqtaQkUA+IHhd8ZQ7q EgzfxSsU267PZt0K5FPFhqeNRg17bWmpOGGrZOe2ipQpmRjo1tCjTTliVaQQ0EIy ErdpHxY3Arp7kqJyEc5hs0CPvSfcTs/DX49DFNLs5B6Lb231o29v+WmgtZ4nkDWi qrz/i/kUDoaIsmsTA88D =agv2 -----END PGP SIGNATURE----- --nextPart1531951.7D8NRSAme7--