From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16836 invoked by alias); 17 Feb 2014 22:15:47 -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 16802 invoked by uid 89); 17 Feb 2014 22:15:46 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.4 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: smtp.gentoo.org Received: from smtp.gentoo.org (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, 17 Feb 2014 22:15:45 +0000 Received: from vapier.localnet (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 790DC33F9FE; Mon, 17 Feb 2014 22:15:43 +0000 (UTC) From: Mike Frysinger To: gdb-patches@sourceware.org Cc: Aaro Koskinen Subject: Re: [PATCH] GDB: PPC: sim: fix cross-compilation Date: Mon, 17 Feb 2014 22:15:00 -0000 Message-ID: <10046344.qgn98YLujX@vapier> User-Agent: KMail/4.12.2 (Linux/3.13.0; KDE/4.12.2; x86_64; ; ) In-Reply-To: <20140217200922.GM573@drone.musicnaut.iki.fi> References: <20140217200922.GM573@drone.musicnaut.iki.fi> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart7985241.hknPWSazUa"; micalg="pgp-sha1"; protocol="application/pgp-signature" X-IsSubscribed: yes X-SW-Source: 2014-02/txt/msg00550.txt.bz2 --nextPart7985241.hknPWSazUa Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="us-ascii" Content-length: 1014 On Monday, February 17, 2014 22:09:22 Aaro Koskinen wrote: > When cross-compiling GDB for PPC, there's a prerequisite "-lz" for psim > that results in a build failure. With such prerequisite, GNU Make will > try to search the library from build machine's /usr/lib which is wrong. > On 64-bit Linux build machines the compilation will fail because of this. > This has been also reported on other operating systems, see e.g. > https://sourceware.org/bugzilla/show_bug.cgi?id=3D12202. >=20 > The fix is to delete system library linker options from > prerequisite/dependency list as they are not really useful anyway. >=20 >=20 > 2014-02-17 Aaro Koskinen >=20 > * PR gdb/12202. Fix cross-compilation on PPC by removing compiler > library options from psim dependencies. correct format for this i think would be: +2014-02-17 Aaro Koskinen + + PR gdb/12202 + * Makefile.in (psim): Delete $(LIBS) from dependency. i've pushed our fix with that entry. thanks! -mike= --nextPart7985241.hknPWSazUa Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part. Content-Transfer-Encoding: 7Bit Content-length: 836 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAABAgAGBQJTAooTAAoJEEFjO5/oN/WBtPIP/RZBITjOA8DA+8tX1EwdSxxo JtvTHjCvm78PfW309Pw29XptM+Lg+zB0ApsX4OjTr8+uYFL+zqQIr7zwqBod7XlJ JfhzvlpLEM2T2hBEhSwHHOLJOv0K7g7xIQDFy+8hGHD0UWbJi+uKQhKzmJe+U52i PMm1CYyvzEjnbG3h+6A1llwvWzF0NdfF6yY5cnlP5/cDbWB9Af22Qc3t1cGeYV5T H6N2ULc0Qv5tJu4x+dB7a/0bKgPcDpLtgmmFXae3zq6GRYTlZOvJfOdRfz8d23Rd 7EJ61yqSXzT0wGQpj12ttEuOu6D5Krzfv+Kku/Du8sii550ZOoUVPYWLDt3VEpiZ E7tA2YaTo5iD1hQTIgNIGnZM+jqfLOq0stMLOl3cgdfQELv6XYuiT6LJEY5MrtaS bZa1ALwnXAhu1L57oR3NOQJbUKEdl1XgUuUWTGtH4jY+rYV0mT+RcnQLtAHgPDXs E2e7XADudWfopoWLJDunGxz8UZ6MwJhY6D39f9LFPrfdjzLzuMaKg5FRG2LPtFpz txdG3F9AcDPYjMbR3VRyke3bE+fmN0fv0vxbGsQS2hzAggmVra15miVRNKuztu/o h8UuwMAJtkoR7GTSJE972uFP5KU8v4a9e5IBDf60Z1nGEfogBA1xxir6j2DljZon fqP9MgKIkie0YAtxLoy1 =15fK -----END PGP SIGNATURE----- --nextPart7985241.hknPWSazUa--