* [RFC] gdb-cross: add pythonnative
@ 2012-07-31 1:26 Martin Jansa
2012-07-31 11:07 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2012-07-31 1:26 UTC (permalink / raw)
To: openembedded-core
* fails like this without:
| gcc -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroo
ts/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 \
| -o gdb gdb.o libgdb.a \
| -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ldl -lncurses -lz -lm -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libexpat.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib ../libiberty/libiberty.a gnulib/libgnu.a
| libgdb.a(python.o): In function `gdbpy_target_wide_charset':
| python.c:(.text+0x1e7): undefined reference to `PyUnicodeUCS4_Decode'
| libgdb.a(python.o): In function `gdbpy_target_charset':
| python.c:(.text+0x237): undefined reference to `PyUnicodeUCS4_Decode'
| libgdb.a(py-cmd.o): In function `cmdpy_completer':
| py-cmd.c:(.text+0x97): undefined reference to `PyUnicodeUCS4_Decode'
| py-cmd.c:(.text+0xc3): undefined reference to `PyUnicodeUCS4_Decode'
| libgdb.a(py-cmd.o): In function `cmdpy_function':
| py-cmd.c:(.text+0x39d): undefined reference to `PyUnicodeUCS4_Decode'
| libgdb.a(py-frame.o):py-frame.c:(.text+0xa21): more undefined references to `PyUnicodeUCS4_Decode' follow
| libgdb.a(py-utils.o): In function `unicode_to_encoded_string':
| py-utils.c:(.text+0x8): undefined reference to `PyUnicodeUCS4_AsEncodedString'
| libgdb.a(py-utils.o): In function `python_string_to_unicode':
| py-utils.c:(.text+0xc6): undefined reference to `PyUnicodeUCS4_FromEncodedObject'
| libgdb.a(py-utils.o): In function `unicode_to_target_python_string':
| py-utils.c:(.text+0x13a): undefined reference to `PyUnicodeUCS4_AsEncodedString'
| libgdb.a(py-utils.o): In function `target_string_to_unicode':
| py-utils.c:(.text+0x2a5): undefined reference to `PyUnicodeUCS4_Decode'
| libgdb.a(py-value.o): In function `valpy_string':
| py-value.c:(.text+0x4ac): undefined reference to `PyUnicodeUCS4_Decode'
| libgdb.a(py-value.o): In function `valpy_str':
| py-value.c:(.text+0xab4): undefined reference to `PyUnicodeUCS4_Decode'
| collect2: error: ld returned 1 exit status
| make[2]: *** [gdb] Error 1
| make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gdb-cross-7.4.1-r1.0/build-arm-oe-linux-gnueabi/gdb'
| make[1]: *** [all-gdb] Error 2
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb b/meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb
index a14d0ba..81afc38 100644
--- a/meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb
+++ b/meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb
@@ -1,5 +1,7 @@
require gdb-cross.inc
+inherit pythonnative
+
SRC_URI += "file://sim-install-6.6.patch"
PR = "${INC_PR}.0"
--
1.7.8.6
^ permalink raw reply related [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-07-31 1:26 [RFC] gdb-cross: add pythonnative Martin Jansa
@ 2012-07-31 11:07 ` Richard Purdie
2012-07-31 11:10 ` Martin Jansa
0 siblings, 1 reply; 8+ messages in thread
From: Richard Purdie @ 2012-07-31 11:07 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
On Tue, 2012-07-31 at 03:26 +0200, Martin Jansa wrote:
> * fails like this without:
> | gcc -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroo
> ts/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 \
> | -o gdb gdb.o libgdb.a \
> | -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ldl -lncurses -lz -lm -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libexpat.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib ../libiberty/libiberty.a gnulib/libgnu.a
> | libgdb.a(python.o): In function `gdbpy_target_wide_charset':
> | python.c:(.text+0x1e7): undefined reference to `PyUnicodeUCS4_Decode'
> | libgdb.a(python.o): In function `gdbpy_target_charset':
> | python.c:(.text+0x237): undefined reference to `PyUnicodeUCS4_Decode'
> | libgdb.a(py-cmd.o): In function `cmdpy_completer':
> | py-cmd.c:(.text+0x97): undefined reference to `PyUnicodeUCS4_Decode'
> | py-cmd.c:(.text+0xc3): undefined reference to `PyUnicodeUCS4_Decode'
> | libgdb.a(py-cmd.o): In function `cmdpy_function':
> | py-cmd.c:(.text+0x39d): undefined reference to `PyUnicodeUCS4_Decode'
> | libgdb.a(py-frame.o):py-frame.c:(.text+0xa21): more undefined references to `PyUnicodeUCS4_Decode' follow
> | libgdb.a(py-utils.o): In function `unicode_to_encoded_string':
> | py-utils.c:(.text+0x8): undefined reference to `PyUnicodeUCS4_AsEncodedString'
> | libgdb.a(py-utils.o): In function `python_string_to_unicode':
> | py-utils.c:(.text+0xc6): undefined reference to `PyUnicodeUCS4_FromEncodedObject'
> | libgdb.a(py-utils.o): In function `unicode_to_target_python_string':
> | py-utils.c:(.text+0x13a): undefined reference to `PyUnicodeUCS4_AsEncodedString'
> | libgdb.a(py-utils.o): In function `target_string_to_unicode':
> | py-utils.c:(.text+0x2a5): undefined reference to `PyUnicodeUCS4_Decode'
> | libgdb.a(py-value.o): In function `valpy_string':
> | py-value.c:(.text+0x4ac): undefined reference to `PyUnicodeUCS4_Decode'
> | libgdb.a(py-value.o): In function `valpy_str':
> | py-value.c:(.text+0xab4): undefined reference to `PyUnicodeUCS4_Decode'
> | collect2: error: ld returned 1 exit status
> | make[2]: *** [gdb] Error 1
> | make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gdb-cross-7.4.1-r1.0/build-arm-oe-linux-gnueabi/gdb'
> | make[1]: *** [all-gdb] Error 2
>
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
> meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
Is python enabled for gdb-cross in OE-Core?
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-07-31 11:07 ` Richard Purdie
@ 2012-07-31 11:10 ` Martin Jansa
2012-08-01 16:23 ` Darren Hart
0 siblings, 1 reply; 8+ messages in thread
From: Martin Jansa @ 2012-07-31 11:10 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer
[-- Attachment #1: Type: text/plain, Size: 3397 bytes --]
On Tue, Jul 31, 2012 at 12:07:06PM +0100, Richard Purdie wrote:
> On Tue, 2012-07-31 at 03:26 +0200, Martin Jansa wrote:
> > * fails like this without:
> > | gcc -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroo
> > ts/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 \
> > | -o gdb gdb.o libgdb.a \
> > | -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ldl -lncurses -lz -lm -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libexpat.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib ../libiberty/libiberty.a gnulib/libgnu.a
> > | libgdb.a(python.o): In function `gdbpy_target_wide_charset':
> > | python.c:(.text+0x1e7): undefined reference to `PyUnicodeUCS4_Decode'
> > | libgdb.a(python.o): In function `gdbpy_target_charset':
> > | python.c:(.text+0x237): undefined reference to `PyUnicodeUCS4_Decode'
> > | libgdb.a(py-cmd.o): In function `cmdpy_completer':
> > | py-cmd.c:(.text+0x97): undefined reference to `PyUnicodeUCS4_Decode'
> > | py-cmd.c:(.text+0xc3): undefined reference to `PyUnicodeUCS4_Decode'
> > | libgdb.a(py-cmd.o): In function `cmdpy_function':
> > | py-cmd.c:(.text+0x39d): undefined reference to `PyUnicodeUCS4_Decode'
> > | libgdb.a(py-frame.o):py-frame.c:(.text+0xa21): more undefined references to `PyUnicodeUCS4_Decode' follow
> > | libgdb.a(py-utils.o): In function `unicode_to_encoded_string':
> > | py-utils.c:(.text+0x8): undefined reference to `PyUnicodeUCS4_AsEncodedString'
> > | libgdb.a(py-utils.o): In function `python_string_to_unicode':
> > | py-utils.c:(.text+0xc6): undefined reference to `PyUnicodeUCS4_FromEncodedObject'
> > | libgdb.a(py-utils.o): In function `unicode_to_target_python_string':
> > | py-utils.c:(.text+0x13a): undefined reference to `PyUnicodeUCS4_AsEncodedString'
> > | libgdb.a(py-utils.o): In function `target_string_to_unicode':
> > | py-utils.c:(.text+0x2a5): undefined reference to `PyUnicodeUCS4_Decode'
> > | libgdb.a(py-value.o): In function `valpy_string':
> > | py-value.c:(.text+0x4ac): undefined reference to `PyUnicodeUCS4_Decode'
> > | libgdb.a(py-value.o): In function `valpy_str':
> > | py-value.c:(.text+0xab4): undefined reference to `PyUnicodeUCS4_Decode'
> > | collect2: error: ld returned 1 exit status
> > | make[2]: *** [gdb] Error 1
> > | make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gdb-cross-7.4.1-r1.0/build-arm-oe-linux-gnueabi/gdb'
> > | make[1]: *** [all-gdb] Error 2
> >
> > Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> > ---
> > meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb | 2 ++
> > 1 files changed, 2 insertions(+), 0 deletions(-)
>
> Is python enabled for gdb-cross in OE-Core?
Explicitly only in gdb-cross-canadian, so I guess gdb-cross autodetected
it (sorry I don't have config.log anymore).
Cheers,
--
Martin 'JaMa' Jansa jabber: Martin.Jansa@gmail.com
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 205 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-07-31 11:10 ` Martin Jansa
@ 2012-08-01 16:23 ` Darren Hart
2012-08-07 12:38 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Darren Hart @ 2012-08-01 16:23 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On 07/31/2012 04:10 AM, Martin Jansa wrote:
> On Tue, Jul 31, 2012 at 12:07:06PM +0100, Richard Purdie wrote:
>> On Tue, 2012-07-31 at 03:26 +0200, Martin Jansa wrote:
>>> * fails like this without:
>>> | gcc -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroo
>>> ts/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 \
>>> | -o gdb gdb.o libgdb.a \
>>> | -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ldl -lncurses -lz -lm -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libexpat.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib ../libiberty/libiberty.a gnulib/libgnu.a
>>> | libgdb.a(python.o): In function `gdbpy_target_wide_charset':
>>> | python.c:(.text+0x1e7): undefined reference to `PyUnicodeUCS4_Decode'
>>> | libgdb.a(python.o): In function `gdbpy_target_charset':
>>> | python.c:(.text+0x237): undefined reference to `PyUnicodeUCS4_Decode'
>>> | libgdb.a(py-cmd.o): In function `cmdpy_completer':
>>> | py-cmd.c:(.text+0x97): undefined reference to `PyUnicodeUCS4_Decode'
>>> | py-cmd.c:(.text+0xc3): undefined reference to `PyUnicodeUCS4_Decode'
>>> | libgdb.a(py-cmd.o): In function `cmdpy_function':
>>> | py-cmd.c:(.text+0x39d): undefined reference to `PyUnicodeUCS4_Decode'
>>> | libgdb.a(py-frame.o):py-frame.c:(.text+0xa21): more undefined references to `PyUnicodeUCS4_Decode' follow
>>> | libgdb.a(py-utils.o): In function `unicode_to_encoded_string':
>>> | py-utils.c:(.text+0x8): undefined reference to `PyUnicodeUCS4_AsEncodedString'
>>> | libgdb.a(py-utils.o): In function `python_string_to_unicode':
>>> | py-utils.c:(.text+0xc6): undefined reference to `PyUnicodeUCS4_FromEncodedObject'
>>> | libgdb.a(py-utils.o): In function `unicode_to_target_python_string':
>>> | py-utils.c:(.text+0x13a): undefined reference to `PyUnicodeUCS4_AsEncodedString'
>>> | libgdb.a(py-utils.o): In function `target_string_to_unicode':
>>> | py-utils.c:(.text+0x2a5): undefined reference to `PyUnicodeUCS4_Decode'
>>> | libgdb.a(py-value.o): In function `valpy_string':
>>> | py-value.c:(.text+0x4ac): undefined reference to `PyUnicodeUCS4_Decode'
>>> | libgdb.a(py-value.o): In function `valpy_str':
>>> | py-value.c:(.text+0xab4): undefined reference to `PyUnicodeUCS4_Decode'
>>> | collect2: error: ld returned 1 exit status
>>> | make[2]: *** [gdb] Error 1
>>> | make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gdb-cross-7.4.1-r1.0/build-arm-oe-linux-gnueabi/gdb'
>>> | make[1]: *** [all-gdb] Error 2
>>>
>>> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
>>> ---
>>> meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb | 2 ++
>>> 1 files changed, 2 insertions(+), 0 deletions(-)
>>
>> Is python enabled for gdb-cross in OE-Core?
>
> Explicitly only in gdb-cross-canadian, so I guess gdb-cross autodetected
> it (sorry I don't have config.log anymore).
>
This resolves my gdb-cross build issue on poky-tiny. Thanks Martin.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-08-01 16:23 ` Darren Hart
@ 2012-08-07 12:38 ` Richard Purdie
2012-08-07 16:14 ` Darren Hart
0 siblings, 1 reply; 8+ messages in thread
From: Richard Purdie @ 2012-08-07 12:38 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On Wed, 2012-08-01 at 09:23 -0700, Darren Hart wrote:
>
> On 07/31/2012 04:10 AM, Martin Jansa wrote:
> > On Tue, Jul 31, 2012 at 12:07:06PM +0100, Richard Purdie wrote:
> >> On Tue, 2012-07-31 at 03:26 +0200, Martin Jansa wrote:
> >>> * fails like this without:
> >>> | gcc -isystem/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/include -O2 -pipe -L/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -L/OE/shr-core/tmp-eglibc/sysroo
> >>> ts/x86_64-linux/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath-link,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib -Wl,-rpath,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/lib -Wl,-O1 \
> >>> | -o gdb gdb.o libgdb.a \
> >>> | -lreadline ../opcodes/libopcodes.a ../bfd/libbfd.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -ldl -lncurses -lz -lm -lpthread -ldl -lutil -lm -lpython2.7 -Xlinker -export-dynamic /OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib/libexpat.so -Wl,-rpath -Wl,/OE/shr-core/tmp-eglibc/sysroots/x86_64-linux/usr/lib ../libiberty/libiberty.a gnulib/libgnu.a
> >>> | libgdb.a(python.o): In function `gdbpy_target_wide_charset':
> >>> | python.c:(.text+0x1e7): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | libgdb.a(python.o): In function `gdbpy_target_charset':
> >>> | python.c:(.text+0x237): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | libgdb.a(py-cmd.o): In function `cmdpy_completer':
> >>> | py-cmd.c:(.text+0x97): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | py-cmd.c:(.text+0xc3): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | libgdb.a(py-cmd.o): In function `cmdpy_function':
> >>> | py-cmd.c:(.text+0x39d): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | libgdb.a(py-frame.o):py-frame.c:(.text+0xa21): more undefined references to `PyUnicodeUCS4_Decode' follow
> >>> | libgdb.a(py-utils.o): In function `unicode_to_encoded_string':
> >>> | py-utils.c:(.text+0x8): undefined reference to `PyUnicodeUCS4_AsEncodedString'
> >>> | libgdb.a(py-utils.o): In function `python_string_to_unicode':
> >>> | py-utils.c:(.text+0xc6): undefined reference to `PyUnicodeUCS4_FromEncodedObject'
> >>> | libgdb.a(py-utils.o): In function `unicode_to_target_python_string':
> >>> | py-utils.c:(.text+0x13a): undefined reference to `PyUnicodeUCS4_AsEncodedString'
> >>> | libgdb.a(py-utils.o): In function `target_string_to_unicode':
> >>> | py-utils.c:(.text+0x2a5): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | libgdb.a(py-value.o): In function `valpy_string':
> >>> | py-value.c:(.text+0x4ac): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | libgdb.a(py-value.o): In function `valpy_str':
> >>> | py-value.c:(.text+0xab4): undefined reference to `PyUnicodeUCS4_Decode'
> >>> | collect2: error: ld returned 1 exit status
> >>> | make[2]: *** [gdb] Error 1
> >>> | make[2]: Leaving directory `/OE/shr-core/tmp-eglibc/work/armv4t-oe-linux-gnueabi/gdb-cross-7.4.1-r1.0/build-arm-oe-linux-gnueabi/gdb'
> >>> | make[1]: *** [all-gdb] Error 2
> >>>
> >>> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> >>> ---
> >>> meta/recipes-devtools/gdb/gdb-cross_7.4.1.bb | 2 ++
> >>> 1 files changed, 2 insertions(+), 0 deletions(-)
> >>
> >> Is python enabled for gdb-cross in OE-Core?
> >
> > Explicitly only in gdb-cross-canadian, so I guess gdb-cross autodetected
> > it (sorry I don't have config.log anymore).
> >
>
> This resolves my gdb-cross build issue on poky-tiny. Thanks Martin.
I fixed this properly by disabling python in gdb-cross.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-08-07 12:38 ` Richard Purdie
@ 2012-08-07 16:14 ` Darren Hart
2012-08-07 20:15 ` Khem Raj
0 siblings, 1 reply; 8+ messages in thread
From: Darren Hart @ 2012-08-07 16:14 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On 08/07/2012 05:38 AM, Richard Purdie wrote:
> On Wed, 2012-08-01 at 09:23 -0700, Darren Hart wrote:
>>
>> On 07/31/2012 04:10 AM, Martin Jansa wrote:
>>>> Is python enabled for gdb-cross in OE-Core?
>>>
>>> Explicitly only in gdb-cross-canadian, so I guess gdb-cross autodetected
>>> it (sorry I don't have config.log anymore).
>>>
>>
>> This resolves my gdb-cross build issue on poky-tiny. Thanks Martin.
>
> I fixed this properly by disabling python in gdb-cross.
Great, thanks RP!
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-08-07 16:14 ` Darren Hart
@ 2012-08-07 20:15 ` Khem Raj
2012-08-07 20:31 ` Richard Purdie
0 siblings, 1 reply; 8+ messages in thread
From: Khem Raj @ 2012-08-07 20:15 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On Tue, Aug 7, 2012 at 9:14 AM, Darren Hart <dvhart@linux.intel.com> wrote:
>
>> I fixed this properly by disabling python in gdb-cross.
I think having python support would be desirable no ?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [RFC] gdb-cross: add pythonnative
2012-08-07 20:15 ` Khem Raj
@ 2012-08-07 20:31 ` Richard Purdie
0 siblings, 0 replies; 8+ messages in thread
From: Richard Purdie @ 2012-08-07 20:31 UTC (permalink / raw)
To: Patches and discussions about the oe-core layer; +Cc: Martin Jansa
On Tue, 2012-08-07 at 13:15 -0700, Khem Raj wrote:
> On Tue, Aug 7, 2012 at 9:14 AM, Darren Hart <dvhart@linux.intel.com> wrote:
> >
> >> I fixed this properly by disabling python in gdb-cross.
>
> I think having python support would be desirable no ?
Perhaps, I didn't make a decision on that. Just inheriting pythonnative
isn't the correct way to do that, we need to make an explicit decision
and set the correct configure option so its clear what we're doing.
In the meantime I wasn't happy seeing build failures.
Cheers,
Richard
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2012-08-07 20:42 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-31 1:26 [RFC] gdb-cross: add pythonnative Martin Jansa
2012-07-31 11:07 ` Richard Purdie
2012-07-31 11:10 ` Martin Jansa
2012-08-01 16:23 ` Darren Hart
2012-08-07 12:38 ` Richard Purdie
2012-08-07 16:14 ` Darren Hart
2012-08-07 20:15 ` Khem Raj
2012-08-07 20:31 ` Richard Purdie
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox