From gary.carlson at EADS-NAdefense.com Wed Sep 6 17:33:20 2006 From: gary.carlson at EADS-NAdefense.com (Carlson, Gary) Date: Wed, 6 Sep 2006 10:33:20 -0700 Subject: Compiler bug found? Message-ID: <0FAD7C008A1FEB448725A0EFAE2A3A4A03324F07@eadsna-irvexch1.EADS-NAdefense.local> I am presently in the process of trying to compile a linux kernel 2.6.17.10 for a coldfire variant with gcc version 4.1.0 (CodeSourcery Freescale 4.1-14). Unfortunately I am running into the compiler fault: fs/proc/proc_misc.c: In function 'show_stat': fs/proc/proc_misc.c:512: internal compiler error: in find_reloads_address_1, at reload.c:5571 Please submit a full bug report, with preprocessed source if appropriate. See for instructions. I have isolated the fault to the inclusion of the header file. More specifically if the following define is present in this file, the compiler chokes: #define do_div(n,base) ({ \ uint32_t __base = (base); \ uint32_t __rem; \ __rem = ((uint64_t)(n)) % __base; \ (n) = ((uint64_t)(n)) / __base; \ __rem; \ }) If it is taken out, the linker obviously can't find "do_div" at the end but the compiler doesn't fail. Has this problem been seen before? Gary Carlson -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathan at codesourcery.com Wed Sep 6 17:36:27 2006 From: nathan at codesourcery.com (Nathan Sidwell) Date: Wed, 06 Sep 2006 18:36:27 +0100 Subject: [coldfire-gnu-discuss] Compiler bug found? In-Reply-To: <0FAD7C008A1FEB448725A0EFAE2A3A4A03324F07@eadsna-irvexch1.EADS-NAdefense.local> References: <0FAD7C008A1FEB448725A0EFAE2A3A4A03324F07@eadsna-irvexch1.EADS-NAdefense.local> Message-ID: <44FF071B.5080402@codesourcery.com> Carlson, Gary wrote: > I am presently in the process of trying to compile a linux kernel > 2.6.17.10 for a coldfire variant with gcc version 4.1.0 (CodeSourcery > Freescale 4.1-14). Unfortunately I am running into the compiler fault: I'm sorry you've encountered a problem. Thanks for reporting it. > Has this problem been seen before? Not that we're aware of :) We're going to need 1) preprocessed source code (you can get this with -save-temps) 2) the exact compile options used to investigate further. There is an update to the coldfire toolchains scheduled for later this year. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan at codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk From Kiran.Nair at honeywell.com Mon Sep 11 12:31:57 2006 From: Kiran.Nair at honeywell.com (Kiran Chandrashekaran, Nair (IE10)) Date: Mon, 11 Sep 2006 18:01:57 +0530 Subject: Where to get the P&E dll? Message-ID: Hi all, I did download the drivers for Coldfire BDM from the P&E site. In could not find dll files in the pemicro directory. Should this dll be purchased from pemicro separately? Thanks, kcn -------------- next part -------------- An HTML attachment was scrubbed... URL: From nathan at codesourcery.com Mon Sep 11 13:55:33 2006 From: nathan at codesourcery.com (Nathan Sidwell) Date: Mon, 11 Sep 2006 14:55:33 +0100 Subject: [coldfire-gnu-discuss] Where to get the P&E dll? In-Reply-To: References: Message-ID: <45056AD5.1000303@codesourcery.com> Kiran Chandrashekaran, Nair (IE10) wrote: > Hi all, > > > > I did download the drivers for Coldfire BDM from the P&E site. > > In could not find dll files in the pemicro directory. > > > > Should this dll be purchased from pemicro separately? That is true for the moment. We will be including the P&E libraries in a Fall update. nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan at codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk