From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.chez-thomas.org (hermes.mlbassoc.com [64.234.241.98]) by mx1.pokylinux.org (Postfix) with ESMTP id B231C4C800A5 for ; Wed, 2 Feb 2011 09:28:42 -0600 (CST) Received: by mail.chez-thomas.org (Postfix, from userid 999) id 4EA3F16603CB; Wed, 2 Feb 2011 08:28:39 -0700 (MST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on hermes.chez-thomas.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=4.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.3.1 Received: from hermes.chez-thomas.org (hermes_local [192.168.1.101]) by mail.chez-thomas.org (Postfix) with ESMTP id AAF7416603C0; Wed, 2 Feb 2011 08:28:37 -0700 (MST) Message-ID: <4D497825.3010307@mlbassoc.com> Date: Wed, 02 Feb 2011 08:28:37 -0700 From: Gary Thomas User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc13 Thunderbird/3.1.7 MIME-Version: 1.0 To: "yocto@yoctoproject.org" References: <9DA5872FEF993D41B7173F58FCF6BE940A5EBA78@orsmsx504.amr.corp.intel.com> <4D495FE0.7020507@mlbassoc.com> In-Reply-To: <4D495FE0.7020507@mlbassoc.com> Subject: Re: Kernel Panics on armv4t with gcc.4.5.1 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: Wed, 02 Feb 2011 15:28:43 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 02/02/2011 06:45 AM, Gary Thomas wrote: > On 01/31/2011 05:41 PM, Kamble, Nitin A wrote: >> Diego, >> >> Can you try with 4.5.2 gcc from this branch: http://git.pokylinux.org/cgit/cgit.cgi/poky-contrib/log/?h=nitin/khem_gcc_nitin > > I too am having trouble (OMAP-L138 == armv5te/arm926ejs) > > Nitin, I tried using your branch, but it failed to build: > > NOTE: package gcc-cross-intermediate-4.5.2-r3: task do_populate_sysroot: Started > ERROR: Error executing a python function in /home/local/poky-contrib/meta/recipes-devtools/gcc/gcc-cross-intermediate_4.5.2.bb: > OSError: [Errno 2] No such file or directory: > '/home/local/efacec_omap_4.5.2/tmp/work/armv5te-poky-linux-gnueabi/gcc-cross-intermediate-4.5.2-r3/sysroot-destdir///home/local/efacec_omap_4.5.2/tmp/sysroots/cobra-omapl138p78//lib' > > ERROR: The stack trace of python calls that resulted in this exception/failure was: > ERROR: File "sstate_task_postfunc", line 10, in > ERROR: > ERROR: File "sstate_task_postfunc", line 4, in sstate_task_postfunc > ERROR: > ERROR: File "sstate.bbclass", line 17, in sstate_install > ERROR: > ERROR: File "/home/local/poky-contrib/meta/lib/oe/path.py", line 56, in copytree > ERROR: names = os.listdir(src) > ERROR: > ERROR: The code that was being executed was: > ERROR: 0006: bb.build.exec_func(intercept, d) > ERROR: 0007: sstate_package(shared_state, d) > ERROR: 0008: > ERROR: 0009: > ERROR: *** 0010:sstate_task_postfunc(d) > ERROR: 0011: > ERROR: (file: 'sstate_task_postfunc', lineno: 10, function: ) > ERROR: 0001: > ERROR: 0002:def sstate_task_postfunc(d): > ERROR: 0003: shared_state = sstate_state_fromvars(d) > ERROR: *** 0004: sstate_install(shared_state, d) > ERROR: 0005: for intercept in shared_state['interceptfuncs']: > ERROR: 0006: bb.build.exec_func(intercept, d) > ERROR: 0007: sstate_package(shared_state, d) > ERROR: 0008: > ERROR: (file: 'sstate_task_postfunc', lineno: 4, function: sstate_task_postfunc) > ERROR: Function 'sstate_task_postfunc' failed > > > Any ideas how to fix this? Just to check, I applied the patches from Nitin's contrib tree to poky/master and rebuilt - same results. I used the sequence 5b7e96d852778f1164198040cbd165241ea51e40..HEAD > >> *From:*yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] *On Behalf Of *Diego Sueiro >> *Sent:* Monday, January 31, 2011 10:53 AM >> *To:* yocto@yoctoproject.org >> *Subject:* [yocto] Kernel Panics on armv4t with gcc.4.5.1 >> >> Folks, >> >> I'm not a kernel and neither a gcc expert developer, and after searching for a solution for the last 2 weeks I've decided to appeal to the list. >> >> I'm trying to build a kernel image (2.6.32 and 2.6.30) for mini2440 (armv4t) with Yocto Project (poky master branch) and I'm facing a strange issue. >> >> If I compile the kernel with Yocto gcc recipes (gcc 4.5.1) the kernel will panic on init (console printed message is attached for kernel 2.6.30 and 2.6.32). >> >> But, if I compile the kernel with meta-oe gcc recipes (gcc 4.5) everything will be ok. >> >> Just for your reference these is the gcc recipes which I'm using: >> >> http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes-devtools/gcc >> >> http://git.openembedded.org/cgit.cgi/meta-openembedded/tree/recipes-devtools/gcc >> >> I've compiled with and without thumb instructions, but the issue remains. >> >> I've tried to apply the patches gcc-armv4-pass-fix-v4bx-to-ld.patch and gcc-arm-volatile-bitfield-fix.patch, but no success. >> >> Kind Regards, >> >> -- >> >> *dS >> Diego Sueiro >> >> /*long live rock 'n roll*/ >> >> >> >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > -- ------------------------------------------------------------ Gary Thomas | Consulting for the MLB Associates | Embedded world ------------------------------------------------------------