All of lore.kernel.org
 help / color / mirror / Atom feed
From: Nick Desaulniers <ndesaulniers@google.com>
To: Masahiro Yamada <yamada.masahiro@socionext.com>
Cc: "Behan Webster" <behanw@converseincode.com>,
	"Jan-Simon Möller" <dl9pf@gmx.de>,
	"Mark Charlebois" <charlebm@gmail.com>,
	"Greg Hackmann" <ghackmann@google.com>,
	"Matthias Kaehlcke" <mka@chromium.org>,
	"Chris Fries" <cfries@google.com>,
	"Michal Marek" <mmarek@suse.com>,
	"Linux Kbuild mailing list" <linux-kbuild@vger.kernel.org>,
	"Linux Kernel Mailing List" <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] kbuild: Set KBUILD_CFLAGS before incl. arch Makefile
Date: Thu, 9 Nov 2017 08:58:08 -0800	[thread overview]
Message-ID: <CAKwvOdny7CQMqUuaFtxishQkZZ7rWbExe7h2HNebgP4q-Myvpw@mail.gmail.com> (raw)
In-Reply-To: <CAK7LNATLG6TXTMNLwZ5ww31OtZc4m8auW=r7hYbn=UM+hz9PDw@mail.gmail.com>

On Wed, Nov 8, 2017 at 8:15 PM, Masahiro Yamada
<yamada.masahiro@socionext.com> wrote:
> 2017-11-08 2:37 GMT+09:00 Nick Desaulniers <ndesaulniers@google.com>:
>> On Sat, Nov 4, 2017 at 8:06 PM, Masahiro Yamada
>> <yamada.masahiro@socionext.com> wrote:
>>> ld-option is only used for arch/{arm64,powerpc}/Makefile
>>>
>>> arch/arm64/Makefile:  ifeq ($(call ld-option, --fix-cortex-a53-843419),)
>>> arch/powerpc/Makefile:LDFLAGS_vmlinux += $(call
>>> ld-option,--orphan-handling=warn)
>>>
>>> I think this patch makes sense when it comes along with
>>> https://patchwork.kernel.org/patch/10030581/
>>
>> Good point.
>>
>>> but, it is now being blocked by 0-day bot
>>> due to a x86 problem.
>>
>> Looks like that is now resolved (unless 0-day bot strikes again).
>>
>>> The location of CLANG_GCC_TC define
>>> only matters after your patch is applied, right?
>>
>> By "your patch" referring to the 0-day bot thread, yes.
>>
>>> Did my request for v2 break anything?
>>
>> Nothing immediately obvious, and no regressions.  It just made this
>> patch necessary (along with my previous one) for correctly cross
>> compiling with clang for arm64 and powerpc as you point out.
>>
>>> One more thing: this patch does not apply to kbuild tree.
>>
>> I absolutely will rebase it on your tree and send a v2.  Just to help
>> me understand the contribution model better: none of my other patches
>> have yet been requested against any trees other than Linus'.  Is this
>> because of where we are in the release cycle, or that a lot of kbuild
>> code has changed, or what?
>
>
> Generally speaking,
> a preferred way is to base patches on the subsystem tree.
>
> Kernel developers are supposed to do their development on linux-next,
> but, in reality, many people work on Linus' tree since it is more stable and
> git history is fast-forward.
>
> In many cases, patches based on Linus' tree can apply to sub-systems as well.
>
> I am happy to fix-up a conflict locally
> as long as it is trivial, and there is no other reason for re-spin.
>
> Unfortunately, Kbuild tree changed the top-level Makefile a lot in
> this development cycle.
>
> If your patch does not apply cleanly, I do not know which context you
> are moving the code to.
> Also, I found suspicious description in the commit log.
>
> That's why.
>
>
> --
> Best Regards
> Masahiro Yamada

Great, thanks for taking time to explain that, I appreciate it.

-- 
Thanks,
~Nick Desaulniers

      reply	other threads:[~2017-11-09 16:58 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-02 21:26 [PATCH] kbuild: Set KBUILD_CFLAGS before incl. arch Makefile Nick Desaulniers
2017-11-04  0:37 ` Matthias Kaehlcke
2017-11-05  3:06 ` Masahiro Yamada
2017-11-07 17:37   ` Nick Desaulniers
2017-11-07 19:46     ` [PATCH v2] " Nick Desaulniers
2017-11-07 19:46       ` Nick Desaulniers
2017-11-09  4:31       ` Masahiro Yamada
2017-11-09 16:51         ` Nick Desaulniers
2017-11-10  2:52           ` Masahiro Yamada
2017-11-15 20:42             ` [PATCH v3] " Nick Desaulniers
2017-11-15 20:42               ` Nick Desaulniers
2017-11-16  2:32               ` Masahiro Yamada
2017-11-18  4:09               ` Masahiro Yamada
2017-11-23  4:24                 ` Masahiro Yamada
2017-11-28 18:18                   ` Nick Desaulniers
2017-11-28 18:18                     ` [OpenRISC] " Nick Desaulniers
2017-11-28 18:18                     ` Nick Desaulniers
2017-11-28 19:27                     ` Geert Uytterhoeven
2017-11-28 19:27                       ` [OpenRISC] " Geert Uytterhoeven
2017-11-28 19:27                       ` Geert Uytterhoeven
2017-11-29  2:39                     ` Masahiro Yamada
2017-11-29  2:39                       ` [OpenRISC] " Masahiro Yamada
2017-11-29  2:39                       ` Masahiro Yamada
2017-11-09  4:15     ` [PATCH] " Masahiro Yamada
2017-11-09 16:58       ` Nick Desaulniers [this message]

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=CAKwvOdny7CQMqUuaFtxishQkZZ7rWbExe7h2HNebgP4q-Myvpw@mail.gmail.com \
    --to=ndesaulniers@google.com \
    --cc=behanw@converseincode.com \
    --cc=cfries@google.com \
    --cc=charlebm@gmail.com \
    --cc=dl9pf@gmx.de \
    --cc=ghackmann@google.com \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mka@chromium.org \
    --cc=mmarek@suse.com \
    --cc=yamada.masahiro@socionext.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.