Mirror of the gdb-patches mailing list
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: gdb-patches@sourceware.org
Cc: Aaro Koskinen <aaro.koskinen@iki.fi>
Subject: Re: [PATCH] GDB: PPC: sim: fix cross-compilation
Date: Mon, 17 Feb 2014 22:15:00 -0000	[thread overview]
Message-ID: <10046344.qgn98YLujX@vapier> (raw)
In-Reply-To: <20140217200922.GM573@drone.musicnaut.iki.fi>

[-- Attachment #1: Type: text/plain, Size: 1026 bytes --]

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=12202.
> 
> The fix is to delete system library linker options from
> prerequisite/dependency list as they are not really useful anyway.
> 
> 
> 2014-02-17  Aaro Koskinen  <aaro.koskinen@iki.fi>
> 
> 	* 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  <aaro.koskinen@iki.fi>
+
+	PR gdb/12202
+	* Makefile.in (psim): Delete $(LIBS) from dependency.

i've pushed our fix with that entry.  thanks!
-mike

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

      reply	other threads:[~2014-02-17 22:15 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-17 20:10 Aaro Koskinen
2014-02-17 22:15 ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=10046344.qgn98YLujX@vapier \
    --to=vapier@gentoo.org \
    --cc=aaro.koskinen@iki.fi \
    --cc=gdb-patches@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox