[OE-core] [PATCH] gdb-cross-canadian: Fix linking issues when python support is enabled

Richard Purdie richard.purdie at linuxfoundation.org
Fri Mar 23 14:01:21 UTC 2012


On Fri, 2012-03-23 at 05:50 -0700, Khem Raj wrote:
> gdb-cross-canadian was linking with static version of libpython
> and looking for build host python when run. This could be mismatch
> between python-nativesdk and build host provided python. So we
> make it consistent to always use python-nativesdk
> 
> Instead of adding bunch of -L we add -rpath and -rpath-link
> so that gdb finds all needed libraries in SDK and does not
> reach out into host
> 
> This should fix yocto PR# 2077 as well.
> 
> Signed-off-by: Khem Raj <raj.khem at gmail.com>
> ---
>  meta/recipes-devtools/gdb/gdb-cross-canadian.inc   |    7 ++++---
>  .../recipes-devtools/gdb/gdb-cross-canadian_7.4.bb |    2 +-
>  2 files changed, 5 insertions(+), 4 deletions(-)

Merged to master, thanks!

Richard





More information about the Openembedded-core mailing list