[OE-core] [PATCH] mklibs-native: avoid failure on symbol provided by application

Richard Purdie richard.purdie at linuxfoundation.org
Mon Jun 29 07:05:44 UTC 2015


On Mon, 2015-06-29 at 10:52 +0800, rongqing.li at windriver.com wrote:
> From: Yuanjie Huang <yuanjie.huang at windriver.com>
> 
> Undefined symbols in a library can be provided by the application
> that links to the library, such as `logsink' in libmultipath.so.0.
> This fix checks the type of object in which the symbol is needed
> and the existence of the symbol in application, when a symbol
> cannot be provided by libraries. It prevents false alarm on absence
> of symbols.
> 
> Signed-off-by: Yuanjie Huang <yuanjie.huang at windriver.com>
> ---
>  ...failure-on-symbol-provided-by-application.patch | 100 +++++++++++++++++++++
>  .../mklibs/mklibs-native_0.1.40.bb                 |   1 +
>  2 files changed, 101 insertions(+)
>  create mode 100644 meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch
> 
> diff --git a/meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch b/meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch
> new file mode 100644
> index 0000000..798212a
> --- /dev/null
> +++ b/meta/recipes-devtools/mklibs/files/avoid-failure-on-symbol-provided-by-application.patch
> @@ -0,0 +1,100 @@
> +From f172101130604e4a9efa5746f4d8d30de99a0fdc Mon Sep 17 00:00:00 2001
> +From: Yuanjie Huang <yuanjie.huang at windriver.com>
> +Date: Fri, 17 Apr 2015 14:48:20 +0800
> +Subject: [PATCH] avoid failure on symbol provided by application
> +
> +Undefined symbols in a library can be provided by the application
> +that links to the library, such as `logsink' in libmultipath.so.0.
> +This fix checks the type of object in which the symbol is needed
> +and the existence of the symbol in application, when a symbol
> +cannot be provided by libraries. It prevents false alarm on absence
> +of symbols.
> +
> +Signed-off-by: Yuanjie Huang <yuanjie.huang at windriver.com>

No Upstream-Status?

Cheers,

Richard




More information about the Openembedded-core mailing list