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:[email protected]]
Sent: Wednesday, March 21, 2012 3:05 PM
To: Kamble, Nitin A
Cc: Martin Jansa; [email protected];
[email protected]
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"<[email protected]>  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
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core

Reply via email to