public inbox for linux-arm-kernel@lists.infradead.org
 help / color / mirror / Atom feed
From: rob@landley.net (Rob Landley)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] Documentation/Changes: update binutils version requirement for ARMv7 builds
Date: Wed, 04 Dec 2013 20:26:31 -0600	[thread overview]
Message-ID: <1386210391.1974.313@driftwood> (raw)
In-Reply-To: <528A46C7.6090303@wwwdotorg.org> (from swarren@wwwdotorg.org on Mon Nov 18 10:56:39 2013)

On 11/18/2013 10:56:39 AM, Stephen Warren wrote:
> On 11/17/2013 11:50 AM, Rob Landley wrote:
> > On 10/30/2013 11:27:07 AM, Paul Walmsley wrote:
> >>
> >> ARMv7 builds now make use of the pldw opcode and the  
> ".arch_extension mp"
> >> pragma.  These aren't supported in binutils prior to 2.21.  So,  
> update
> >> Documentation/Changes accordingly.
> >
> > ARMv7 support didn't _exist_ in the minimal binutils version, and  
> ARMv8
> > support is newer still. Hexagon, microblaze, they've all shown up in
> > newer versions than the one that will build older architectures.
> >
> > Annotating the global Documentation/Changes with every per-arch
> > requirement... not sure that's the right place for it.
> ...
> > So there are larger issues in motion here. Noting armv7  
> requirements in
> > an arm-specific file makes sense. Annotating the top level one  
> raises
> > the question of why not to do that for arc, unicore, openrisc,  
> tile...
> 
> Documenting some of the requirements in the top-level file and some  
> in a
> per-arch file seems bad though. If we move the docs to a per-arch  
> file,
> we need to actively remove the top-level documentation since it will
> conflict.

No, you just need to document arch-specific deltas in arch-specific  
files.

You can build Linux with gcc 3.4. There was no ARMv7 support in gcc 3.4  
(let alone 64 bit arm), but that doesn't change the fact that you can  
build Linux with it. Which is why it says "Upgrade to at *least* these  
software revisions".

If you're going to build Linux with llvm, you'll need a different  
version. If pcc manages to build linux (development of that's stalled  
but not stopped), then there's another one. If tinycc restarts...

> What's wrong with a single table in the top-level document?

So we haven't needed one for 20 years now, but your target is special?

The minimal requirements are the versions needed to build Linux at all,  
on any target, because there are generic features missing in earlier  
versions. Building Linux for a specific target often has more specific  
requirements.

> The answer to missing requirements for the other arch seems to be to
> encourage the relevant maintainers to document them, not too disallow
> the ARM requirements to be documented there.

There's a Documentation/arm directory but arm-specific documentation  
can't go there, it has to go at the top level even though other  
architectures haven't previously done this. The alternative is that any  
global documentation that does NOT apply to arm must be deleted to  
avoid confusing arm.

Is this really your position?

One of the 8 gazillion todo items I have queued up is moving  
Documentation/zorro.txt to the Documentation/m68k directory. That's not  
the same as deleting the file because its existence might confuse ARM  
developers. I honestly think most of them are smarter than that.

Rob

  reply	other threads:[~2013-12-05  2:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-30 16:27 [PATCH] Documentation/Changes: update binutils version requirement for ARMv7 builds Paul Walmsley
2013-10-30 16:51 ` Russell King - ARM Linux
2013-11-17 18:50 ` Rob Landley
2013-11-18 16:56   ` Stephen Warren
2013-12-05  2:26     ` Rob Landley [this message]
2013-11-18 20:06   ` Paul Walmsley
2013-12-05  2:37     ` Rob Landley

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=1386210391.1974.313@driftwood \
    --to=rob@landley.net \
    --cc=linux-arm-kernel@lists.infradead.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox