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

Axel Lin axel.lin at ingics.com
Sun Jul 28 17:30:16 UTC 2013


2013/7/29 Thomas Petazzoni <thomas.petazzoni at free-electrons.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.
May I ask why config BR2_BINFMT_FLAT depends on BR2_bfin || BR2_m68k
I ask this becuase I'm going to build for arm7tdmi which is noMMU.
And config BR2_BINFMT_FLAT is invisible now due to the dependency.

>
> I know Gustavo is working on improving the ARM noMMU, hopefully he will
> post patches soon.
Good to know this.
And thanks for your reply.

Regards,
Axel


More information about the buildroot mailing list