Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] uclibc/arm: don't install ldd.host and ldconfig.host if !HAVE_SHARED
Date: Sun, 28 Jul 2013 19:22:27 +0200	[thread overview]
Message-ID: <20130728192227.708e6c2c@skate> (raw)
In-Reply-To: <CAFRkauAQFyQCn1S=yUuzhCmCNdjMn1jTU-zzgG=eLAL-P7Hy3A@mail.gmail.com>

Dear Axel Lin,

On Mon, 29 Jul 2013 01:17:00 +0800, Axel Lin wrote:

> Below is my settings.
> I'm pretty new in using buildroot, below is my settings.
> I hope my description here is clear.
> 
> $ make menuconfig
> 
> mainly with below settings:
> ARM, arm7tdmi, uClibc,
> BR2_USE_MMU is not set
> 
> $ make uclibc-menuconfig
> 
> ARCH_HAS_MMU is not set
> UCLIBC_FORMAT_FLAT=y
> ARCH_HAS_NO_SHARED=y
> When ARCH_HAS_NO_SHARED=y, HAVE_SHARED is automatically set to "not set".

As soon as you customize the uClibc configuration with
uclibc-menuconfig, then we cannot support all the possible build
failures that you will get.

So the solution to this problem is to improve the ARM noMMU support in
Buildroot, making sure that:

 1/ The uClibc configuration is automatically adjusted appropriately.

 2/ The uClibc tools are not installed.


> However, in package/uclibc/uclibc.mk, it always install ldd.host and
> ldconfig.host if $(BR2_BINFMT_FLAT) is not set.

BR2_BINFMT_FLAT should be set when ARM noMMU is used, because I don't
think ELF binaries are supported on ARM noMMU.

I know Gustavo is working on improving the ARM noMMU, hopefully he will
post patches soon.

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com

  reply	other threads:[~2013-07-28 17:22 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-28 16:48 [Buildroot] [PATCH] uclibc/arm: don't install ldd.host and ldconfig.host if !HAVE_SHARED Axel Lin
2013-07-28 16:59 ` Thomas Petazzoni
2013-07-28 17:17   ` Axel Lin
2013-07-28 17:22     ` Thomas Petazzoni [this message]
2013-07-28 17:30       ` Axel Lin
2013-07-29  7:15         ` Thomas Petazzoni
2013-07-31 17:20       ` Axel Lin

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=20130728192227.708e6c2c@skate \
    --to=thomas.petazzoni@free-electrons.com \
    --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