[Buildroot] [PATCH] uclibc/arm: don't install ldd.host and ldconfig.host if !HAVE_SHARED

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 28 17:22:27 UTC 2013


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



More information about the buildroot mailing list