Received: by 2002:a25:f815:0:0:0:0:0 with SMTP id u21csp2282446ybd; Thu, 27 Jun 2019 09:43:31 -0700 (PDT) X-Google-Smtp-Source: APXvYqxxS3mzbSIoiXk50hZe5UDYLmXMcPGJI6CKnsLJwRyje9FpmoJS60cor5WJuHf2mBT6cKrD X-Received: by 2002:a63:4c15:: with SMTP id z21mr4456195pga.87.1561653811045; Thu, 27 Jun 2019 09:43:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561653811; cv=none; d=google.com; s=arc-20160816; b=vALYT+Mloxv0PVFpiiF1836EnF5YOWmbuj1pD6SQv7PXAtkNcEPSF+nMntFU5UZ1SY w4uVaPkm6iFUCAfUIae18o/pBzdN9BeUn9mFFhQgU+vMS/koaV+I0vokWlTGZ8zczVpV zlbqk80BFA+uL05WGoqiEBdesOj+ogt8cYkkM5FlKKhvbVys2/K9UdH1KN1g/+mshi9M u7KvzLNfD5Ye5z+L6RfEXJ08CTOSFAYd4gqCsWRfWyh/WMJsQ1cc32tJX2nS8J6xKPxn vm7PlmbiYFEgu6FQoYnqR4YN2/hthxWbmThm55z3LvTaCTvOBmkvOmKNcWYBMZ9bf8yn R3iQ== 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=mjVQLrBPdJBnHT5c+yqrverpI3gXoSHt0lyoRtZKVh8=; b=CjQ9UkdtS6a/gDLYy0vk7ZqB2l+mS/r3m6YjPado/j+3sgsmG6R26P5tZ0sZ+KTM4g FvewrCg6Q6Td310hWBUSGq8Rz7mzpP1ExM/XVAvAMIMy4J3qnE7GogUKGzHdEXtllVDl SGXzYfNkXCwmpNcvTQIRZfgE0KzeGHHLGjErGdDYTWoAVJ9hTpAO9eEnRb/A3LFfwpBf 7l4pcI8Z0ej62yi+NvFZJoW9CoLsYMLdgUBHixr0Xcje2os4z206ChW4RkjPtWWV2t45 nKDkVAuLb8gNY7SIRzstnsjyefGyLY9j0PP0g/TlXZsMlew9emmKWUQglsHp8SVwmQBM b/Vw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=dU1nFyA1; 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 u13si2403744pgp.478.2019.06.27.09.43.14; Thu, 27 Jun 2019 09:43:31 -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=dU1nFyA1; 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 S1726696AbfF0Qm5 (ORCPT + 99 others); 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-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