From: Saul Wold <sgw@linux.intel.com>
To: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Cc: "Martin Jansa" <martin.jansa@gmail.com>
Subject: Re: [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support"
Date: Wed, 21 Mar 2012 15:21:12 -0700 [thread overview]
Message-ID: <4F6A5458.9030904@linux.intel.com> (raw)
In-Reply-To: <ADD6A3980E8C39419A432FF422031B4C0137B6A9@ORSMSX106.amr.corp.intel.com>
Eric, Nitin:
Sorry for the top post here, looks like there might be some difference
during configuration and compilation, can you send your config.log and
the log.do_configure along with log.do_compile to the list.
I think they need more investigation.
Sau!
On 03/21/2012 03:10 PM, Kamble, Nitin A wrote:
>> -----Original Message-----
>> From: Eric Bénard [mailto:eric@eukrea.com]
>> Sent: Wednesday, March 21, 2012 3:05 PM
>> To: Kamble, Nitin A
>> Cc: Martin Jansa; openembedded-core@lists.openembedded.org;
>> richard.purdie@linuxfoundation.org
>> Subject: Re: [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with
>> python support"
>>
>> Le Wed, 21 Mar 2012 21:53:10 +0000,
>> "Kamble, Nitin A"<nitin.a.kamble@intel.com> a écrit :
>>> If it is working for you, I don't understand why is it not working
>> here.
>>>
>> it's not working _only_ for me, Martin also had success.
>>
>>> [nitin@nbuild0 oecore-x86_64]$ cd /usr/local/oecore-x86_64/
>>> [nitin@nbuild0 oecore-x86_64]$ ls
>>> environment-setup-x86_64-oe-linux site-config-x86_64-oe-linux
>> sysroots version-x86_64-oe-linux
>>> [nitin@nbuild0 oecore-x86_64]$ . environment-setup-x86_64-oe-linux
>>> [nitin@nbuild0 oecore-x86_64]$ ./sysroots/x86_64-oesdk-
>> linux/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gdb
>>> *** glibc detected *** ./sysroots/x86_64-oesdk-linux/usr/bin/x86_64-
>> oe-linux/x86_64-oe-linux-gdb: double free or corruption (out):
>> 0x00007f3226818030 ***
>>> Aborted (core dumped)
>>> [nitin@nbuild0 oecore-x86_64]$ ldd ./sysroots/x86_64-oesdk-
>> linux/usr/bin/x86_64-oe-linux/x86_64-oe-linux-gdb
>>> linux-vdso.so.1 => (0x00007fffd05d8000)
>>> libreadline.so.6 => /lib64/libreadline.so.6
>> (0x0000003f07400000)
>>> libdl.so.2 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libdl.so.2 (0x00007fa207a72000)
>>> libncurses.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libncurses.so.5 (0x00007fa20784f000)
>>> libtinfo.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libtinfo.so.5 (0x00007fa207628000)
>>> libz.so.1 => /lib64/libz.so.1 (0x0000003f06c00000)
>>> libm.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libm.so.6 (0x00007fa2073a5000)
>>> libpthread.so.0 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libpthread.so.0 (0x00007fa207188000)
>>> libutil.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libutil.so.1 (0x00007fa206f84000)
>>> libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003f09800000)
>>> libc.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6 (0x00007fa206bfd000)
>>> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-
>> linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000003f05000000)
>>>
>>>
>>> I am seeing that the sdk gdb is dynamically linking with some of the
>> host libraries as seen above.
>>>
>> ebenard@eb-e6520 x86_64-oe-linux]$ ldd x86_64-oe-linux-gdb
>> ./x86_64-oe-linux-gdb: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6: version `GLIBC_2.14' not found (required by
>> /lib64/libz.so.1)
>> ./x86_64-oe-linux-gdb: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6: version `GLIBC_2.14' not found (required by
>> /usr/lib64/libpython2.7.so.1.0)
>> linux-vdso.so.1 => (0x00007fff12dff000)
>> libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003ba3a00000)
>> libdl.so.2 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libdl.so.2 (0x00007fbfa6c67000)
>> libncurses.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libncurses.so.5 (0x00007fbfa6a44000)
>> libtinfo.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libtinfo.so.5 (0x00007fbfa681d000)
>> libz.so.1 => /lib64/libz.so.1 (0x0000003ba3200000)
>> libm.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libm.so.6 (0x00007fbfa659a000)
>> libpthread.so.0 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libpthread.so.0 (0x00007fbfa637d000)
>> libutil.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libutil.so.1 (0x00007fbfa6179000)
>> libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0
>> (0x0000003bb3000000)
>> libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003ba7200000)
>> libc.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6 (0x00007fbfa5df1000)
>> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-
>> linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000003ba1600000)
>> [ebenard@eb-e6520 x86_64-oe-linux]$ ./x86_64-oe-linux-gdb
>> GNU gdb (GDB) 7.4
>> Copyright (C) 2012 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law. Type "show
>> copying" and "show warranty" for details.
>> This GDB was configured as "--host=x86_64-oesdk-linux
>> --target=x86_64-oe-linux". For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>.
>> (gdb) quit
>> [ebenard@eb-e6520 x86_64-oe-linux]$ cd ../i586-oe-linux/
>>
>> [ebenard@eb-e6520 i586-oe-linux]$ ldd i586-oe-linux-gdb
>> ./i586-oe-linux-gdb: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6: version `GLIBC_2.14' not found (required by
>> /lib64/libz.so.1)
>> ./i586-oe-linux-gdb: /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6: version `GLIBC_2.14' not found (required by
>> /usr/lib64/libpython2.7.so.1.0)
>> linux-vdso.so.1 => (0x00007fff7c949000)
>> libreadline.so.6 => /lib64/libreadline.so.6 (0x0000003ba3a00000)
>> libdl.so.2 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libdl.so.2 (0x00007fe6f9c74000)
>> libncurses.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libncurses.so.5 (0x00007fe6f9a51000)
>> libtinfo.so.5 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libtinfo.so.5 (0x00007fe6f982a000)
>> libz.so.1 => /lib64/libz.so.1 (0x0000003ba3200000)
>> libm.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libm.so.6 (0x00007fe6f95a7000)
>> libpthread.so.0 => /usr/local/oecore-x86_64/sysroots/x86_64-
>> oesdk-linux/lib/libpthread.so.0 (0x00007fe6f938a000)
>> libutil.so.1 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libutil.so.1 (0x00007fe6f9186000)
>> libpython2.7.so.1.0 => /usr/lib64/libpython2.7.so.1.0
>> (0x0000003bb3000000)
>> libexpat.so.1 => /lib64/libexpat.so.1 (0x0000003ba7200000)
>> libc.so.6 => /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-
>> linux/lib/libc.so.6 (0x00007fe6f8dfe000)
>> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-
>> linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x0000003ba1600000)
>> [ebenard@eb-e6520 i586-oe-linux]$ ./i586-oe-linux-gdb
>> GNU gdb (GDB) 7.4
>> Copyright (C) 2012 Free Software Foundation, Inc.
>> License GPLv3+: GNU GPL version 3 or later
>> <http://gnu.org/licenses/gpl.html>
>> This is free software: you are free to change and redistribute it.
>> There is NO WARRANTY, to the extent permitted by law. Type "show
>> copying"
>> and "show warranty" for details.
>> This GDB was configured as "--host=x86_64-oesdk-linux --target=i586-oe-
>> linux".
>> For bug reporting instructions, please see:
>> <http://www.gnu.org/software/gdb/bugs/>.
>> (gdb) quit
>>
>> --
>> http://eukrea.com/en/news/104-2012
>
>
> Looks like in my case the sdk gdb is not dynamically linked with libpython.
>
> Nitin
>
>
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core@lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core
>
next prev parent reply other threads:[~2012-03-21 22:30 UTC|newest]
Thread overview: 65+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-21 16:35 [PATCH 0/1] fix for the sdk gdb issue nitin.a.kamble
2012-03-21 16:35 ` [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support" nitin.a.kamble
2012-03-21 17:07 ` Eric Bénard
2012-03-21 17:47 ` Kamble, Nitin A
2012-03-21 17:52 ` Eric Bénard
2012-03-21 17:57 ` Kamble, Nitin A
2012-03-21 18:02 ` Eric Bénard
2012-03-21 18:07 ` Kamble, Nitin A
2012-03-21 19:32 ` Eric Bénard
2012-03-21 19:49 ` Martin Jansa
2012-03-21 20:48 ` Kamble, Nitin A
2012-03-21 21:02 ` Eric Bénard
2012-03-21 21:12 ` Kamble, Nitin A
2012-03-21 21:35 ` Eric Bénard
2012-03-21 21:53 ` Kamble, Nitin A
2012-03-21 22:05 ` Eric Bénard
2012-03-21 22:10 ` Kamble, Nitin A
2012-03-21 22:21 ` Saul Wold [this message]
2012-03-21 22:37 ` Eric Bénard
2012-03-21 22:55 ` Kamble, Nitin A
2012-03-21 23:07 ` Kamble, Nitin A
2012-03-22 12:09 ` Eric Bénard
2012-03-21 22:22 ` Kamble, Nitin A
2012-03-22 8:47 ` Martin Jansa
2012-03-22 8:50 ` Eric Bénard
2012-03-22 0:27 ` Khem Raj
2012-03-22 1:58 ` Kamble, Nitin A
2012-03-22 4:24 ` Khem Raj
2012-03-22 4:55 ` Kamble, Nitin A
2012-03-22 5:06 ` Khem Raj
2012-03-22 5:42 ` Khem Raj
2012-03-22 12:13 ` Eric Bénard
2012-03-22 12:17 ` Khem Raj
2012-03-22 12:43 ` Eric Bénard
2012-03-22 12:57 ` Khem Raj
2012-03-22 13:14 ` Eric Bénard
2012-03-22 13:34 ` Eric Bénard
2012-03-22 13:54 ` Khem Raj
2012-03-22 16:20 ` Kamble, Nitin A
2012-03-22 16:38 ` Khem Raj
2012-03-22 17:38 ` Kamble, Nitin A
2012-03-22 19:16 ` Khem Raj
2012-03-22 21:31 ` Eric Bénard
2012-03-22 21:40 ` Kamble, Nitin A
2012-03-23 8:07 ` Eric Bénard
2012-03-22 21:48 ` Kamble, Nitin A
2012-03-23 5:33 ` Khem Raj
2012-03-23 6:29 ` Khem Raj
2012-03-23 7:12 ` Khem Raj
2012-03-23 8:31 ` Eric Bénard
2012-03-23 12:07 ` Khem Raj
2012-03-23 16:07 ` Kamble, Nitin A
2012-03-21 22:04 ` Kamble, Nitin A
2012-03-21 22:09 ` Eric Bénard
2012-03-21 23:25 ` Kamble, Nitin A
2012-03-21 23:29 ` Richard Purdie
2012-03-21 21:48 ` Kamble, Nitin A
2012-03-21 19:04 ` Kamble, Nitin A
2012-03-21 19:36 ` Eric Bénard
2012-03-21 19:48 ` Kamble, Nitin A
2012-03-21 17:58 ` Martin Jansa
-- strict thread matches above, loose matches on Subject: below --
2012-03-23 16:36 Khem Raj
2012-03-23 17:01 ` Kamble, Nitin A
2012-03-23 17:44 ` Richard Purdie
2012-03-23 18:01 ` Khem Raj
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=4F6A5458.9030904@linux.intel.com \
--to=sgw@linux.intel.com \
--cc=martin.jansa@gmail.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox