lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:   Thu, 17 May 2018 23:22:40 +0900
From:   Masahiro Yamada <yamada.masahiro@...ionext.com>
To:     Nicholas Piggin <npiggin@...il.com>
Cc:     Linux Kbuild mailing list <linux-kbuild@...r.kernel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Sam Ravnborg <sam@...nborg.org>,
        Ulf Magnusson <ulfalizer@...il.com>,
        "Luis R . Rodriguez" <mcgrof@...nel.org>,
        Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
        Kees Cook <keescook@...omium.org>,
        Emese Revfy <re.emese@...il.com>, X86 ML <x86@...nel.org>
Subject: Re: [PATCH v4 00/31] kconfig: move compiler capability tests to Kconfig

2018-05-17 16:51 GMT+09:00 Nicholas Piggin <npiggin@...il.com>:
> On Thu, 17 May 2018 15:16:39 +0900
> Masahiro Yamada <yamada.masahiro@...ionext.com> wrote:
>
>> [Introduction]
>>
>> The motivation of this work is to move the compiler option tests to
>> Kconfig from Makefile.  A number of kernel features require the
>> compiler support.  Enabling such features blindly in Kconfig ends up
>> with a lot of nasty build-time testing in Makefiles.  If a chosen
>> feature turns out unsupported by the compiler, what the build system
>> can do is either to disable it (silently!) or to forcibly break the
>> build, despite Kconfig has let the user to enable it.  By moving the
>> compiler capability tests to Kconfig, Kconfig entries will be visible
>> only when they are available.
>>
>> [Major Changes in V4]
>
> Do you have a git tree for v4? I can test it with the powerpc patches.
>
> The new scripting capability in kconfig has allowed us to already
> improve the config process on powerpc:
>
> https://marc.info/?l=linuxppc-embedded&m=152648110727868&w=2
>
> I'm sure there's more clever things we can do with it but I haven't
> had time to think about it yet. One thing that comes to mind is that
> It might be nice to show the option as disabled, then the user could
> upgrade their compiler to get the options they want.
>
> Anyway v3 worked fine for me, the documentation is really nice, I
> could implement the above patch without any problem despite being a
> kbuild dummy. Thanks for the series, ack from me.


For easier review and test,
I pushed v4 to the following branch:


git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git
kconfig-shell-v4


-- 
Best Regards
Masahiro Yamada

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ