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

2016-04-22 Thread Maciej W. Rozycki
On Fri, 22 Apr 2016, Paul Burton wrote: > > In that case however it looks to me like these `-mcompact-branches=' > > options (all the three we support) need to be wrapped into `$(call > > cc-option,...)'. > > An alternative that it could be argued better fits the principle of > least surprise

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

2016-04-22 Thread Maciej W. Rozycki
On Fri, 22 Apr 2016, Paul Burton wrote: > > In that case however it looks to me like these `-mcompact-branches=' > > options (all the three we support) need to be wrapped into `$(call > > cc-option,...)'. > > An alternative that it could be argued better fits the principle of > least surprise

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

2016-04-22 Thread Paul Burton
On Thu, Apr 21, 2016 at 10:10:51PM +0100, Maciej W. Rozycki wrote: > On Thu, 21 Apr 2016, Ralf Baechle wrote: > > > > 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

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

2016-04-22 Thread Paul Burton
On Thu, Apr 21, 2016 at 10:10:51PM +0100, Maciej W. Rozycki wrote: > On Thu, 21 Apr 2016, Ralf Baechle wrote: > > > > 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

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

2016-04-21 Thread Maciej W. Rozycki
On Thu, 21 Apr 2016, Ralf Baechle wrote: > > 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

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

2016-04-21 Thread Maciej W. Rozycki
On Thu, 21 Apr 2016, Ralf Baechle wrote: > > 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

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

2016-04-21 Thread Ralf Baechle
On Thu, Apr 21, 2016 at 08:55:34PM +0100, Maciej W. Rozycki wrote: > > % 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

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

2016-04-21 Thread Ralf Baechle
On Thu, Apr 21, 2016 at 08:55:34PM +0100, Maciej W. Rozycki wrote: > > % 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

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

2016-04-21 Thread Ralf Baechle
On Thu, Apr 21, 2016 at 12:51:29PM +0800, Fengguang Wu wrote: > 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: > > >

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

2016-04-21 Thread Ralf Baechle
On Thu, Apr 21, 2016 at 12:51:29PM +0800, Fengguang Wu wrote: > 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: > > >

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

2016-04-21 Thread Maciej W. Rozycki
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

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

2016-04-21 Thread Maciej W. Rozycki
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

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

2016-04-20 Thread Fengguang Wu
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:

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

2016-04-20 Thread Fengguang Wu
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: