Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-12-02 Thread Linus Torvalds
On Wed, Dec 2, 2020 at 4:54 AM Masahiro Yamada wrote: > > Just a nit: > Now that the test code does not include any header, > you can also delete > "-I $srctree/gcc-plugins -I $gccplugins_dir/include" Ahh,m yes. It sounds like we might be able to delete the build test entirely if we just always

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-12-02 Thread Kees Cook
On Wed, Dec 02, 2020 at 10:03:47PM +0900, Masahiro Yamada wrote: > On Wed, Dec 2, 2020 at 9:53 PM Masahiro Yamada wrote: > > > > Hi Linus, > > > > On Sun, Nov 29, 2020 at 3:28 AM Linus Torvalds > > wrote: > > > > > > On Fri, Nov 27, 2020 at 11:05 PM Masahiro Yamada > > > wrote: > > > > > > > >

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-12-02 Thread Masahiro Yamada
On Wed, Dec 2, 2020 at 9:53 PM Masahiro Yamada wrote: > > Hi Linus, > > On Sun, Nov 29, 2020 at 3:28 AM Linus Torvalds > wrote: > > > > On Fri, Nov 27, 2020 at 11:05 PM Masahiro Yamada > > wrote: > > > > > > As for the cc1plus cost, I got a similar result. > > > > > > Running scripts/gcc-plugin

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-12-02 Thread Masahiro Yamada
Hi Linus, On Sun, Nov 29, 2020 at 3:28 AM Linus Torvalds wrote: > > On Fri, Nov 27, 2020 at 11:05 PM Masahiro Yamada wrote: > > > > As for the cc1plus cost, I got a similar result. > > > > Running scripts/gcc-plugin.sh directly > > took me 0.5 sec, which is a fourth > > of the allmodconfig run-t

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-12-01 Thread Kees Cook
On Sat, Nov 28, 2020 at 10:28:31AM -0800, Linus Torvalds wrote: > On Fri, Nov 27, 2020 at 11:05 PM Masahiro Yamada wrote: > > > > As for the cc1plus cost, I got a similar result. > > > > Running scripts/gcc-plugin.sh directly > > took me 0.5 sec, which is a fourth > > of the allmodconfig run-time.

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-28 Thread Masahiro Yamada
On Sat, Nov 28, 2020 at 7:05 AM Linus Torvalds wrote: > > On Fri, Nov 27, 2020 at 1:53 PM Linus Torvalds > wrote: > > > > 33.68% cc1plus > > So a third of the time is the _single_ invocation of cc1plus, which > happens from scrips/gcc-plugin.sh doing that > > $HOSTCC -c -x c++ -std=gnu+

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-28 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 11:05 PM Masahiro Yamada wrote: > > As for the cc1plus cost, I got a similar result. > > Running scripts/gcc-plugin.sh directly > took me 0.5 sec, which is a fourth > of the allmodconfig run-time. > > Actually, I did not know this shell script > was so expensive to run...

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 1:53 PM Linus Torvalds wrote: > > 33.68% cc1plus So a third of the time is the _single_ invocation of cc1plus, which happens from scrips/gcc-plugin.sh doing that $HOSTCC -c -x c++ -std=gnu++98 - -fsyntax-only thing. Which is purely to verify that plugins work.

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 1:15 PM Linus Torvalds wrote: > > Oh, this is a red herring. It's "make" output being misleading, and it > just comes from the FORCE keyword. > > And no, those don't actually change the end result for me. .. and that red herring was what made me think that it always recomp

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
On Fri, Nov 27, 2020 at 1:08 PM Linus Torvalds wrote: > >make --trace allmodconfig > > shows a series of > > scripts/Makefile.host:112: target 'scripts/kconfig/o' does not exist > > lines, which is silly and wrong Oh, this is a red herring. It's "make" output being misleading, and

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-11-27 Thread Linus Torvalds
Just a quick note, because it's been a small annoyance for a while (I don't think it has anything to do with the 5.10 pull, I'm just responding to your latest pull request).. I have "make allmodconfig" taking unnecessarily long, and I finally started asking myself "what's so expensive here". I'd e

Re: [GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-10-22 Thread pr-tracker-bot
The pull request you sent on Thu, 22 Oct 2020 22:49:05 +0900: > git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git > tags/kconfig-v5.10 has been merged into torvalds/linux.git: https://git.kernel.org/torvalds/c/f9893351acaecf0a414baf9942b48d5bb5c688c6 Thank you! -- Deet-

[GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-10-22 Thread Masahiro Yamada
Hi Linus, Please pull Kconfig updates for v5.10 Thanks. The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git t

[GIT PULL 2/2] Kconfig updates for v5.10-rc1

2020-10-22 Thread Masahiro Yamada
Hi Linus, Please pull Kconfig updates for v5.10 Thanks. The following changes since commit ba4f184e126b751d1bffad5897f263108befc780: Linux 5.9-rc6 (2020-09-20 16:33:55 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git t