From: Tom Rini <tom_rini@mentor.com>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] gdb-cross-sdk: reconfigure before running oe_runmake configure-host
Date: Tue, 02 Nov 2010 13:47:44 -0700 [thread overview]
Message-ID: <4CD078F0.6010800@mentor.com> (raw)
In-Reply-To: <AANLkTim8oPBrRRMFVBknR+c3+gxMgSZAJkB84qa_ByYO@mail.gmail.com>
Khem Raj wrote:
> On Tue, Nov 2, 2010 at 7:56 AM, Eric Bénard <eric@eukrea.com> wrote:
>> so we have : configure then make configure-host which generates the
>> Makefile that we modify using sed to statically link the libs
>>
>> Without this patch, we don't statically link libncurses, libtinfo
>> and libz which leads to :
>> /usr/local/angstrom/arm/bin/arm-angstrom-linux-gnueabi-gdb:
>> error while loading shared libraries: libtinfo.so.5:
>> cannot open shared object file: No such file or directory
>>
>> when trying to use the toolchain.
>>
>> Signed-off-by: Eric Bénard <eric@eukrea.com>
>
> Acked-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Tom Rini <tom_rini@mentor.com>
>
>> ---
>> recipes/gdb/gdb-cross-sdk.inc | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/recipes/gdb/gdb-cross-sdk.inc b/recipes/gdb/gdb-cross-sdk.inc
>> index 6a708ca..e1d4895 100644
>> --- a/recipes/gdb/gdb-cross-sdk.inc
>> +++ b/recipes/gdb/gdb-cross-sdk.inc
>> @@ -8,6 +8,7 @@ EXTRA_OEMAKE = "'SUBDIRS=intl mmalloc libiberty opcodes bfd sim gdb etc utils' L
>> # add a depenency on the -sdk versions of them.
>> do_configure_append () {
>> cd ${B}
>> + oe_runconf
>> oe_runmake configure-host
>> sed -e 's,-lncurses,${STAGING_LIBDIR_NATIVE}/libncurses.a ${STAGING_LIBDIR_NATIVE}/libtinfo.a ,g' -i ${B}/gdb/Makefile
>> sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i ${B}/gdb/Makefile
>> @@ -16,5 +17,4 @@ do_configure_append () {
>> for SIM in ${B}/sim/*/Makefile; do
>> [ -f $SIM ] && sed -e 's,-lz, ${STAGING_LIBDIR_NATIVE}/libz.a ,g' -i $SIM
>> done
>> - oe_runconf
>> }
>> --
>> 1.6.3.3
>>
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel@lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
--
Tom Rini
Mentor Graphics Corporation
next prev parent reply other threads:[~2010-11-02 20:48 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-01 21:29 [PATCH] gdb-cross-sdk: don't reconfigure after making changes in gdb/Makefile Eric Bénard
2010-11-02 4:41 ` Khem Raj
2010-11-02 14:46 ` Eric Bénard
2010-11-02 14:56 ` [PATCH] gdb-cross-sdk: reconfigure before running oe_runmake configure-host Eric Bénard
2010-11-02 17:56 ` Khem Raj
2010-11-02 20:47 ` Tom Rini [this message]
2010-11-02 14:57 ` [PATCH] gdb-cross-sdk: don't reconfigure after making changes in gdb/Makefile Tom Rini
2010-11-02 16:43 ` Eric Bénard
2010-11-02 20:47 ` Tom Rini
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4CD078F0.6010800@mentor.com \
--to=tom_rini@mentor.com \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.