Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1384543
| From | "Maciej W. Rozycki" <macro@imgtec.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [kbuild-all] mipsel-linux-gnu-gcc: error: unrecognized command line option '-mcompact-branches=optimal' |
| Date | 2016-04-21 22:00 +0200 |
| Message-ID | <rqsVB-6gR-25@gated-at.bofh.it> (permalink) |
| References | <rpTbs-2Lx-3@gated-at.bofh.it> <rq0Zk-Go-21@gated-at.bofh.it> <rqeSC-3do-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Thu, 21 Apr 2016, Fengguang Wu wrote: > > -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? I don't think it makes sense as the compiler won't support MIPSr6 code anyway, so first it'll bail out on `-march=mips32r6', and if we go even further and disable that too, then GAS will probably break somewhere on inline asm and GCC will produce code which does not make sense otherwise. Maciej
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll 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