Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1908472pxy; Mon, 2 Aug 2021 13:34:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx+LDiR9LKyrGzkkSw2gB5SobhGRPYYMjv+rHaOblLYY4FruUp0x4ezWd6/ObVBt0293plo X-Received: by 2002:a92:507:: with SMTP id q7mr935773ile.81.1627936457128; Mon, 02 Aug 2021 13:34:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627936457; cv=none; d=google.com; s=arc-20160816; b=HWmjvRzcQbyPbuQiACXOqFHpD4uaXMN/52LYPHtaLWlI2Vt9o7N1Y8iqAWHHJn2FTK eEl1RfbwXlcJpgsDbgCWRExecdIYZUVg055weiM5809prXWHHJRrJLO8HBVk2wz0LJc+ n83ebOe/ecsRYl+R/20nz8MFfQFh2yn9600X6u/Sl4aI/WO+hKxZyHuJcSv4SbsfzPcw YOJ+2/Se4Dv5RCPpdQwD3DKgMxJGesVjcyitCYnxT2wxDg9p05bdOA6tcs+nazLnAh0C 2fzin/k+gTdgouDakCpCT94FGDR3yipS2iQn5iAQ1wh+qsiP2VTF3ZKJhjSgu9yUhvCk 4lfg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=M1nBUo4KZ7/feK13SK1ltjciiCFL6QbXAmkAclXDcwk=; b=TYyZ6hxeyrk+Ju/RkvnoKkB6GOjbVX7TW8uKQLM0qKDAXaT6/D73BmUWegsMYyJEa4 C+yKG/mm8hFiCOMP12dcwTDzQxqWYrNxj8nwAxCFushZreNyE72UA0r29u8UE+/rpWTg lnaGZpdmwoseWBOb0L8z5LEhuWemy1+m9+lKACJ+wUdA+D42tR051tKMnKZwcrU98lGd HFZG/LP6oklkQJkOM0us3GBepUn9Kwooiea2AgJUG6bYaTJ8QRh9CWNVjfMgQY9PktKz G1JlrUhBKducSnocqmdtUbm/aB3UGgWcURuE4Hylo4TFR7BdEsd0FqjDMbQhOsDOf4JM EpTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=jE2IKMDJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x4si14139298ilj.71.2021.08.02.13.34.02; Mon, 02 Aug 2021 13:34:17 -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=@gmail.com header.s=20161025 header.b=jE2IKMDJ; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231324AbhHBUcS (ORCPT + 99 others); Mon, 2 Aug 2021 16:32:18 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55188 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231308AbhHBUcR (ORCPT ); Mon, 2 Aug 2021 16:32:17 -0400 Received: from mail-wm1-x32e.google.com (mail-wm1-x32e.google.com [IPv6:2a00:1450:4864:20::32e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AD3D0C061760; Mon, 2 Aug 2021 13:32:05 -0700 (PDT) Received: by mail-wm1-x32e.google.com with SMTP id a192-20020a1c7fc90000b0290253b32e8796so652607wmd.0; Mon, 02 Aug 2021 13:32:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=M1nBUo4KZ7/feK13SK1ltjciiCFL6QbXAmkAclXDcwk=; b=jE2IKMDJCKiu0+a2EeiLzhAmvFml5I8A0zkmXmFK3ZyQXlSQ97rdMAB7ZaYdAHijd3 Vzvu8Mp17UBwHT2nih+IFxaiZFGHuFM1DriOKm7vudR+6k3VGnEc5NVUlSRHYAIwzROs HQNhFf5hHNFHMDSPC7V4AsPHQbXgylyxoPpNT1YcXaAwPgrdoOKA3YI0LzQHUfSP8Ig/ qpmzQExuMPpumfAMIxc8zZJI5/iEsZbjA8LuYqBgsqbIk0wrQrvauJ7hZmi0i2uCsSBH /DiDgqCOPCPXVja/fb5w2KS/D/Zygf/ZGuSXkWaSIUqdhen2wuB+i0gVMdFb5fLFdvh6 XR+w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=M1nBUo4KZ7/feK13SK1ltjciiCFL6QbXAmkAclXDcwk=; b=mq/d35kY22nNuKSaE42kw7cJ56ozirXbbo/tUkZOGhd0Gt+H8Z6QAkgqneUG1yzG62 5jUm3zPPScXH1erlHp5nvF8ra0ZrTi123XSk7Pdnu0pPPKYdJ4UwVcGN3VwCNO3CoEkC PAQvwxmrTWqSKimTDSmpo8+FhamgRlIKolvRKJYQZPqgeor3wT93a6KS9K6T4T4RmElu 80vQNoI6Xa8hsWyMZzgANwD7rBcmgKAY+joyAyky+3YzXJUAW+y/jJU7zPrJwSUrr7R1 9t6cE7GUDaKkYthkz84xm6dFEvEdZyRKTmS3g61IPJmBl0mEosCoEx8If2aZqVImedHg QIug== X-Gm-Message-State: AOAM530xc0yfgxAyI+fIgALo6aBpfcMlDhGksLkgS2I9kQK52qKFj6Dv AAXXNBnUwkQoOzGrI37edw== X-Received: by 2002:a05:600c:2909:: with SMTP id i9mr689355wmd.74.1627936324376; Mon, 02 Aug 2021 13:32:04 -0700 (PDT) Received: from localhost.localdomain ([46.53.249.181]) by smtp.gmail.com with ESMTPSA id s9sm12474226wra.80.2021.08.02.13.32.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 13:32:04 -0700 (PDT) Date: Mon, 2 Aug 2021 23:32:02 +0300 From: Alexey Dobriyan To: Nathan Chancellor Cc: akpm@linux-foundation.org, linux-kernel@vger.kernel.org, linux-arch@vger.kernel.org, masahiroy@kernel.org, Catalin Marinas , Will Deacon , linux-arm-kernel@lists.infradead.org, Michael Ellerman , Benjamin Herrenschmidt , Paul Mackerras , linuxppc-dev@lists.ozlabs.org Subject: Re: [PATCH 3/3] isystem: delete global -isystem compile option Message-ID: References: <20210801201336.2224111-1-adobriyan@gmail.com> <20210801201336.2224111-3-adobriyan@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 02, 2021 at 11:18:32AM -0700, Nathan Chancellor wrote: > On Sun, Aug 01, 2021 at 11:13:36PM +0300, Alexey Dobriyan wrote: > > In theory, it enables "leakage" of userspace headers into kernel which > > may present licensing problem. > > > > In practice, only stdarg.h was used, stdbool.h is trivial and SIMD > > intrinsics are contained to a few architectures and aren't global > > problem. > > > > In general, kernel is very self contained code and -isystem removal > > will further isolate it from Ring Threeland influence. > > > > nds32 keeps -isystem globally due to intrisics used in entrenched header. > > > > -isystem is selectively reenabled for some files. > > > > Not compile tested on hexagon. > > With this series on top of v5.14-rc4 and a tangential patch to fix > another issue, ARCH=hexagon defconfig and allmodconfig show no issues. > > Tested-by: Nathan Chancellor # build (hexagon) Oh wow, small miracle. Thank you! Where can I find a cross-compiler? This link doesn't seem to have one https://mirrors.edge.kernel.org/pub/tools/crosstool/files/bin/x86_64/11.1.0/