Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Arnout Vandecappelle <arnout@mind.be>
To: buildroot@busybox.net
Subject: [Buildroot] [PATH 0/1] package/ncurses: disable use of the GPM library
Date: Wed, 14 Sep 2011 18:16:09 +0200	[thread overview]
Message-ID: <201109141816.10815.arnout@mind.be> (raw)
In-Reply-To: <201109141206.40645.yann.morin.1998@anciens.enib.fr>


On Wednesday 14 September 2011 12:06:40, Yann E. MORIN wrote:
> On Wednesday 14 September 2011 09:21:05 Thomas Petazzoni wrote:
> > Le Wed, 14 Sep 2011 02:05:16 +0200,
> > 
> > "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr> a ?crit :
> > > That host-ldd is then installed as $(HOST_DIR)/usr/bin/ldd, which is
> > > first in the PATH.
> > 
> > When you build uClibc for ARM, uClibc installs an host-ldd ?
> 
> Well, this time it was for MIPS.
> 
> > Why is this ldd necessary ?
> 
> Probably not `necessay' for buildroot, but this host-ldd tries to be the
> Holy Grail of cross-compilation: an ldd that can interpret the target
> ELF files, and behaves the same as if it was run on the target.

 It should then be called <arch-tuple>-ldd, like the crosstool-ng one, right?

[snip]
> But you're right. The proper way to fix this is to decide whether that
> host-ldd is usefull or not.

 It's useful in the same way that cross-gdb is useful.

 However, there sure is something broken about it: it should use the staging 
directory as sysroot, not /.  This would also fix the ncurses case.  
(Actually, also the cross-gdb could benefit from this; now you always have to 
do a 'set solib-absolute-prefix ...' for remote debugging.)


 Regards,
 Arnout

-- 
Arnout Vandecappelle                               arnout at mind be
Senior Embedded Software Architect                 +32-16-286540
Essensium/Mind                                     http://www.mind.be
G.Geenslaan 9, 3001 Leuven, Belgium                BE 872 984 063 RPR Leuven
LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle
GPG fingerprint:  31BB CF53 8660 6F88 345D  54CC A836 5879 20D7 CF43

      reply	other threads:[~2011-09-14 16:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-14  0:05 [Buildroot] [PATH 0/1] package/ncurses: disable use of the GPM library Yann E. MORIN
2011-09-14  0:05 ` [Buildroot] [PATCH] " Yann E. MORIN
2011-09-14  7:21 ` [Buildroot] [PATH 0/1] " Thomas Petazzoni
2011-09-14 10:06   ` Yann E. MORIN
2011-09-14 16:16     ` Arnout Vandecappelle [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=201109141816.10815.arnout@mind.be \
    --to=arnout@mind.be \
    --cc=buildroot@busybox.net \
    /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