[Buildroot] [PATCH 1/1] toolchain: detect external glibc in symlinked /lib

Cam Hutchison camh at xdna.net
Sun Sep 3 20:30:18 UTC 2017


On 3 September 2017 at 22:49, Yann E. MORIN <yann.morin.1998 at free.fr> wrote:
>
> Cam, what about the fiollowing:
>
>     toolchain: detect external glibc in merged /usr
>
>     When using an external toolchain that was built with Buildroot and a
>     merged /usr., the dynamic linker is actually in /usr/lib.
>
>     But the check_glibc macro only limits the depth it is looking for
>     the dynamic linker, anf misses it when it is in /usr/lib because it
>     is too deep.
>
>     WE could fix that in two ways: increase the depth in which we look
>     for it, or follow symlinks. We choose the second solution.
>
>     Signed-off-by: you
>     Cc: Thomas P.
>     Cc: Thomas DS.
>     Cc: Me
>
> What do you all think about this? ;-)

LGTM. I'll resend shortly.

Thanks,
Cam



More information about the buildroot mailing list