From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tim.rpsys.net (93-97-173-237.zone5.bethere.co.uk [93.97.173.237]) by mx1.pokylinux.org (Postfix) with ESMTP id D2D674C8009D for ; Fri, 22 Jul 2011 04:00:10 -0500 (CDT) Received: from localhost (localhost [127.0.0.1]) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p6M904x7026685; Fri, 22 Jul 2011 10:00:04 +0100 Received: from tim.rpsys.net ([127.0.0.1]) by localhost (tim.rpsys.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 21020-06; Fri, 22 Jul 2011 10:00:01 +0100 (BST) Received: from [192.168.3.10] ([192.168.3.10]) (authenticated bits=0) by tim.rpsys.net (8.13.6/8.13.8) with ESMTP id p6M8xsZb026669 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Fri, 22 Jul 2011 09:59:57 +0100 From: Richard Purdie To: Andre Haupt In-Reply-To: <20110722083745.GA13064@localhost.localdomain> References: <20110722083745.GA13064@localhost.localdomain> Date: Fri, 22 Jul 2011 09:59:51 +0100 Message-ID: <1311325191.2344.101.camel@rex> Mime-Version: 1.0 X-Mailer: Evolution 2.32.2 X-Virus-Scanned: amavisd-new at rpsys.net Cc: yocto@yoctoproject.org Subject: Re: Bitbaking python fails X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2011 09:00:11 -0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit On Fri, 2011-07-22 at 10:37 +0200, Andre Haupt wrote: > Hi all, > > Building python for poky bernard fails for me with the following error: > > ... > ... > Looking in tk80 for ['/home/ahaupt/yocto-git/build/tmp/sysroots/atom-pc/usr/lib'] > Looking in tcl80 for ['/home/ahaupt/yocto-git/build/tmp/sysroots/atom-pc/usr/lib'] > *** WARNING: renaming "gdbm" since importing it failed: libgdbm.so.3: > cannot open shared object file: No such file or directory > /bin/sh: line 1: 12830 Illegal instruction (core dumped) > LD_LIBRARY_PATH=/home/ahaupt/yocto-git/build/tmp/work/core2-poky- > linux/python-2.6.6-nk1.2/Python-2.6.6:/home/ahaupt/yocto-git/build > /tmp/sysroots/i686-linux/usr/bin/../lib/pseudo/lib:/home/ahaupt > /yocto-git/build/tmp/sysroots/i686-linux/usr/bin/../lib/pseudo/lib64 > CC='ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 > -mtune=generic -mfpmath=sse > --sysroot=/home/ahaupt/yocto-git/build/tmp/sysroots/atom-pc' > LDSHARED='ccache i586-poky-linux-gcc -m32 -march=core2 -msse3 > -mtune=generic -mfpmath=sse > --sysroot=/home/ahaupt/yocto-git/build/tmp/sysroots/atom-pc > -shared' LDFLAGS='-Wl,-O1 -Wl,--as-needed' > OPT='-fexpensive-optimizations -fomit-frame-pointer > -frename-registers -O2 -ggdb -feliminate-unused-debug-types' > /home/ahaupt/yocto-git/build/tmp/sysroots/i686-linux/usr/bin/python > -E ./setup.py -q build > make: *** [sharedmods] Error 132 > FATAL: oe_runmake failed > ERROR: Function 'do_compile' failed (see > /home/ahaupt/yocto-git/build/tmp/work/core2-poky-linux/ > python-2.6.6-nk1.2/temp/log.do_compile.12751 > for further information) > > Does this sound familiar to anyone? libgdbm.so.3 exists in > /home/ahaupt/yocto-git/build/tmp/sysroots/atom-pc/usr/lib and points to > libgdbm.so.3.0.0 > > My target machine is atom-pc and my build host is Fedora 13 in a > VirtualBox machine. I've not seen this before. You could run "file /home/ahaupt/yocto-git/build/tmp/sysroots/atom-pc/usr/lib/libgdbm.so.3.0.0" and check that its of the correct architecture since the invalid instruction is a weird error to see. I'm not 100% sure its that file its complaining about the instruction from though. Does it do this every build, erroring in the same way? I know we did see some emulation corruption type issues with virtualbox in the past although they've not been reported for a while. It might be worth starting a new build of "bitbake python" and see if the error is reproducible too... Cheers, Richard