All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@linux-mips.org>
To: Manuel Lauss <manuel.lauss@gmail.com>
Cc: Ralf Baechle <ralf@linux-mips.org>,
	Matthew Fortune <Matthew.Fortune@imgtec.com>,
	Linux-MIPS <linux-mips@linux-mips.org>
Subject: Re: [RFC PATCH V2] MIPS: fix build with binutils 2.24.51+
Date: Mon, 25 Aug 2014 20:57:21 +0100 (BST)	[thread overview]
Message-ID: <alpine.LFD.2.11.1408252036420.18483@eddie.linux-mips.org> (raw)
In-Reply-To: <CAOLZvyG4F_PCb5hbws1_e8nCeJ+odvnC5u=yitSe9CwY3TWZdw@mail.gmail.com>

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

  parent reply	other threads:[~2014-08-25 19:57 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-08-19 16:27 [RFC PATCH V2] MIPS: fix build with binutils 2.24.51+ Manuel Lauss
2014-08-25 12:51 ` Ralf Baechle
2014-08-25 14:27   ` Maciej W. Rozycki
2014-08-25 19:29     ` Manuel Lauss
2014-08-25 19:57       ` Ralf Baechle
2014-08-25 19:57       ` Maciej W. Rozycki [this message]
2014-08-26 10:45         ` Matthew Fortune
2014-08-26 10:45           ` Matthew Fortune
2014-10-10 14:39       ` Markos Chandras
2014-10-10 14:39         ` Markos Chandras
2014-10-10 14:40         ` Markos Chandras
2014-10-10 14:40           ` Markos Chandras
2014-10-11  6:53           ` Manuel Lauss

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.11.1408252036420.18483@eddie.linux-mips.org \
    --to=macro@linux-mips.org \
    --cc=Matthew.Fortune@imgtec.com \
    --cc=linux-mips@linux-mips.org \
    --cc=manuel.lauss@gmail.com \
    --cc=ralf@linux-mips.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.