From mint-bounce@lists.fishpool.fi  Tue Jan 22 17:35:45 2008
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Subject: Re: [MiNT] GCC 4.2.2 - Keith's Latest Progress (or lack thereof)
From: Alan Hourihane <alanh@fairlite.demon.co.uk>
To: Olivier Landemarre <olivier.landemarre@utbm.fr>
Cc: mint <mint@fishpool.com>
In-Reply-To: <4795E83B.6080908@utbm.fr>
References: <c6533ef60801131156h2f0d69e7qeff2c8ce8b78df09@mail.gmail.com>
	 <478A8F44.3030702@freesbee.fr> <47936072.4050702@freesbee.fr>
	 <Pine.GSO.4.63.0801201617480.16497@saltmine.radix.net>
	 <1200950139.9669.23.camel@localhost>  <4795E83B.6080908@utbm.fr>
Content-Type: text/plain; charset=UTF-8
Date: Tue, 22 Jan 2008 13:30:33 +0000
Message-Id: <1201008633.4076.18.camel@localhost>
Mime-Version: 1.0
X-Mailer: Evolution 2.12.1 
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: alanh@fairlite.demon.co.uk
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=AWL,
 BAYES_00
X-Spam-Level: 
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by freemint id m0MGP1gU004618
Status: 
X-Status: 
X-Keywords:                   

On Tue, 2008-01-22 at 13:57 +0100, Olivier Landemarre wrote:
> Alan Hourihane a écrit :
> > On Sun, 2008-01-20 at 16:34 -0500, Keith Scroggins wrote:
> >   
> >> Hello all,
> >>
> >> I'm currently building GCC 4.2.2 under AranyM, still got a ways to go.
> >>
> >> Otherwise, I built a Canadian Cross build with Vincent's latest tools and 
> >> packages, and my results were the same it seems, the C compiler seems to 
> >> work on the small items I test, and the C++ compiler does not seem to work 
> >> on what I have tested, creating executables that SIGILL (illegal 
> >> instruction).
> >>     
> >
> > Ugh. Same here now.
> >
> > Since updating GCC & binutils with Vincent's recent updates, the
> > FreeMiNT kernel I build is now generating lots of problems. I'm not sure
> > what's going on either yet. I'll see if I can backtrack on some of the
> > binaries as it used to work.
> >
> > Alan.
> >
> >   
> Hello
> 
> When I compil kernel with gcc 4 for coldfire, I have find some trouble, 
> one possible trouble is when a Signal occur, when it occur Mint kernel 
> modify stack position. For coldfire there was not enough stack put here, 
> I thought it come with 68K emulator even if most of Mint kernel not need 
> it because it was native, but perhaps it's link to GCC 4 that need 
> perhaps more stack. You can try find where I have done this patch 
> (search for #ifdef COLDFIRE and try replace the good one by #if 1, I 
> don't remember in wich file I have done this patch)

I don't think so. As it used to work before Vincent's recent changes.

I took a look at your code and it doesn't make sense....

# ifdef COLDFIRE
    newstack = ((unsigned long) &newcurrent) - 0x40UL - 12UL - 0x100UL;
# else
    newstack = ((unsigned long) &newcurrent) - 0x40UL - 12UL - 0x100UL;
# endif

Alan.


