[OE-core] [PATCH 1/1] cmake-native: fix symbol not found error on old distros

Otavio Salvador otavio at ossystems.com.br
Wed Sep 14 17:09:06 UTC 2011


On Wed, Sep 14, 2011 at 07:13,  <nitin.a.kamble at intel.com> wrote:
> From: Nitin A Kamble <nitin.a.kamble at intel.com>
>
> more information in the patch file

Please put the information on the commit log since people shouldn't
need to look into the patch file to gather it.
...
> +++ b/meta/recipes-devtools/cmake/cmake/fix_for_running_on_older_distros.diff
> @@ -0,0 +1,26 @@
> +Upstream-Status: Inappropriate [embedded specific]
> +
> +Fixes bug: [YOCTO #1459]
> +
> +When sstate files are shared from newer distro machine to older distro machine,
> +the binaries can fail to run due to missing newer symbols from the newer
> +libraries as seen bellow:
> +
> +      U _ZNSt15_List_node_base7_M_hookEPS_@@GLIBCXX_3.4.14
> +      U _ZNSt15_List_node_base9_M_unhookEv@@GLIBCXX_3.4.14
> +
> +This patch makes libstdc++ linking static. so the build system need to have libstdc++-static package installed before building cmake.
> +
> +Date: 2011/09/09
> +Signed-off-by: Nitin A Kamble <nitin.a.kamble at intel.com>
> +diff -rup 1/CompileFlags.cmake 3/CompileFlags.cmake
...

The header is not following the policy; More at
http://www.openembedded.org/wiki/Commit_Patch_Message_Guidelines#Patch_Headers_and_Commit_Messages

-- 
Otavio Salvador                             O.S. Systems
E-mail: otavio at ossystems.com.br  http://www.ossystems.com.br
Mobile: +55 53 9981-7854              http://projetos.ossystems.com.br




More information about the Openembedded-core mailing list