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=-5.7 required=3.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no 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 6EB72C4338F for ; Mon, 2 Aug 2021 20:33:59 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 2EEED60D07 for ; Mon, 2 Aug 2021 20:33:59 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2EEED60D07 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=8bRteD4loVvj7QfD+R9zm5WkHxZ5M2sfWql7pl4F0wA=; b=TWduIE211k2ajk qar/0gyorAGowT3mv01b4QU29/6tZll7jMjzhY/7xGmY1UGKw6UZaGsa0KCUn320DOtehN84L3rYd S4eFrRzoUZ2gc0jXk+ynUBWNAW+eoxu7DlFdJ5d+K0f+XpVehodglyid6nBgSe1AOZMYIngr+dDYv apBBYd3VCHkfD3NBgs1KNFyp3rlZ7cUyR38i6l3bTVfd0rToM6LPm/hv0e/f+PEr2zDmj5VA9EB/x OQJmTN3gg1SrvrnUBGYmkLPOdpUTFFC/qhJOoHIGkb8QWwEijO2f1qqGn/dsgDp0kjUZpX5IuvoOC yJgdWWQge2k34+IMtbsQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAebZ-000AUg-B2; Mon, 02 Aug 2021 20:32:09 +0000 Received: from mail-wm1-x331.google.com ([2a00:1450:4864:20::331]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mAebW-000ATn-2t for linux-arm-kernel@lists.infradead.org; Mon, 02 Aug 2021 20:32:07 +0000 Received: by mail-wm1-x331.google.com with SMTP id l34-20020a05600c1d22b02902573c214807so283164wms.2 for ; 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=e8CAyoEuqJ4YaGI08n/ymHDEGczPV0eWiz+dpNo8lY/VtZzAsttH0pF4HX289AuQ/I 5la3cU/gHzgLgM5Dqsc21ILjXkXQLIrabvsHwmeQd/sADYFTj0TR53hsqS4SUJX52JGz 9VD2p9DRYWUR5fj+AzPQFTGs2zJdnJlz55n4XrSRMXL8VoBBnbc8m0TlJJBsy3FFQmXk TVkNG7JSi5nfcrdLvoxIYuMLfBY2+YuvetgzMwySgl0ZK+GXqBdy4TijSH9eePnk0EJy hwSWx/JM3aTjzBd3cAO20w/q9i6H+cYKDVNd/4lOv9m8yF4HMf+Pr23s9U4dcPmEcuHu DPnA== X-Gm-Message-State: AOAM533zzXFaJPWz4H2aZrGo1YZiw4OWBOrBE9soc1CAHTI5mavOq9re sIM4t5LzkUxLjnrb3jPtyA== X-Google-Smtp-Source: ABdhPJywcnySifupCI+7bkrOwR1Br6hJZav/murBPhZkaBphO5C0vq9XjyYzQ+BUWPpZaGgnsr67YQ== 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-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210802_133206_177886_2B0F8A30 X-CRM114-Status: GOOD ( 15.35 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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/ _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel