linux-mips
[Top] [All Lists]

Re: Trouble compiling MIPS cross-compiler

To: linux-mips@linux-mips.org
Subject: Re: Trouble compiling MIPS cross-compiler
From: Thiemo Seufer <ica2_ts@csv.ica.uni-stuttgart.de>
Date: Sun, 18 Jan 2004 08:28:24 +0100
In-reply-to: <1074409013.3602.16.camel@dzur.sfbay.redhat.com>
Original-recipient: rfc822;linux-mips@linux-mips.org
References: <200401171711.34964@korath> <200401181510.35686@korath> <400A1B5F.6010307@gentoo.org> <200401181646.04740@korath> <1074409013.3602.16.camel@dzur.sfbay.redhat.com>
Sender: linux-mips-bounce@linux-mips.org
User-agent: Mutt/1.5.4i
Eric Christopher wrote:
> 
> > If I copy the command line and change -mcpu to -march then it works fine, 
> > but 
> > this isn't happening automatically for some reason.  Any ideas?  (I tried 
> > downgrading to binutils-2.13.xxx but it still gave the error, so I'm 
> > guessing 
> > it's a gcc problem - oh how much easier life would be if they didn't remove 
> > the -mcpu option somewhere along the way ;-))
> 
> Actually, I removed it :)
> 
> If you'd like the rant behind it I'll mail it privately.
> 
> Anyhow, I've been trying to push for the kernel to use either
> 
> a) -march depending on whatever cpu is specified

AFAICS current CVS defaults to that (modulo changing it immediately
afterwards to the generic base arch by an superfluous -mipsX option).

> b) -mtune otherwise (this will generate generic code and then tune for
> something)

Actually, -mtune=r3900 breaks the "generic" part due to an assembler bug
(and did so for a long time).


Thiemo

<Prev in Thread] Current Thread [Next in Thread>