[Buildroot] [PATCH next v6 07/10] core: implement per-package SDK and target

Arnout Vandecappelle arnout at mind.be
Wed Dec 5 10:41:33 UTC 2018



On 05/12/2018 10:44, Thomas Petazzoni wrote:
> The check-host-rpath script is not checking for the presence of
> libraries. 

 Line 48 (before this patch):

	[ -e "${hostdir}/lib/${lib}" ] && return 0

 It *does* check for the presence of libraries, because rpath is only needed
when it uses a library from host_dir. So, the confusing thing is that we check
here that the library is present in per-package/A/host/lib while the rpath is
per-package/B/host/lib. That's what makes it so unintuitive.

 Regards,
 Arnout


> Nowhere it verifies that the NEEDED fields in host binaries
> match libraries found in the RPATH listed in the binaries.



More information about the buildroot mailing list