lkml.org 
[lkml]   [2018]   [Jan]   [10]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: [PATCH] kbuild: move cc-option and cc-disable-warning after incl. arch Makefile
2018-01-11 1:21 GMT+09:00 Geert Uytterhoeven <geert@linux-m68k.org>:
> Hi Yamada-san,
>
> On Sun, Dec 10, 2017 at 6:28 AM, Masahiro Yamada
> <yamada.masahiro@socionext.com> wrote:
>> 2017-11-27 21:25 GMT+09:00 Geert Uytterhoeven <geert@linux-m68k.org>:
>>> On Mon, Nov 27, 2017 at 1:15 PM, Masahiro Yamada
>>> <yamada.masahiro@socionext.com> wrote:
>>>> Geert reported commit ae6b289a3789 ("kbuild: Set KBUILD_CFLAGS before
>>>> incl. arch Makefile") broke cross-compilation using a cross-compiler
>>>> that supports less compiler options than the host compiler.
>>>>
>>>> For example,
>>>>
>>>> cc1: error: unrecognized command line option "-Wno-unused-but-set-variable"
>>>>
>>>> This problem happens on architectures that setup CROSS_COMPILE in their
>>>> arch/*/Makefile.
>>>>
>>>> Move the cc-option and cc-disable-warning back to the original position,
>>>> but keep the Clang target options.
>>>>
>>>> Fixes: ae6b289a3789 ("kbuild: Set KBUILD_CFLAGS before incl. arch Makefile")
>>>> Reported-by: Geert Uytterhoeven <geert@linux-m68k.org>
>>>> Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
>>>
>>> Thanks for the quick response!
>>>
>>> Tested-by: Geert Uytterhoeven <geert@linux-m68k.org>
>>
>> Applied to linux-kbuild/fixes.
>
> Any chance this will be fixed in v4.15?
> It fixes a regression introduced in v4.15-rc1.
>

Yes, of course.

I have queued up just two patches to the fixes branch.
I am expecting a little more fixes for make-cache issues,
but otherwise, I will send a pull request in a few days.


--
Best Regards
Masahiro Yamada

\
 
 \ /
  Last update: 2018-01-14 23:21    [W:0.046 / U:0.016 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site