From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31258 invoked by alias); 22 Jan 2009 10:15:30 -0000 Received: (qmail 31249 invoked by uid 22791); 22 Jan 2009 10:15:29 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_22 X-Spam-Check-By: sourceware.org Received: from mtaout01-winn.ispmail.ntl.com (HELO mtaout01-winn.ispmail.ntl.com) (81.103.221.47) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jan 2009 10:15:24 +0000 Received: from aamtaout04-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com (InterMail vM.7.08.04.00 201-2186-134-20080326) with ESMTP id <20090122101507.VEMF2989.mtaout01-winn.ispmail.ntl.com@aamtaout04-winn.ispmail.ntl.com>; Thu, 22 Jan 2009 10:15:07 +0000 Received: from cog.dallaway.org.uk ([213.106.81.244]) by aamtaout04-winn.ispmail.ntl.com (InterMail vG.2.02.00.01 201-2161-120-102-20060912) with ESMTP id <20090122101507.YXEG22934.aamtaout04-winn.ispmail.ntl.com@cog.dallaway.org.uk>; Thu, 22 Jan 2009 10:15:07 +0000 Received: from cog.dallaway.org.uk (cog.dallaway.org.uk [127.0.0.1]) by cog.dallaway.org.uk (8.13.8/8.13.8) with ESMTP id n0MAF4Ku013724; Thu, 22 Jan 2009 10:15:05 GMT Message-ID: <49784728.50700@dallaway.org.uk> Date: Thu, 22 Jan 2009 10:15:00 -0000 From: John Dallaway User-Agent: Thunderbird 2.0.0.19 (X11/20090107) MIME-Version: 1.0 To: Jonathan Larmour CC: ecos-maintainers@ecos.sourceware.org Subject: Re: Building RedBoot for SH3 targets with new toolchain References: <49777C14.8070201@dallaway.org.uk> <497785C0.50004@eCosCentric.com> <49779CC3.2000202@dallaway.org.uk> <4977A2A8.1030608@eCosCentric.com> <4977B0E2.3040806@dallaway.org.uk> <4977BDF1.1060304@eCosCentric.com> In-Reply-To: <4977BDF1.1060304@eCosCentric.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact ecos-maintainers-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: ecos-maintainers-owner@ecos.sourceware.org X-SW-Source: 2009-01/txt/msg00017.txt.bz2 Hi Jifl Jonathan Larmour wrote: > The sh.ld linker script does have the necessary SECTION_eh_frame define. > But older SH targets have not been updated to use it. In fact the only > one that does is the sh4_202_md. Something to note down for after the > code freeze. Hmm, yes. There will be many targets on other architectures that also need their .ldi files updating. > In a slight change of plan, I think I'll wait until you're finished > looking at all the targets before starting even the SH cygwin build - > given the recent report it seems like it may be wise to rebuild all the > cygwin tools with statically linked GMP and MPFR. I have no desire to > rebuild them all more than once, so let's wait to see if your > experiments show up more issues down to the tools. You should find that re-spinning on Cygwin takes no more effort than on Linux. Of course, elapsed time is another matter entirely! With Cygwin, it is generally preferable to take advantage of shared DLLs wherever possible to reduce application load times and overall memory footprint. This is especially true for parallel builds (eg "make -j2"). FYI, the latest Cygwin-hosted tools are also dependent on Cygwin intl and iconv DLLs for internationalisation. I am aware of several members of the eCos community that are using the current Cygwin-hosted toolchains with no reported problems. We also have the flexibility of releasing updated toolchains independently of our eCos releases should this prove necessary in the future. Taking all these things into account, plus the desire to avoid further delays to the eCos 3.0 release, I think it preferable to stick with the stock mpfr and gmp DLLs for the Cygwin-hosted toolchains. We must document the need to install the relevant Cygwin packages though, and add an entry to the FAQ. John Dallaway