From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.7 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1F506C48BD7 for ; Thu, 27 Jun 2019 16:42:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id E78A3208E3 for ; Thu, 27 Jun 2019 16:42:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=nifty.com header.i=@nifty.com header.b="dU1nFyA1" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726709AbfF0Qm5 (ORCPT ); Thu, 27 Jun 2019 12:42:57 -0400 Received: from conssluserg-06.nifty.com ([210.131.2.91]:22715 "EHLO conssluserg-06.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbfF0Qm5 (ORCPT ); Thu, 27 Jun 2019 12:42:57 -0400 Received: from mail-vk1-f174.google.com (mail-vk1-f174.google.com [209.85.221.174]) (authenticated) by conssluserg-06.nifty.com with ESMTP id x5RGgbVV015516; Fri, 28 Jun 2019 01:42:37 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-06.nifty.com x5RGgbVV015516 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1561653758; bh=mjVQLrBPdJBnHT5c+yqrverpI3gXoSHt0lyoRtZKVh8=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=dU1nFyA1fynQp/3U5moyqMQV/A7qLmnLn78IwC6bs1pv3NYCOBnLiToM2i3E4j+V8 vrk+Xjx3DzUhFkEwHXcC6GiVm9hCJStRKLHxkjBzDQmVEb9uQXEN/ncTJ9V6pUZPw6 3ubPfZbez1soyDBNDKR91eWJthjgpc7pQHh3Um8QLOSgoGnzXKnqPgyWIc5YMuZvXB rn03StveKb6E/gGxsFLm8yx7QFZxnK88LbQhzBbImcRYvDg1KBc48CNAs5wL++68Mp kEI7zA4yATsg3/EgC45/kLNt8Ekam+oP7rAdU0kEJZKd+sNt8fsqqaMxq3TNQ3nFxg /tHV6xY+4sU2g== X-Nifty-SrcIP: [209.85.221.174] Received: by mail-vk1-f174.google.com with SMTP id o19so632593vkb.6; Thu, 27 Jun 2019 09:42:37 -0700 (PDT) X-Gm-Message-State: APjAAAVjzDaZP2cWvNeN5Q9RlT0R18/2NLNmHXlF2Ln+/GIrEeTSCzUT 08UR4eqJZIb/HUGYVVQbpvxs442ZmZyduXmcQRo= X-Google-Smtp-Source: APXvYqzEikgizt6Sw+DCd4k5FOnO+SppEPTSGT3JzOTu5C6ZNp4faFBLQFiM9RKT4r3KAmi9gcOpHh0nyzlDZNjlMnQ= X-Received: by 2002:a1f:ac1:: with SMTP id 184mr1898318vkk.0.1561653756253; Thu, 27 Jun 2019 09:42:36 -0700 (PDT) MIME-Version: 1.0 References: <20190627014617.600-1-yamada.masahiro@socionext.com> <87y31np89f.fsf@intel.com> In-Reply-To: <87y31np89f.fsf@intel.com> From: Masahiro Yamada Date: Fri, 28 Jun 2019 01:42:00 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 0/4] Compile-test UAPI and kernel headers To: Jani Nikula Cc: Linux Kbuild mailing list , 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 8:36 PM Jani Nikula wrote: > > On Thu, 27 Jun 2019, 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. > > > > > > 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 > > [responding here because I didn't receive the actual patch] > > This looks like it's doing what it's supposed to, but I ran into a bunch > of build fails with CONFIG_OF=n. Sent a fix to one [1], but stopped at > the next. Looks like you'll have to exclude more. And I'm pretty sure > we'll uncover more configurations where this will fail. Thanks for testing. I did more compile-tests, and excluded more headers in v3. Thanks. -- Best Regards Masahiro Yamada