From patchwork Thu Oct 22 13:46:51 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11851459 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id EBA1C14B4 for ; Thu, 22 Oct 2020 13:47:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id C7562221FB for ; Thu, 22 Oct 2020 13:47:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603374467; bh=dOUqOMMfZB453uMR341UotQe6JLjqPiZjZZhtg1eMPo=; h=From:Date:Subject:To:Cc:List-ID:From; b=pz/OB+Ur5iPRVaqJJPwp+0cNEJ6e8SoZR9S4/TEakT7JeC1nKs/7ZuyfQgq0ykwD+ uC3AbKqimTPkhcS6Is+5kE+3oi2AsheugLh9Edafln9UDlvda6MxFQuBbaM5ga2Gw9 FbtdGA+SMiBcXUY0VnRLf1tKppq11oGUfezQKqqc= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2900430AbgJVNrr (ORCPT ); Thu, 22 Oct 2020 09:47:47 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:38339 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2900429AbgJVNrr (ORCPT ); Thu, 22 Oct 2020 09:47:47 -0400 Received: from mail-pj1-f44.google.com (mail-pj1-f44.google.com [209.85.216.44]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 09MDlSdD028005; Thu, 22 Oct 2020 22:47:28 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 09MDlSdD028005 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1603374448; bh=X8WuaJKmZT0L77l4ewuKWgQIfvhlzBlVo7ZUARb1Eoo=; h=From:Date:Subject:To:Cc:From; b=ZzCIPcp5S+HuNmYH0hdI4cI693C8bUBIMuQbpS9fialpPZAh3Wjdxs0ztbPuZbvhW Ku6U5s8DwzpOpNAFcHmvWEnH1fygKjzn+vR+A2I5onFkjbPYQRP9IMT1HVRJ2EpTID lqoHwGS0d2iNIly1xNC7NofhrGw4nxvMu3O3bTrGR//e9L3KKGGSjKuPmyHikGvrE2 sR1TYDaqra46xri+pyTZ6kWkEZzl/hKiZiOaZhbGAyxuVGB+3gwVPttaPobA8bWvPk CME4KdPwjzzCvypPeaaVDCpTdVTeEEU6AgwdOE+VgH8Y7kCDaJaBGWNqevaIUaqpu2 6BjC8SAPX92Ag== X-Nifty-SrcIP: [209.85.216.44] Received: by mail-pj1-f44.google.com with SMTP id p21so1065659pju.0; Thu, 22 Oct 2020 06:47:28 -0700 (PDT) X-Gm-Message-State: AOAM530bENYsW1EpIoHfn5RRiionHynbBpVungYWE2EUotwm/YP+J0QO 5whW+2rkVE6B5TOSRmAt0gjGBAkNDNI/+1fEEdc= X-Google-Smtp-Source: ABdhPJzB+oE/pPl49qtu21+dq3CLro6htEv4l7AzKaDU7anDphKBTjP8r9cojNQWdvyP98udBy6luzUdGt/RBiUDfDo= X-Received: by 2002:a17:90a:7023:: with SMTP id f32mr2525806pjk.87.1603374447536; Thu, 22 Oct 2020 06:47:27 -0700 (PDT) MIME-Version: 1.0 From: Masahiro Yamada Date: Thu, 22 Oct 2020 22:46:51 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL 1/2] Kbuild updates for v5.10-rc1 To: Linus Torvalds Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org Hi Linus, Please pull Kbuild updates for v5.10 You will see a merge conflict in arch/arm/Makefile. The fix-up is easy, and also available in linux-next. Thanks. The following changes since commit d012a7190fc1fd72ed48911e77ca97ba4521bccd: Linux 5.9-rc2 (2020-08-23 14:08:43 -0700) are available in the Git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v5.10 for you to fetch changes up to 1e66d50ad3a1dbf0169b14d502be59a4b1213149: kbuild: Use uname for LINUX_COMPILE_HOST detection (2020-10-21 00:46:04 +0900) ---------------------------------------------------------------- Kbuild updates for v5.10 - Support 'make compile_commands.json' to generate the compilation database more easily, avoiding stale entries - Support 'make clang-analyzer' and 'make clang-tidy' for static checks using clang-tidy - Preprocess scripts/modules.lds.S to allow CONFIG options in the module linker script - Drop cc-option tests from compiler flags supported by our minimal GCC/Clang versions - Use always 12-digits commit hash for CONFIG_LOCALVERSION_AUTO=y - Use sha1 build id for both BFD linker and LLD - Improve deb-pkg for reproducible builds and rootless builds - Remove stale, useless scripts/namespace.pl - Turn -Wreturn-type warning into error - Fix build error of deb-pkg when CONFIG_MODULES=n - Replace 'hostname' command with more portable 'uname -n' - Various Makefile cleanups ---------------------------------------------------------------- Bill Wendling (1): kbuild: explicitly specify the build id style Chris Down (1): kbuild: Use uname for LINUX_COMPILE_HOST detection Guillem Jover (3): builddeb: Pass -n to gzip for reproducible packages builddeb: Enable rootless builds builddeb: Add support for all required debian/rules targets Jacob Keller (1): scripts: remove namespace.pl Mark Wielaard (1): kbuild: Only add -fno-var-tracking-assignments for old GCC versions Masahiro Yamada (21): kbuild: hide commands to run Kconfig, and show short log for syncconfig gen_compile_commands: parse only the first line of .*.cmd files gen_compile_commands: use choices for --log_levels option gen_compile_commands: do not support .cmd files under tools/ directory gen_compile_commands: reword the help message of -d option gen_compile_commands: make -o option independent of -d option gen_compile_commands: move directory walk to a generator function gen_compile_commands: support *.o, *.a, modules.order in positional argument kbuild: wire up the build rule of compile_commands.json to Makefile gen_compile_commands: remove the warning about too few .cmd files arch: vdso: add vdso linker script to 'targets' instead of extra-y kbuild: preprocess module linker script kbuild: do not create built-in objects for external module builds kbuild: remove redundant CONFIG_KASAN check from scripts/Makefile.kasan kbuild: move CFLAGS_{KASAN,UBSAN,KCSAN} exports to relevant Makefiles kbuild: remove cc-option test of -fno-strict-overflow kbuild: remove cc-option test of -fno-stack-check kbuild: remove cc-option test of -Werror=date-time kbuild: split the build log of kallsyms kbuild: deb-pkg: do not build linux-headers package if CONFIG_MODULES=n kbuild: deb-pkg: clean up package name variables Nathan Huckleberry (1): Makefile: Add clang-tidy and static analyzer support to makefile Olaf Hering (1): kbuild: enforce -Werror=return-type Rasmus Villemoes (2): scripts/setlocalversion: make git describe output more reliable kbuild: remove leftover comment for filechk utility Sami Tolvanen (1): treewide: remove DISABLE_LTO Sedat Dilek (1): kbuild: Simplify DEBUG_INFO Kconfig handling Documentation/process/submit-checklist.rst | 3 +- MAINTAINERS | 1 + Makefile | 94 ++++-- arch/arm/Makefile | 4 - arch/arm/{kernel/module.lds => include/asm/module.lds.h} | 2 + arch/arm/vdso/Makefile | 2 +- arch/arm64/Makefile | 4 - arch/arm64/{kernel/module.lds => include/asm/module.lds.h} | 2 + arch/arm64/kernel/vdso/Makefile | 5 +- arch/arm64/kernel/vdso32/Makefile | 8 +- arch/ia64/Makefile | 1 - arch/ia64/{module.lds => include/asm/module.lds.h} | 0 arch/m68k/Makefile | 1 - arch/m68k/{kernel/module.lds => include/asm/module.lds.h} | 0 arch/mips/vdso/Makefile | 2 +- arch/nds32/kernel/vdso/Makefile | 2 +- arch/powerpc/Makefile | 1 - arch/powerpc/{kernel/module.lds => include/asm/module.lds.h} | 0 arch/powerpc/kernel/vdso32/Makefile | 2 +- arch/powerpc/kernel/vdso64/Makefile | 2 +- arch/riscv/Makefile | 3 - arch/riscv/{kernel/module.lds => include/asm/module.lds.h} | 3 +- arch/riscv/kernel/vdso/Makefile | 2 +- arch/s390/kernel/vdso64/Makefile | 4 +- arch/sparc/vdso/Makefile | 4 +- arch/um/include/asm/Kbuild | 1 + arch/x86/entry/vdso/Makefile | 4 +- include/asm-generic/Kbuild | 1 + include/asm-generic/module.lds.h | 10 + kernel/Makefile | 3 - lib/Kconfig.debug | 10 +- scripts/.gitignore | 1 + scripts/Kbuild.include | 2 - scripts/Makefile | 3 + scripts/Makefile.build | 2 +- scripts/Makefile.kasan | 4 +- scripts/Makefile.kcsan | 2 +- scripts/Makefile.modfinal | 5 +- scripts/Makefile.ubsan | 3 + scripts/clang-tools/gen_compile_commands.py | 236 +++++++++++++ scripts/clang-tools/run-clang-tools.py | 74 +++++ scripts/gen_compile_commands.py | 151 --------- scripts/kconfig/Makefile | 16 +- scripts/link-vmlinux.sh | 20 +- scripts/mkcompile_h | 2 +- scripts/{module-common.lds => module.lds.S} | 3 + scripts/namespace.pl | 473 --------------------------- scripts/package/builddeb | 19 +- scripts/package/mkdebian | 44 ++- scripts/setlocalversion | 21 +- tools/testing/selftests/bpf/Makefile | 2 +- 51 files changed, 512 insertions(+), 752 deletions(-) rename arch/arm/{kernel/module.lds => include/asm/module.lds.h} (72%) rename arch/arm64/{kernel/module.lds => include/asm/module.lds.h} (76%) rename arch/ia64/{module.lds => include/asm/module.lds.h} (100%) rename arch/m68k/{kernel/module.lds => include/asm/module.lds.h} (100%) rename arch/powerpc/{kernel/module.lds => include/asm/module.lds.h} (100%) rename arch/riscv/{kernel/module.lds => include/asm/module.lds.h} (84%) create mode 100644 include/asm-generic/module.lds.h create mode 100755 scripts/clang-tools/gen_compile_commands.py create mode 100755 scripts/clang-tools/run-clang-tools.py delete mode 100755 scripts/gen_compile_commands.py rename scripts/{module-common.lds => module.lds.S} (93%) delete mode 100755 scripts/namespace.pl From patchwork Thu Oct 22 13:47:22 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 11851463 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 3DF9414B4 for ; Thu, 22 Oct 2020 13:48:28 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 1B6D5222E9 for ; Thu, 22 Oct 2020 13:48:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603374508; bh=u2WiJ3ukd3dl7VrragKQHfr5GhsIS5lK+kkddrTUv74=; h=From:Date:Subject:To:Cc:List-ID:From; b=dK15ETG9V+ZMqhuCTA5lDC/N/gKQWxVv3DhbQMhTAf4Jh3IJxwLpnv3bG//gAUeNg FsLIAoUbT62Iot4CMwGsRyUucKVBJ9Yumq7SxarNImqVa7nJY2oWZO+DJVBL9pUWFz vFzpt5EviojEFdRnCn3F6CyfODYuXHWn4a+QOGP8= Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S367960AbgJVNs1 (ORCPT ); Thu, 22 Oct 2020 09:48:27 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:44076 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S367958AbgJVNs1 (ORCPT ); Thu, 22 Oct 2020 09:48:27 -0400 Received: from mail-pl1-f180.google.com (mail-pl1-f180.google.com [209.85.214.180]) (authenticated) by conssluserg-06.nifty.com with ESMTP id 09MDm0cV019454; Thu, 22 Oct 2020 22:48:00 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com 09MDm0cV019454 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1603374480; bh=bdgKUKGTFLj1NxEcDBwbJI28YF7AsYkR/nJVPefrafs=; h=From:Date:Subject:To:Cc:From; b=Kl3FBP/s/zTrnwsES99Nj2JESbqBSaZ7OF9J89a7UL2YUsM5/SbRIuGqV55314U8s G2rN9aleMbKU0tJ3bbsx2RiDGYbDmdJgl9Tmxf28H7zK8YOTtgbSDjMDfB4VvmANWq uZrqmNOyWujUSJjTzCziih3MCFBmdFFMOXf5U01UUMq2qSQCR50V2Eg4mRpzRbDukB J/dGbCU2UlPdvm1CiZ1nKsfkvYwNfdaN3A1TZio3LBMWScwoKsn1atsgSvgthUw4tK /wnPp8D5slXGIIxCzvyoM6wyFYDOnvgbXBchFXUAM0lkPkT545btGNawWOqj5V1/H/ DaDHaMAfo5Yxg== X-Nifty-SrcIP: [209.85.214.180] Received: by mail-pl1-f180.google.com with SMTP id j5so603172plk.7; Thu, 22 Oct 2020 06:48:00 -0700 (PDT) X-Gm-Message-State: AOAM533oAb1+1PNdZzEjhrH/Bcnwe5vo6v9v3IXVbt2nOgB+qi/d+5KO BgjxOhYvi8tfXiI0W0Tk9pfx3iOxxq6Njdp0Bjk= X-Google-Smtp-Source: ABdhPJwkf8PZY8BfwjFnkzGLsXvs5wQ9ve6vJYhavJe8pPQq8VtgrDgyHa69wJY3EdU3uxLXgPj+TdOW4Lo8RHg8Ygs= X-Received: by 2002:a17:90b:1b12:: with SMTP id nu18mr2479488pjb.153.1603374479383; Thu, 22 Oct 2020 06:47:59 -0700 (PDT) MIME-Version: 1.0 From: Masahiro Yamada Date: Thu, 22 Oct 2020 22:47:22 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL 2/2] Kconfig updates for v5.10-rc1 To: Masahiro Yamada Cc: Linux Kbuild mailing list , Linux Kernel Mailing List Precedence: bulk List-ID: X-Mailing-List: linux-kbuild@vger.kernel.org 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 tags/kconfig-v5.10 for you to fetch changes up to f9a825a7f65a1c94858667934c4ed59bc548dd1f: kconfig: qconf: create QApplication after option checks (2020-09-25 00:37:13 +0900) ---------------------------------------------------------------- Kconfig updates for v5.10 - Remove unused for useless code from qconf - Allow to edit "int", "hex", "string" options in place, and remove the separate edit box from qconf ---------------------------------------------------------------- Masahiro Yamada (11): kconfig: qconf: reformat the intro message kconfig: qconf: update the intro message to match to the current code kconfig: qconf: remove unused ConfigItem::okRename() kconfig: qconf: move ConfigView::updateList(All) to ConfigList class kconfig: qconf: show data column all the time kconfig: qconf: allow to edit "int", "hex", "string" menus in-place kconfig: qconf: remove ConfigLineEdit class kconfig: qconf: move setShowName/Range() to ConfigList from ConfigView kconfig: qconf: remove ConfigView class kconfig: qconf: remove Y, M, N columns kconfig: qconf: create QApplication after option checks scripts/kconfig/qconf.cc | 368 +++++++++++++++++++++++++-------------------------------------- scripts/kconfig/qconf.h | 77 ++++--------- 2 files changed, 170 insertions(+), 275 deletions(-)