public inbox for linuxppc-dev@ozlabs.org 
 help / color / mirror / Atom feed
From: Alan Modra <amodra@gmail•com>
To: Segher Boessenkool <segher@kernel•crashing.org>
Cc: "Arnd Bergmann" <arnd@kernel•org>,
	kbuild-all@lists•01.org, "Brian Cain" <bcain@codeaurora•org>,
	"Fāng-ruì Sòng" <maskray@google•com>,
	"Masahiro Yamada" <masahiroy@kernel•org>,
	linuxppc-dev <linuxppc-dev@lists•ozlabs.org>,
	"Nick Desaulniers" <ndesaulniers@google•com>,
	LKML <linux-kernel@vger•kernel.org>,
	clang-built-linux <clang-built-linux@googlegroups•com>,
	"Nathan Chancellor" <natechancellor@gmail•com>,
	"Linus Torvalds" <torvalds@linux-foundation•org>,
	"kernel test robot" <lkp@intel•com>
Subject: Re: Error: invalid switch -me200
Date: Tue, 17 Nov 2020 10:29:29 +1030	[thread overview]
Message-ID: <20201116235929.GT15956@bubble.grove.modra.org> (raw)
In-Reply-To: <20201114005015.GZ2672@gate.crashing.org>

On Fri, Nov 13, 2020 at 06:50:15PM -0600, Segher Boessenkool wrote:
> On Fri, Nov 13, 2020 at 04:37:38PM -0800, Fāng-ruì Sòng wrote:
> > On Fri, Nov 13, 2020 at 4:23 PM Segher Boessenkool
> > <segher@kernel•crashing.org> wrote:
> > > On Fri, Nov 13, 2020 at 12:14:18PM -0800, Nick Desaulniers wrote:
> > > > > > > Error: invalid switch -me200
> > > > > > > Error: unrecognized option -me200
> > > > > >
> > > > > > 251 cpu-as-$(CONFIG_E200)   += -Wa,-me200
> > > > > >
> > > > > > Are those all broken configs, or is Kconfig messed up such that
> > > > > > randconfig can select these when it should not?
> > > > >
> > > > > Hmmm, looks like this flag does not exist in mainline binutils? There is
> > > > > a thread in 2010 about this that Segher commented on:
> > > > >
> > > > > https://lore.kernel.org/linuxppc-dev/9859E645-954D-4D07-8003-FFCD2391AB6E@kernel.crashing.org/
> > > > >
> > > > > Guess this config should be eliminated?
> > >
> > > The help text for this config options says that e200 is used in 55xx,
> > > and there *is* an -me5500 GAS flag (which probably does this same
> > > thing, too).  But is any of this tested, or useful, or wanted?
> > >
> > > Maybe Christophe knows, cc:ed.
> > 
> > CC Alan Modra, a binutils global maintainer.
> > 
> > Alan, can the few -Wa,-m* options deleted from arch/powerpc/Makefile ?
> 
> All the others work fine (and are needed afaics), it is only -me200 that
> doesn't exist (in mainline binutils).

Right, and a quick check says it never existed.  There is e200z4,
added to binutils with dfdaec14b0d, 2016-08-01, but the kernel -me200
was added in 2005.  I suspect the toolchain support only existed
inside Freescale and pushing it upstream was too difficult.

-- 
Alan Modra
Australia Development Lab, IBM

  parent reply	other threads:[~2020-11-17  0:01 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <202011131146.g8dPLQDD-lkp@intel.com>
     [not found] ` <CAFP8O3LpSmxVnjHfQAN455k1ZRg3PbgZYhWr030evCq1T10k=Q@mail.gmail.com>
     [not found]   ` <20201113190824.GA1477315@ubuntu-m3-large-x86>
2020-11-13 19:42     ` Error: invalid switch -me200 Nick Desaulniers
2020-11-13 20:04       ` Nathan Chancellor
2020-11-13 20:14         ` Nick Desaulniers
2020-11-14  0:20           ` Segher Boessenkool
2020-11-14  0:37             ` Fāng-ruì Sòng
2020-11-14  0:50               ` Segher Boessenkool
2020-11-16 20:27                 ` Scott Wood
2020-11-16 20:47                   ` Segher Boessenkool
2020-11-16 23:59                 ` Alan Modra [this message]
2020-11-14  9:02             ` Christophe Leroy
2020-11-16  6:06               ` Michael Ellerman
2020-11-16 15:26                 ` Christophe Leroy

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=20201116235929.GT15956@bubble.grove.modra.org \
    --to=amodra@gmail$(echo .)com \
    --cc=arnd@kernel$(echo .)org \
    --cc=bcain@codeaurora$(echo .)org \
    --cc=clang-built-linux@googlegroups$(echo .)com \
    --cc=kbuild-all@lists$(echo .)01.org \
    --cc=linux-kernel@vger$(echo .)kernel.org \
    --cc=linuxppc-dev@lists$(echo .)ozlabs.org \
    --cc=lkp@intel$(echo .)com \
    --cc=masahiroy@kernel$(echo .)org \
    --cc=maskray@google$(echo .)com \
    --cc=natechancellor@gmail$(echo .)com \
    --cc=ndesaulniers@google$(echo .)com \
    --cc=segher@kernel$(echo .)crashing.org \
    --cc=torvalds@linux-foundation$(echo .)org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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