Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp2943317pxv; Sun, 18 Jul 2021 06:13:19 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxl23NTSkxo8r57N7EaXIgUwRZTckQsUQjMGIYMQDFS21eR3pkWVMIH6ImYXNrhgRTlXLdl X-Received: by 2002:a92:1906:: with SMTP id 6mr13187589ilz.273.1626613999768; Sun, 18 Jul 2021 06:13:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1626613999; cv=none; d=google.com; s=arc-20160816; b=fgoXESTMJZtE3oyDNguF5+OEqpWyU2ODSdwHh7BFoIoiZL0+g2HFywrDvx/zHfpeaD 2AXnf0JzooUxD6UkQCbidj4SXzrID1x2VL3Gxps34/mmQWr/2JsIEk+Cjc8QP5Ndn8HK BMkTcGyfkU1nX+gJvkgw6qpORD8sh4BivaACU3QwnoOUOWKNzEmj30rrA/WgtDWwYilZ Y2xHg4jQzqeT7S+hZxRff417WuvlssyN0UoyxKeG2ry6ngjM9CZYQtX90a5uN2Db4xAR wwRQ+oHgrLb022mf6JeXjkSjdBfMra9lXe8we+WUf+qOVKpPchXDPOwGY2rm8XyuOjg1 99pg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature:dkim-filter; bh=kc1rcQBGfa+6hfoq/T5JXuXb+iXKX94PdSMwOW/jXE0=; b=b7ku2Ze3wTD5+pbX/0QtCW7k+MroTWL+UqPpl1U0WfB5S9l7mCzgNUeZBgpKxag8Yc wXPnlljri2/LOcF0HgtM+70S2q1PAMrxAHAgGDxdXAnmbF9CFYnL38sp5dTxvZnZiZD5 FcKTYbJam4fwNt2UIaTzT78KtV370pdw2/b6kVqa2Li0+6DP0juWitL3bZOHO7ck/R0F 393rVz6CngKoVkx0J8x4wlt7xJRjQ5NOT7c4bIPDhr9D+HGK0LuXJv8LnmaamFoQv/Vd h8jCscR5GJjS+QcPS0MXXnrOFupFYEcg6+klXblfFWOPshM+jNdpCWw6CS0XIRnK5q++ kFow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=X+Ay0LyD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l3si16704183ils.48.2021.07.18.06.13.07; Sun, 18 Jul 2021 06:13:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@nifty.com header.s=dec2015msa header.b=X+Ay0LyD; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233704AbhGRNPd (ORCPT + 99 others); Sun, 18 Jul 2021 09:15:33 -0400 Received: from conssluserg-04.nifty.com ([210.131.2.83]:56336 "EHLO conssluserg-04.nifty.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232859AbhGRNPd (ORCPT ); Sun, 18 Jul 2021 09:15:33 -0400 Received: from mail-pg1-f176.google.com (mail-pg1-f176.google.com [209.85.215.176]) (authenticated) by conssluserg-04.nifty.com with ESMTP id 16IDCIw1031967; Sun, 18 Jul 2021 22:12:19 +0900 DKIM-Filter: OpenDKIM Filter v2.10.3 conssluserg-04.nifty.com 16IDCIw1031967 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nifty.com; s=dec2015msa; t=1626613939; bh=kc1rcQBGfa+6hfoq/T5JXuXb+iXKX94PdSMwOW/jXE0=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=X+Ay0LyD9j4uNFmXNKicUmgwMbvfukDHETwWPx+Qe6O8JvbODLxi3mCrO64aXAPz5 ktQhyNPPviBzXCCp3TiD+22ohEpy7nO4SsTbdgjOGGtmqWVMM1BBhEs9Q3WRxuf36x r9ED0l/iAai1s0CLwP0SjpW9QvvVpO0PBmNXwgLcfYs8friRhxhwHwq5zb8uJIzrj7 Vh6cE3H7Gjb9YhskQK1tySUJ/Q8ePib5VNqte3aFu6IhByKQHbLj+eTiU0SQ1cFhV6 l8u2wcbHlwLyvUsgarlOgh1JdKlPKNceBLOx7lXq+ZaTMXxC1uzE6zbF+YwdBicVeg +sAc84R2E0mmA== X-Nifty-SrcIP: [209.85.215.176] Received: by mail-pg1-f176.google.com with SMTP id u14so15853256pga.11; Sun, 18 Jul 2021 06:12:19 -0700 (PDT) X-Gm-Message-State: AOAM530rr42s2gGS7R8paYUAUplgf5c3mg+rAiBP4K4w5af7eVVx5czV rd7JXg1H1W9g5Dk4tdeyhmavGzckzAWXdhoeG60= X-Received: by 2002:a63:d80a:: with SMTP id b10mr20458153pgh.47.1626613938476; Sun, 18 Jul 2021 06:12:18 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Masahiro Yamada Date: Sun, 18 Jul 2021 22:11:41 +0900 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2] Decouple build from userspace headers To: Alexey Dobriyan Cc: Anders Roxell , Andrew Morton , Linux Kbuild mailing list , Linux Kernel Mailing List , linux-arch , Arnd Bergmann , Christoph Hellwig , Linux-Next Mailing List , Stephen Rothwell Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 16, 2021 at 7:10 PM Alexey Dobriyan wrote: > > On Fri, Jul 16, 2021 at 11:03:41AM +0200, Anders Roxell wrote: > > On Wed, 14 Jul 2021 at 19:45, Alexey Dobriyan wrote: > > > > > > In file included from > > /home/anders/src/kernel/testing/crypto/aegis128-neon-inner.c:7: > > /home/anders/src/kernel/testing/arch/arm64/include/asm/neon-intrinsics.h:33:10: > > fatal error: arm_neon.h: No such file or directory > > 33 | #include > > | ^~~~~~~~~~~~ > > > If I revert this patch I can build it. > > Please, see followup fixes or grab new -mm. > https://lore.kernel.org/lkml/YO8ioz4sHwcUAkdt@localhost.localdomain/ With the follow-up fix, this patch is doing many things in a single patch. Can you split it into a series of smaller patches? 1/4: changes for arch/um/include/shared/irq_user.h and arch/um/os-Linux/signal.c 2/4: remove wrong or inclusions (or maybe you need to replace them with to keep the affected headers self-contained) 3/4: add include/linux/stdarg.h, then with 4/4: move -isystem $(shell $(CC) -print-file-name=include) to some sub-Makefiles from the top Makefile. (please note 4/4 will introduce a breakage in linux-next if somebody adds a new inclusion in this development cycle. I hope that will not happen, though) -- Best Regards Masahiro Yamada