From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14301 invoked by alias); 22 Jan 2009 00:29:43 -0000 Received: (qmail 14293 invoked by uid 22791); 22 Jan 2009 00:29:42 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,J_CHICKENPOX_22,SPF_PASS X-Spam-Check-By: sourceware.org Received: from hagrid.ecoscentric.com (HELO mail.ecoscentric.com) (212.13.207.197) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Jan 2009 00:29:34 +0000 Received: from localhost (hagrid.ecoscentric.com [127.0.0.1]) by mail.ecoscentric.com (Postfix) with ESMTP id 4BBB860B8003; Thu, 22 Jan 2009 00:29:32 +0000 (GMT) Received: from mail.ecoscentric.com ([127.0.0.1]) by localhost (hagrid.ecoscentric.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id mTk3aGMLKB9F; Thu, 22 Jan 2009 00:29:29 +0000 (GMT) Received: from [172.31.1.127] (jifvik.dyndns.org [85.158.45.40]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: jlarmour@ecoscentric.com) by mail.ecoscentric.com (Postfix) with ESMTP id 9529C60B8001; Thu, 22 Jan 2009 00:29:29 +0000 (GMT) Message-ID: <4977BDF1.1060304@eCosCentric.com> Date: Thu, 22 Jan 2009 00:29:00 -0000 From: Jonathan Larmour User-Agent: Mozilla Thunderbird 1.0.8-1.1.fc4 (X11/20060501) MIME-Version: 1.0 To: John Dallaway 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> In-Reply-To: <4977B0E2.3040806@dallaway.org.uk> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg00016.txt.bz2 John Dallaway wrote: > Hi Jifl > > Jonathan Larmour wrote: > > >>Anyway, linux build now uploaded to >>ftp://ecos.sourceware.org/pub/ecos/gnutools/ecoscentric-gnutools-sh-elf-20090121-sw.i386linux.tar.bz2 >> >>If that looks ok, I'll try and get a cygwin build going, but as I'm sure >>you would expect, that will take longer. > > > This toolchain certainly seems to have resolved the SH3 build problems I > reported earlier. Thanks. Was adding "m3" to the list of multilibs at > config.gcc:2286 the only change required? Yes, as per updated patch set, also uploaded. > There is a remaining issue with linking the cxxsupp test in particular > (eg target cq7750, default template): > > >>sh-elf-gcc -L/var/local/build/ecos-new/install/lib -Ttarget.ld -o /var/local/build/ecos-new/install/tests/infra/current/tests/cxxsupp tests/cxxsupp.o -mb -m3 -ggdb -nostdlib -Wl,-static -Wl,--fatal-warnings >>/var/local/releng/release-3.0/targetbuild/tools/gnutools/sh-elf/bin/../lib/gcc/sh-elf/4.3.2/../../../../sh-elf/bin/ld: error: no memory region specified for loadable section `.eh_frame' >>collect2: ld returned 1 exit status 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. 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. Jifl -- eCosCentric Limited http://www.eCosCentric.com/ The eCos experts Barnwell House, Barnwell Drive, Cambridge, UK. Tel: +44 1223 245571 Registered in England and Wales: Reg No 4422071. ------["The best things in life aren't things."]------ Opinions==mine