From patchwork Wed Aug 15 17:55:15 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 144288 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp1109177ljj; Wed, 15 Aug 2018 10:56:06 -0700 (PDT) X-Google-Smtp-Source: AA+uWPx2+BR+dIVRsElACEuN5K1jsSkFlTTfOjmlb9DcN9PsidFI6+HJPUHYjuIbtnGeolDq0czq X-Received: by 2002:a63:8b44:: with SMTP id j65-v6mr26205480pge.248.1534355766278; Wed, 15 Aug 2018 10:56:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534355766; cv=none; d=google.com; s=arc-20160816; b=sQrGTDrUbC9UrSDGPLL2lrkWjmgjvesgRiKAY3PdxTTExqiqrJcVF5EbuaEzU5CZfY ZoTH3jbWO33KsXpQgZI2Ng2UG+/0X732TD5riHLyTjvqAz4ne7IphPJupCnBU4hSNrJk nsFu2g8FbqyXevTR8jqEObnJQlHMAGHA9kx8p0UElyfvqlVEDxRzDEBI6YIdtD5aOEUu DLzA+740Gx3x4cU2ONtGVhMgT2IBFggv7iVbO2w09oc5nmo8QW6LGDWtoW9jxMti1rE2 wdn0yq+3yyfDK5VPI21p1vAtH0a5hI9n+ffJtt4pS4Xe0EEDOTMnw9OZNE5NzL1GI4cz TP4Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature:dkim-filter:arc-authentication-results; bh=gZuo4tNAiLLvjiCro5iwM/d1SzOKs1lDPW/a9RmIz6s=; b=PB173/1hT0z2zsSVi369tgSJCsfSPsvxGW60eRVXayCdus6A1I8rieI8S/+G7A7M/s eS9jHpHxR515LKe/GGvDOogBvufrrzemR24+JaNKrnFHrQ+3JdXy7RvUNZ4Vhbgn64QC +Ma2Da6bRhIhJMLYdfP+BRm30XlpGA1eS6g7dMoqD9c2CwWdW8x0Zm2pNb4h7Zq0SjFT y4lV5NA9ib58lYkmSEzG7CJpNSesiobOwSwVgvvwv4lUmNvx7+TihJetonvet0DGuL05 OQQ3iAptQ3a7SUmaqJdbD4RG9vGwJV7oyztALD3QVGSyH8iu+UdLhdm+4d1zyO4Aylxg +EFw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=imn4bCPi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q22-v6si19461431pls.395.2018.08.15.10.56.06; Wed, 15 Aug 2018 10:56:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=imn4bCPi; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730325AbeHOUtM (ORCPT + 32 others); Wed, 15 Aug 2018 16:49:12 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:56955 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729377AbeHOUtM (ORCPT ); Wed, 15 Aug 2018 16:49:12 -0400 Received: from mail-vk0-f44.google.com (mail-vk0-f44.google.com [209.85.213.44]) (authenticated) by conssluserg-04.nifty.com with ESMTP id w7FHtvdZ019579; Thu, 16 Aug 2018 02:55:57 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com w7FHtvdZ019579 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1534355758; bh=gZuo4tNAiLLvjiCro5iwM/d1SzOKs1lDPW/a9RmIz6s=; h=From:Date:Subject:To:Cc:From; b=imn4bCPiivob2CwUROJyYyh7uTa9FQ8ktsP/EEaC/+N2vzK6QCiNWL29IASUKIYnp dWJ/lB/yKkJK852kJeyA76HERHaFaWZC+wUbEHkDOtyHCdXaHcncWghgbDvx9zsrDZ spU4yvoz93op9X6Z83OcCeny8IR84FYnfOFRppykm6zWKWPjKJ+fl08GicYjc/+RKq JVMaeziOOALoCv0SS1vpx4oxtn6lLsh8h6h57lZJjLSHYHCMOwqPGBoMrKQAlmxG3w epD1Pedl10uKUOF1tem4WEAqWZJKJ1BEYWyPIVgodZN4IQ2qNLkGTSHOPLfU51ApTp UvVSGdFMOQHUA== X-Nifty-SrcIP: [209.85.213.44] Received: by mail-vk0-f44.google.com with SMTP id y70-v6so69535vkc.0; Wed, 15 Aug 2018 10:55:57 -0700 (PDT) X-Gm-Message-State: AOUpUlHaxBZh8W3CWO/4ETFAmJSa9GSkHpN9LDkT0pv29bkPzxHQYEh9 QaX8bs9N/OZZTYbNxGDbRm8Jvw1DFqyIefWXG/0= X-Received: by 2002:a1f:2cce:: with SMTP id s197-v6mr16628175vks.106.1534355756362; Wed, 15 Aug 2018 10:55:56 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:ab0:2642:0:0:0:0:0 with HTTP; Wed, 15 Aug 2018 10:55:15 -0700 (PDT) From: Masahiro Yamada Date: Thu, 16 Aug 2018 02:55:15 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: [GIT PULL 1/3] Kbuild updates for v4.19 To: Linus Torvalds Cc: Linux Kbuild mailing list , Linux Kernel Mailing List , masahiroy@kernel.org Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus, Please pull Kbuild updates for v4.19 You can pull this cleanly for now, but please remember that you will have to change samples/statx/Makefile when you pull the following commit: commit 90b413cb970a25109deb292c99120cf65e5b03ce Author: David Howells Date: Fri Aug 3 15:34:49 2018 +0100 vfs: syscall: Add fsinfo() to query filesystem information Kbuild consolidated host compiler flag variables, but the vfs tree added one more occurrence. Please fix-up the Makefile as follows: --------------------------------------------------------- ----------------------------------------------------------- The following changes since commit 9d3cce1e8b8561fed5f383d22a4d6949db4eadbe: Linux 4.18-rc5 (2018-07-15 12:49:31 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git tags/kbuild-v4.19 for you to fetch changes up to 512ddf7d7db056edfed3159ea7cb4e4a5eefddd4: coccicheck: return proper error code on fail (2018-08-14 08:58:56 +0900) ---------------------------------------------------------------- Kbuild updates for v4.19 - verify depmod is installed before modules_install - support build salt in case build ids must be unique between builds - allow users to specify additional host compiler flags via HOST*FLAGS, and rename internal variables to KBUILD_HOST*FLAGS - update buildtar script to drop vax support, add arm64 support - update builddeb script for better debarch support - document the pit-fall of if_changed usage - fix parallel build of UML with O= option - make 'samples' target depend on headers_install to fix build errors - remove deprecated host-progs variable - add a new coccinelle script for refcount_t vs atomic_t check - improve double-test coccinelle script - misc cleanups and fixes ---------------------------------------------------------------- Ben Hutchings (12): builddeb: Skip architecture detection when KBUILD_DEBARCH is set builddeb: Change architecture detection fallback to use dpkg-architecture builddeb: Drop check for 32-bit s390 builddeb: Introduce functions to simplify kconfig tests in set_debarch builddeb: Add automatic support for ppc64 and powerpcspe architectures builddeb: Add automatic support for mips64el architecture builddeb: Add automatic support for mips{,64}r6{,el} architectures builddeb: Add automatic support for sparc64 architecture builddeb: Add automatic support for or1k architecture builddeb: Add automatic support for m68k architecture builddeb: Add automatic support for riscv* architectures builddeb: Add automatic support for sh{3,4}{,eb} architectures Denis Efremov (1): coccicheck: return proper error code on fail Dirk Gouders (1): kbuild: if_changed: document single use per target limitation Elena Reshetova (1): Coccinelle: add atomic_as_refcounter script Jeremy Cline (1): scripts: Add Python 3 support to tracing/draw_functrace.py Julia Lawall (1): Coccinelle: doubletest: reduce side effect false positives Laura Abbott (9): kbuild: Add build salt to the kernel and modules x86: Add build salt to the vDSO powerpc: Add build salt to the vDSO arm64: Add build salt to the vDSO kbuild: Rename HOSTCFLAGS to KBUILD_HOSTCFLAGS kbuild: Rename HOSTCXXFLAGS to KBUILD_HOSTCXXFLAGS kbuild: Rename HOSTLDFLAGS to KBUILD_HOSTLDFLAGS kbuild: Rename HOST_LOADLIBES to KBUILD_HOSTLDLIBS kbuild: Use HOST*FLAGS options from the command line Masahiro Yamada (12): kbuild: move bin2c back to scripts/ from scripts/basic/ um: remove redundant 'export LDFLAGS' in arch/x86/Makefile.um kbuild: remove redundant LDFLAGS clearing in arch/*/Makefile kbuild: replace $(LDFLAGS) $(ldflags-y) with $(ld_flags) kbuild: change ld_flags to contain LDFLAGS_$(@F) ARM: at91: remove unused duplicated filechk_offsets kbuild: do not redirect the first prerequisite for filechk um: fix parallel building with O= option kbuild: add %asm-generic to no-dot-config-targets um: clean up archheaders recipe kbuild: make samples really depend on headers_install kbuild: remove deprecated host-progs variable Olof Johansson (2): kbuild: buildtar: remove crufty vax pieces kbuild: buildtar: add arm64 support Randy Dunlap (1): kbuild: verify that $DEPMOD is installed Documentation/kbuild/kbuild.txt | 16 +++ Documentation/kbuild/makefiles.txt | 8 +- Documentation/process/changes.rst | 19 ++-- Makefile | 24 +++-- arch/alpha/boot/Makefile | 2 +- arch/arm/Makefile | 3 - arch/arm/mach-at91/Makefile | 25 ----- arch/arm64/kernel/vdso/note.S | 3 + arch/openrisc/Makefile | 1 - arch/powerpc/kernel/vdso32/note.S | 3 + arch/powerpc/purgatory/Makefile | 3 +- arch/riscv/Makefile | 1 - arch/s390/kernel/syscalls/Makefile | 6 +- arch/s390/purgatory/Makefile | 3 +- arch/um/Makefile | 11 +- arch/um/drivers/Makefile | 4 +- arch/x86/Makefile.um | 2 - arch/x86/entry/vdso/vdso-note.S | 3 + arch/x86/entry/vdso/vdso32/note.S | 3 + arch/x86/purgatory/Makefile | 3 +- arch/xtensa/boot/Makefile | 3 +- include/linux/build-salt.h | 20 ++++ init/Kconfig | 9 ++ init/version.c | 3 + kernel/Makefile | 2 +- net/bpfilter/Makefile | 4 +- samples/bpf/Makefile | 22 ++-- samples/seccomp/Makefile | 6 +- scripts/.gitignore | 1 + scripts/Kbuild.include | 4 +- scripts/Makefile | 5 +- scripts/Makefile.build | 7 -- scripts/Makefile.clean | 1 - scripts/Makefile.host | 24 ++--- scripts/Makefile.lib | 7 +- scripts/basic/.gitignore | 1 - scripts/basic/Makefile | 1 - scripts/{basic => }/bin2c.c | 0 scripts/coccicheck | 5 +- scripts/coccinelle/api/atomic_as_refcounter.cocci | 129 ++++++++++++++++++++++++ scripts/coccinelle/tests/doubletest.cocci | 34 +++++-- scripts/depmod.sh | 8 +- scripts/kconfig/Makefile | 8 +- scripts/mod/modpost.c | 3 + scripts/package/buildtar | 12 ++- scripts/package/mkdebian | 68 +++++++++---- scripts/tracing/draw_functrace.py | 2 +- security/tomoyo/Makefile | 2 +- tools/build/Build.include | 2 +- tools/build/Makefile | 2 +- tools/objtool/Makefile | 4 +- 51 files changed, 373 insertions(+), 169 deletions(-) create mode 100644 include/linux/build-salt.h rename scripts/{basic => }/bin2c.c (100%) create mode 100644 scripts/coccinelle/api/atomic_as_refcounter.cocci -- Best Regards Masahiro Yamada diff --git a/samples/statx/Makefile b/samples/statx/Makefile index 05b4d30cdd3c..6a862bbc0627 100644 --- a/samples/statx/Makefile +++ b/samples/statx/Makefile @@ -7,6 +7,6 @@ always := $(hostprogs-y) HOSTCFLAGS_test-statx.o += -I$(objtree)/usr/include HOSTCFLAGS_test-fsinfo.o += -I$(objtree)/usr/include -HOSTLOADLIBES_test-fsinfo += -lm +HOSTLDLIBS_test-fsinfo += -lm HOSTCFLAGS_test-fs-query.o += -I$(objtree)/usr/include