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 1SApkB-0008B5-UQ for openembedded-core@lists.openembedded.org; Thu, 22 Mar 2012 22:40:28 +0100 Received: from eb-e6520 (unknown [82.233.81.124]) by smtp3-g21.free.fr (Postfix) with ESMTP id 83B32A6264; Thu, 22 Mar 2012 22:31:29 +0100 (CET) Date: Thu, 22 Mar 2012 22:31:27 +0100 From: Eric =?ISO-8859-1?B?QuluYXJk?= To: Khem Raj Message-ID: <20120322223127.136698cf@eb-e6520> In-Reply-To: References: <20120322131310.1c6455d1@eb-e6520> <20120322134340.1af3dfda@eb-e6520> <20120322141455.644058f0@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: Jansa , Martin, Patches, about the oe-core layer 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: Thu, 22 Mar 2012 21:40:28 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Khem, Hi Nitin, Le Thu, 22 Mar 2012 12:16:44 -0700, Khem Raj a =E9crit : > On Thu, Mar 22, 2012 at 10:38 AM, Kamble, Nitin A > wrote: > > Looks like we need this patch for the python recipe to generate debug m= odules: > > http://patch-tracker.debian.org/patch/series/view/python2.7/2.7.2-8/deb= ug-build.diff >=20 > yep thats the one. Apply it to python and rebuild python-native and > stage it then see if that helps. You might have to adjust the FILES > and PACKAGES to put the new files in right places. With this patch all the libraries (including libpython2.7) now have a _d suffix : is that what we really want ? Once that's hacked in the recipe so that do_compile works - in case someone has an idea - I get a failure during installation of python-nativesdk : build/tmp-eglibc/work/x86_64-nativesdk-oesdk-linux/python-nativesdk-2.7.2-r= 1.9/image/usr/local/oecore-x86_64/sysroots/x86_64-oesdk-linux/usr/lib/pytho= n2.7/sysconfig.py : return os.path.join(get_path('platstdlib'), "config" + (sys.pydebug and "_d" or ""), "Makefile") | AttributeError: 'module' object has no attribute 'pydebug I checked on both debian & fedora and they are using this patch only to generate debug packages, not for the standard package. Moreover, when I execute gdb on my PC (Fedora 16) it runs fine and I don't have readline_d.so installed in lib-dynload so it seems possible to get gdb to work with python without having debug symbols. Eric