From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp3-g21.free.fr ([212.27.42.3]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1SATnJ-0004BQ-73 for openembedded-core@lists.openembedded.org; Wed, 21 Mar 2012 23:14:13 +0100 Received: from eb-e6520 (unknown [82.233.81.124]) by smtp3-g21.free.fr (Postfix) with ESMTP id EF631A6168; Wed, 21 Mar 2012 23:05:15 +0100 (CET) Date: Wed, 21 Mar 2012 23:05:14 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: "Kamble, Nitin A" Message-ID: <20120321230514.1c170480@eb-e6520> In-Reply-To: References: <20120321180748.7cc58e67@eb-e6520> <20120321185216.440a6353@eb-e6520> <20120321190208.25dc0387@eb-e6520> <20120321203249.54411613@eb-e6520> <20120321194906.GC3659@jama.jama.net> <20120321220253.00c4f254@eb-e6520> <20120321223521.36e49bba@eb-e6520> Organization: =?ISO-8859-1?B?RXVrculh?= Electromatique X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.8; x86_64-redhat-linux-gnu) Mime-Version: 1.0 Cc: Martin Jansa , "openembedded-core@lists.openembedded.org" Subject: Re: [PATCH 1/1] Revert "gdb-cross-canadian: build gdb with python support" X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: Patches and discussions about the oe-core layer List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2012 22:14:13 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le Wed, 21 Mar 2012 21:53:10 +0000, "Kamble, Nitin A" a =E9crit : > If it is working for you, I don't understand why is it not working here.= =20 >=20 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-li= nux/x86_64-oe-linux-gdb: double free or corruption (out): 0x00007f322681803= 0 *** > 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 =3D> (0x00007fffd05d8000) > libreadline.so.6 =3D> /lib64/libreadline.so.6 (0x0000003f07400000) > libdl.so.2 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-li= nux/lib/libdl.so.2 (0x00007fa207a72000) > libncurses.so.5 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oes= dk-linux/lib/libncurses.so.5 (0x00007fa20784f000) > libtinfo.so.5 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk= -linux/lib/libtinfo.so.5 (0x00007fa207628000) > libz.so.1 =3D> /lib64/libz.so.1 (0x0000003f06c00000) > libm.so.6 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-lin= ux/lib/libm.so.6 (0x00007fa2073a5000) > libpthread.so.0 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oes= dk-linux/lib/libpthread.so.0 (0x00007fa207188000) > libutil.so.1 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-= linux/lib/libutil.so.1 (0x00007fa206f84000) > libexpat.so.1 =3D> /lib64/libexpat.so.1 (0x0000003f09800000) > libc.so.6 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-lin= ux/lib/libc.so.6 (0x00007fa206bfd000) > /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-linux= -x86-64.so.2 =3D> /lib64/ld-linux-x86-64.so.2 (0x0000003f05000000) >=20 >=20 > I am seeing that the sdk gdb is dynamically linking with some of the host= libraries as seen above. >=20 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/libp= ython2.7.so.1.0) linux-vdso.so.1 =3D> (0x00007fff12dff000) libreadline.so.6 =3D> /lib64/libreadline.so.6 (0x0000003ba3a00000) libdl.so.2 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/l= ibdl.so.2 (0x00007fbfa6c67000) libncurses.so.5 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/= lib/libncurses.so.5 (0x00007fbfa6a44000) libtinfo.so.5 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/li= b/libtinfo.so.5 (0x00007fbfa681d000) libz.so.1 =3D> /lib64/libz.so.1 (0x0000003ba3200000) libm.so.6 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/li= bm.so.6 (0x00007fbfa659a000) libpthread.so.0 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/= lib/libpthread.so.0 (0x00007fbfa637d000) libutil.so.1 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib= /libutil.so.1 (0x00007fbfa6179000) libpython2.7.so.1.0 =3D> /usr/lib64/libpython2.7.so.1.0 (0x0000003bb300000= 0) libexpat.so.1 =3D> /lib64/libexpat.so.1 (0x0000003ba7200000) libc.so.6 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/li= bc.so.6 (0x00007fbfa5df1000) /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-linux-x86-64.s= o.2 =3D> /lib64/ld-linux-x86-64.so.2 (0x0000003ba1600000) [ebenard@eb-e6520 x86_64-oe-linux]$ ./x86_64-oe-linux-gdb=20 GNU gdb (GDB) 7.4 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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=3Dx86_64-oesdk-linux --target=3Dx86_64-oe-linux". For bug reporting instructions, please see: . (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/l= ib/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/l= ib/libc.so.6: version `GLIBC_2.14' not found (required by /usr/lib64/libpyt= hon2.7.so.1.0) linux-vdso.so.1 =3D> (0x00007fff7c949000) libreadline.so.6 =3D> /lib64/libreadline.so.6 (0x0000003ba3a00000) libdl.so.2 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/l= ibdl.so.2 (0x00007fe6f9c74000) libncurses.so.5 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/= lib/libncurses.so.5 (0x00007fe6f9a51000) libtinfo.so.5 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/li= b/libtinfo.so.5 (0x00007fe6f982a000) libz.so.1 =3D> /lib64/libz.so.1 (0x0000003ba3200000) libm.so.6 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/li= bm.so.6 (0x00007fe6f95a7000) libpthread.so.0 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/= lib/libpthread.so.0 (0x00007fe6f938a000) libutil.so.1 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib= /libutil.so.1 (0x00007fe6f9186000) libpython2.7.so.1.0 =3D> /usr/lib64/libpython2.7.so.1.0 (0x0000003bb300000= 0) libexpat.so.1 =3D> /lib64/libexpat.so.1 (0x0000003ba7200000) libc.so.6 =3D> /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/li= bc.so.6 (0x00007fe6f8dfe000) /usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/lib/ld-linux-x86-64.s= o.2 =3D> /lib64/ld-linux-x86-64.so.2 (0x0000003ba1600000) [ebenard@eb-e6520 i586-oe-linux]$ ./i586-oe-linux-gdb=20 GNU gdb (GDB) 7.4 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later 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=3Dx86_64-oesdk-linux --target=3Di586-oe-= linux". For bug reporting instructions, please see: . (gdb) quit --=20 http://eukrea.com/en/news/104-2012