Re: [RFC PATCH V2] MIPS: fix build with binutils 2.24.51+

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 25 Aug 2014, Manuel Lauss wrote:

> > 1. Determine whether `-Wa,-msoft-float' and `.set hardfloat' are available
> >    (a single check will do, they were added to GAS both at the same time)
> >    and only enable them if supported by binutils being used to build the
> >    kernel, e.g. (for the `.set' part):
> >
> > #ifdef GAS_HAS_SET_HARDFLOAT
> > #define SET_HARDFLOAT .set      hardfloat
> > #else
> > #define SET_HARDFLOAT
> > #endif
> >
> >    Otherwise we'd have to bump the binutils requirement up to 2.19; this
> 
> Do people really update their toolchain so rarely?

 I don't know, but unless they're toolchain developers at the same time 
I'd expect some to stick with whatever they've found working.  The worst 
thing that can happen to you is when you need to upgrade the kernel to fix 
a critical bug, then the updated kernel requires newer tools and then the 
newer tools trigger a bunch of new bugs that you don't even know if they 
are kernel or toolchain bugs (or both).  So I don't want to force people 
to upgrade unless absolutely necessary (e.g. a microMIPS kernel), I'd 
rather let them do it whenever *they* feel comfortable doing it.

 Linux's generic requirement is binutils 2.12 or newer, I reckon we bumped 
the corresponding requirement for the MIPS port up a bit recently because 
of some braindamage in binutils 2.24 the workaround for which has some 
version limitations.  And I am not convinced it is a good idea to bump the 
requirement in such a short time again just because a GCC version to be 
released next year have become strictier about the FP ABI (that we don't 
use anyway).  Especially as the solution is so simple.

 I'm still at 2.20.1 as far as the MIPS target is concerned BTW, I just 
considered the time I'd have to spend on upgrading would be better spent 
on sorting out the kernel issues I've had outstanding, and there's been 
quite a bunch.

  Maciej


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux