[Buildroot] [PATCH 1/2] Makefile: use root-relative -f path for /sbin/ldconfig

Bjørn Forsman bjorn.forsman at gmail.com
Fri Oct 23 07:12:02 UTC 2015


On 22 October 2015 at 23:19, Arnout Vandecappelle <arnout at mind.be> wrote:
> This makes me worried that it will do the wrong thing on some other build
> hosts. In fact, using /sbin/ldconfig is fundamentally broken since we can't be
> sure that it's compatible with the target dynamic linker.

If you don't want to apply this patch, that is totally fine. It just
fixes a warning I saw while debugging an issue that ended up being
fixed by the next patch:

[PATCH 2/2] Makefile: add -C flag for /sbin/ldconfig

The 2nd patch is the one I really care about, it currently blocks me
from running Buildroot in my preferred environment.

If you want to completely remove use of (host) /sbin/ldconfig, that's fine too.

Just tell me what to do :-)

- Bjørn



More information about the buildroot mailing list