Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1383870

Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'

Path csiph.com!eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!news.panservice.it!diesel.cu.mi.it!bofh.it!news.nic.it!robomod
From Fengguang Wu <fengguang.wu@intel.com>
Newsgroups linux.kernel
Subject Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'
Date Thu, 21 Apr 2016 07:00:02 +0200
Message-ID <rqeSC-3do-3@gated-at.bofh.it> (permalink)
References <rpTbs-2Lx-3@gated-at.bofh.it> <rq0Zk-Go-21@gated-at.bofh.it>
X-Extloop1 1
X-Ironport-Av E=Sophos;i="5.24,512,1455004800"; d="scan'208";a="689701503"
MIME-Version 1.0
Content-Type text/plain; charset=us-ascii
Content-Disposition inline
User-Agent Mutt/1.5.24 (2015-08-30)
Sender robomod@news.nic.it
List-ID <linux-kernel.vger.kernel.org>
X-Mailing-List linux-kernel@vger.kernel.org
Approved robomod@news.nic.it
Lines 43
Organization linux.* mail to news gateway
X-Original-Cc kbuild-all@01.org, Paul Burton <paul.burton@imgtec.com>, linux-kernel@vger.kernel.org, Philip Li <philip.li@intel.com>
X-Original-Date Thu, 21 Apr 2016 12:51:29 +0800
X-Original-Message-ID <20160421045129.GB4038@wfg-t540p.sh.intel.com>
X-Original-References <201604201320.YHjfc2dZ%fengguang.wu@intel.com> <20160420133021.GG24051@linux-mips.org>
X-Original-Sender linux-kernel-owner@vger.kernel.org
Xref csiph.com linux.kernel:1383870

Show key headers only | View raw


Hi Ralf,

On Wed, Apr 20, 2016 at 03:30:21PM +0200, Ralf Baechle wrote:
> On Wed, Apr 20, 2016 at 01:44:28PM +0800, kbuild test robot wrote:
> 
> > FYI, the error/warning still remains.
> > 
> > tree:   https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git master
> > head:   12566cc35d0e68308bde7aad615743d560cb097b
> > commit: c1a0e9bc885d46e519fd87d35af6a7937abfb986 MIPS: Allow compact branch policy to be changed
> > date:   6 months ago
> > config: mips-malta_qemu_32r6_defconfig (attached as .config)
> > reproduce:
> >         wget https://git.kernel.org/cgit/linux/kernel/git/wfg/lkp-tests.git/plain/sbin/make.cross -O ~/bin/make.cross
> >         chmod +x ~/bin/make.cross
> >         git checkout c1a0e9bc885d46e519fd87d35af6a7937abfb986
> >         # save the attached .config to linux build tree
> >         make.cross ARCH=mips 
> > 
> > All errors (new ones prefixed by >>):
> > 
> > >> mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'
> > >> mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal'
> 
> -mcompact-branches=optimal is an option for the latest version of the MIPS
> architecture which is enabled by mips-malta_qemu_32r6_defconfig but your
> compiler is too old, doesn't support R6.  Unfortunately there's no simple
> way to run a test on the build environment from kconfig or even before
> kconfig runs so we've just ignord this particular build issue.  Plus
> there being the additional issue that we only know the toolchain to be
> used after certain options have been picked.

We are running Debian's mips cross compiler.

% mips-linux-gnu-gcc --version
mips-linux-gnu-gcc (Debian 5.2.1-16) 5.2.1 20150903
Copyright (C) 2015 Free Software Foundation, Inc.

How about temporarily disable that error, until we upgrade to a new
gcc version which supports the -mcompact-branches option?

Thanks,
Fengguang

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

mipsel-linux-gnu-gcc: error: unrecognized command line option  '-mcompact-branches=optimal' kbuild test robot <fengguang.wu@intel.com> - 2016-04-20 07:50 +0200
  Re: mipsel-linux-gnu-gcc: error: unrecognized command line option  '-mcompact-branches=optimal' Ralf Baechle <ralf@linux-mips.org> - 2016-04-20 16:10 +0200
    Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' Fengguang Wu <fengguang.wu@intel.com> - 2016-04-21 07:00 +0200
      Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' "Maciej W. Rozycki" <macro@imgtec.com> - 2016-04-21 22:00 +0200
        Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' Ralf Baechle <ralf@linux-mips.org> - 2016-04-21 22:40 +0200
          Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' "Maciej W. Rozycki" <macro@imgtec.com> - 2016-04-21 23:20 +0200
            Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' Paul Burton <paul.burton@imgtec.com> - 2016-04-22 11:00 +0200
              Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' "Maciej W. Rozycki" <macro@imgtec.com> - 2016-04-22 17:50 +0200
      Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command  line option '-mcompact-branches=optimal' Ralf Baechle <ralf@linux-mips.org> - 2016-04-21 22:40 +0200

csiph-web