Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp1543441ybd; Wed, 26 Jun 2019 20:14:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqyrmBnt/FN/icdSIyC0ac+8/bpHWq+OXC8pBHBQfxJk7hcInMWjdX17FdiG8zHPedNmZ5uv X-Received: by 2002:a17:902:d891:: with SMTP id b17mr1851327plz.48.1561605254260; Wed, 26 Jun 2019 20:14:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561605254; cv=none; d=google.com; s=arc-20160816; b=arlU+2ATipbSsxLFILfCFbwcZJlmbhB7KQ3Blu8UVVyD2iwqOsmwgCg6euKIHGOYB0 JUlz6BDXzRu+dLLvUUhStXzL7lLQlAO6XzqjD3glXvcF4ALsq+Fm6sqq72hN6q+7ZGi1 OOTZ9RMcRa/jRBps5NYUuFYTUEmneoWlzRwqhJiJLcHsZe2WtxZBVnlgx8e8Uks6vOPb mRu+eMZ6KV2or1Ic3mkBHkLrxahkTsXGzwQ2Kqgz90YEvNs7rhSlzh11WgVGVQodFPuh 5UhlRp4GlGfc0gwSIZPrM/5f/Ltu9jsTac1Xw9O9TVDC/QfpKoFtEXgC6EASZ+dmt4Li wstQ== 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 :in-reply-to:references:mime-version:dkim-signature:dkim-filter; bh=hUceC5AeeaszlwO9PeBwDuTy7hRVRhzHLJ1xX0slEKk=; b=jD9EUA3E5fjSUO9F5HNT1QYIV1Yu5OV+9G0tYDoL5QulnGqmR0JhkM0i1KVRnJBxVg cqR4MQNclTyz8hF73D7MgrsUxxnkYygueWF2KicsjoxtwVDJEAD8FY0FPWSZmj6LMfSX UoL0iXwWoE1wzRnGecrXYM+URUsgAiQXNh7YYoDKQuFyTW3ORpZNDekWFY0H1r/aweTw LN9+Pz6wqrftZcZJthZ0B2Et+7bJTCXP6hPj8n4zdO7HMXQtx25mosDPExgHUUCnhwGC oTPmJCirrW3aJyo/GLuFnUGFvrFa5LcV9oOUQ17uWU/UMKxYA0H5cdy8VKKD7dP24AtA CFpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=2Cyt6p7m; 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 v8si1079159plg.122.2019.06.26.20.13.58; Wed, 26 Jun 2019 20:14:14 -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=2Cyt6p7m; 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 S1726970AbfF0DNQ (ORCPT + 99 others); Wed, 26 Jun 2019 23:13:16 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:45788 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726658AbfF0DNP (ORCPT ); Wed, 26 Jun 2019 23:13:15 -0400 X-Greylist: delayed 5032 seconds by postgrey-1.27 at vger.kernel.org; Wed, 26 Jun 2019 23:13:13 EDT Received: from mail-vk1-f176.google.com (mail-vk1-f176.google.com [209.85.221.176]) (authenticated) by conssluserg-04.nifty.com with ESMTP id x5R3D6gv018380; Thu, 27 Jun 2019 12:13:07 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com x5R3D6gv018380 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1561605187; bh=hUceC5AeeaszlwO9PeBwDuTy7hRVRhzHLJ1xX0slEKk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=2Cyt6p7moE3aTxtO9LVZTLf8Js+TX6msHAzEQc2U3RWhpCafH3zcwX7L6dncx8NZj ockSog0czJt3lhCqCbLzNffVlAwojPSytljO9BO73VA05KUuFrmauuPIzOxtzCJyCS I5epEv29rqm491WP8MAtiIhEnlmhgxnbyjF+1EaPXAMrOVW0Tp8sy5BrWQ7xi5cIMS +la8c2fFA7Qz6Gsxgjb0dJKJI56ggjDPZDYsmLm17g/FfJteYLT0I79YEcy9pHsNwi 0ZC+277O1XILPZP/vHnTygUbl9mom+Th9NKjBPsENXkyrtFEoxj3NwJvDj2HSBB8DY 94rFlEoEYBGdQ== X-Nifty-SrcIP: [209.85.221.176] Received: by mail-vk1-f176.google.com with SMTP id b69so201659vkb.3; Wed, 26 Jun 2019 20:13:07 -0700 (PDT) X-Gm-Message-State: APjAAAWehBNpZZcasJLpNHxpeuu1T3jlBEFOJDkkJYnr7g20LQEMniEj sUmMF15RVz2uhGhAm0IpgSInchZE5juKTN3JMY0= X-Received: by 2002:a1f:4107:: with SMTP id o7mr526475vka.34.1561605185809; Wed, 26 Jun 2019 20:13:05 -0700 (PDT) MIME-Version: 1.0 References: <20190627014617.600-1-yamada.masahiro@socionext.com> In-Reply-To: <20190627014617.600-1-yamada.masahiro@socionext.com> From: Masahiro Yamada Date: Thu, 27 Jun 2019 12:12:30 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] Compile-test UAPI and kernel headers To: Linux Kbuild mailing list Cc: Sam Ravnborg , Tony Luck , "open list:DOCUMENTATION" , John Fastabend , Jonathan Corbet , Jakub Kicinski , linux-riscv@lists.infradead.org, Daniel Borkmann , xdp-newbies@vger.kernel.org, Anton Vorontsov , Palmer Dabbelt , Matthias Brugger , Song Liu , Yonghong Song , Michal Marek , Jesper Dangaard Brouer , Martin KaFai Lau , "moderated list:ARM/Mediatek SoC support" , linux-arm-kernel , Albert Ou , Colin Cross , "David S. Miller" , Kees Cook , Alexei Starovoitov , Networking , Linux Kernel Mailing List , bpf@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jun 27, 2019 at 10:49 AM Masahiro Yamada wrote: > > > 1/4: reworked v2. > > 2/4: fix a flaw I noticed when I was working on this series > > 3/4: maybe useful for 4/4 and in some other places > > 4/4: v2. compile as many headers as possible. > If you want to test this series, please check: git://git.kernel.org/pub/scm/linux/kernel/git/masahiroy/linux-kbuild.git header-test-v2 > Changes in v2: > - Add CONFIG_CPU_{BIG,LITTLE}_ENDIAN guard to avoid build error > - Use 'header-test-' instead of 'no-header-test' > - Avoid weird 'find' warning when cleaning > - New patch > - New patch > - Add everything to test coverage, and exclude broken ones > - Rename 'Makefile' to 'Kbuild' > - Add CONFIG_KERNEL_HEADER_TEST option > > Masahiro Yamada (4): > kbuild: compile-test UAPI headers to ensure they are self-contained > kbuild: do not create wrappers for header-test-y > kbuild: support header-test-pattern-y > kbuild: compile-test kernel headers to ensure they are self-contained > > .gitignore | 1 - > Documentation/dontdiff | 1 - > Documentation/kbuild/makefiles.txt | 13 +- > Makefile | 4 +- > include/Kbuild | 1134 ++++++++++++++++++++++++++++ > init/Kconfig | 22 + > scripts/Makefile.build | 10 +- > scripts/Makefile.lib | 12 +- > scripts/cc-system-headers.sh | 8 + > usr/.gitignore | 1 - > usr/Makefile | 2 + > usr/include/.gitignore | 3 + > usr/include/Makefile | 133 ++++ > 13 files changed, 1331 insertions(+), 13 deletions(-) > create mode 100644 include/Kbuild > create mode 100755 scripts/cc-system-headers.sh > create mode 100644 usr/include/.gitignore > create mode 100644 usr/include/Makefile > > -- > 2.17.1 > -- Best Regards Masahiro Yamada