From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30229 invoked by alias); 17 Jan 2008 19:21:28 -0000 Received: (qmail 30216 invoked by uid 22791); 17 Jan 2008 19:21:26 -0000 X-Spam-Check-By: sourceware.org Received: from main.gmane.org (HELO ciao.gmane.org) (80.91.229.2) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 17 Jan 2008 19:21:07 +0000 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JFaIQ-00053t-5s for ecos-discuss@sources.redhat.com; Thu, 17 Jan 2008 19:21:02 +0000 Received: from host217-34-45-110.in-addr.btopenworld.com ([217.34.45.110]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jan 2008 19:21:02 +0000 Received: from dlawrence by host217-34-45-110.in-addr.btopenworld.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 Jan 2008 19:21:02 +0000 To: ecos-discuss@sources.redhat.com From: Dave Lawrence Date: Thu, 17 Jan 2008 19:21:00 -0000 Message-ID: References: <001001c85189$461611c0$1c0110ac@ariga> <4782BE28.8030706@mlbassoc.com> <002d01c85192$6fe45850$1c0110ac@ariga> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <002d01c85192$6fe45850$1c0110ac@ariga> X-IsSubscribed: yes Mailing-List: contact ecos-discuss-help@ecos.sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@ecos.sourceware.org Subject: [ECOS] Re: Wrongfully compiled code X-SW-Source: 2008-01/txt/msg00094.txt.bz2 > sh-elf/sh-elf/include > Thread model: single > gcc version 3.2.1 We found a bug in this version (probably the same one). I managed to compile GCC 4.1.1 using the following sources binutils 2.16 Newlib 1.14.0 (copy this to inside the GCC source directory) Gcc 4.1.1 I had to make one hack to the configure file. It fails on a test, but you can proceed without it, you'll just have to inspect the file when the problem occurs and comment out that test. I can't remember any more details than that sorry. binutils is compiled separately. Newlib is not strictly needed by ecos but I found GCC wouldn't compile without it (use the --with-newlib option in the configure). btw the compile time is measured in hours (about 4.5 on the PC I used) -- Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss