Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp5323181imm; Tue, 21 Aug 2018 09:46:05 -0700 (PDT) X-Google-Smtp-Source: AA+uWPy6FP/Skd7/34l4S4nky63l1yeF71TMOoHO24HUGFkuNsVeH6unxN//4DGCGOFB1EFhKacY X-Received: by 2002:a17:902:7c8e:: with SMTP id y14-v6mr51673571pll.265.1534869965211; Tue, 21 Aug 2018 09:46:05 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1534869965; cv=none; d=google.com; s=arc-20160816; b=CNsf1egeTpJ9h00kdiQZF89NMDDl65t4/A/woWlChDcflgZ9Qb0q4VMuMyBx7RtTpJ CwEOHSQYBIOPSYYLd24HLYebCbn5xJIAUrri9f8CZ8cmUQqsHPaKvzXAUDbtS781WluU cs+bRe6q4Tq+78vK6+JuGpGkU7HM8eiOYEbPSEWAGBoyPF0Zt86+eh1yvKs1rBCNF6w2 p7xefJxO73l4TWzzmvuDJNcabzeYHRuhmzwztpPke/E0X4YVAAmk+CyH9EoZn3w8OuC8 r9QAiLi37E775d5ElZSaOHFBklWkz7069v2v9LcEMefGtZX7bpc9tOe9fjZIRZEFj4HO 1IdQ== 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 :arc-authentication-results; bh=Ta/2NpDc5IV2JLxQO7BawXtgOqdpHbpSj0OOwH9om0Y=; b=XnkPoTXbD22+U578cbhdv3cI9+aTSgLFO1D98ADZJkqDW7hSzyjKim5Zqeh7qSjmsq ukMtTxp0VcLvkOLaMxzQveaFLuOhCwkH1CHfSbhKtt/ZyQGL5kdPPAcWOfOGMAZ2vSQO 3+uwyQMWrS/3a2WxgH6ucXxgrbZk4s7zWjg6s9yChfVuY+OOVFoJeKa1M94YRsXJy3IP 4zAh7R1MMtGXxXwfaNjNWp46ESq/QocIsKS3zf+CeruKXDKYD3+KfM4fv164Q9LD/TUU HUkwRGgcm9E1zdXguT+egbANtUQcPImaXV8S43SjKbnv7Xyzu11oWsgEG1K32OMdIE/7 M31w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=XrMFl7IJ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id gn24si10816134plb.147.2018.08.21.09.45.49; Tue, 21 Aug 2018 09:46:05 -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=@google.com header.s=20161025 header.b=XrMFl7IJ; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727636AbeHUTxZ (ORCPT + 99 others); Tue, 21 Aug 2018 15:53:25 -0400 Received: from mail-pf1-f195.google.com ([209.85.210.195]:40875 "EHLO mail-pf1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726935AbeHUTxZ (ORCPT ); Tue, 21 Aug 2018 15:53:25 -0400 Received: by mail-pf1-f195.google.com with SMTP id e13-v6so8745332pff.7 for ; Tue, 21 Aug 2018 09:32:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Ta/2NpDc5IV2JLxQO7BawXtgOqdpHbpSj0OOwH9om0Y=; b=XrMFl7IJau4pnJz+CVPIIzR27UfOG8bCqnUWZf1jZmlTgyVX+df/oYpHglIpuwdYx2 32Qm8lnk2Wsyw4aGHsFzTXN/XOZwDyUTJfExfuR5KqlW3RyuWzGt7fOt0PrabW/4yKna OYWAs7Dmxxojcqzr+kJxEACEtvwWVnJrRkielRKxfJf+WC2b5I+rIIJQyglpBNCOu+Ub CMZ4BFaxDOQLfRtJAKpiyx6JYW0TQeRJml6NVtBlTFfmGmQ9Lor2b6mWBr1d0fh9wfrD /nHryPLWCFHWlZVNTH0dpgSd3klOguC+2E6q34zGTEgEyW90YrgRHeVy9G7DlYpLQ+d5 P1RA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Ta/2NpDc5IV2JLxQO7BawXtgOqdpHbpSj0OOwH9om0Y=; b=Y4XgSXesojfSpMalJMiMkN2q5XX2jVlCxQOtGUr6P/42Jx6xc6mILuCHte9Xkd17P/ xHPM5bDfldeqpcEGQAcRK7UfakMPLsv/lzxC2CNbTNxQP0EFxmMH2AJtfX9rAKy3GU1+ 7FFGs/qbByU+uqbkGV1IS18Hs2R2Kkj4/KOSYScBjFEdFqiR3sFBRaF7i7IrM0gbMeR2 3LOauqIXy06E6cxuwuMPOLXkgBM5+mJMAFYlcHKkg9GKvwDILnH8EIXk6+J/pOgMEuZ/ Yi+UTXidfAV/uk5I2T0/T0Y+cVObTpIxF2bNzdDYiGqC0MQdLQu/2OIFnrW5lbI+ZE6s TaXg== X-Gm-Message-State: AOUpUlF+AL9PDj29uiEU4tUxxVxaUT0gwHRmI8vG3A1w7HQAKrZx7Cg5 IYsLdIER7YVz5O4mYmCkP59L7IPZyUO2hfuEVA3Q4A== X-Received: by 2002:a62:591a:: with SMTP id n26-v6mr53905803pfb.94.1534869155730; Tue, 21 Aug 2018 09:32:35 -0700 (PDT) MIME-Version: 1.0 References: <1534834088-15835-1-git-send-email-yamada.masahiro@socionext.com> <20180821123832.GA19034@nautica> In-Reply-To: <20180821123832.GA19034@nautica> From: Nick Desaulniers Date: Tue, 21 Aug 2018 09:32:24 -0700 Message-ID: Subject: Re: [PATCH] compiler-gcc: get back Clang build To: asmadeus@codewreck.org Cc: Masahiro Yamada , Kees Cook , Linus Torvalds , joe@perches.com, Jonathan Corbet , Arnd Bergmann , dwmw@amazon.co.uk, LKML , Thomas Gleixner , Will Deacon , Geert Uytterhoeven , Ingo Molnar , Andrew Morton 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 Tue, Aug 21, 2018 at 5:38 AM Dominique Martinet wrote: > > Nick Desaulniers Aug. 21, 2018, 8:09 a.m. UTC: > > Thanks for noticing, and sending this patch. I'm happy to see others > > testing with Clang. I noticed this too near the end of the day > > https://github.com/ClangBuiltLinux/linux/issues/27. > > FWIW libbcc so many BPF users also use clang, so this has more impact > than just testing to build linux with clang (not that this would be any > reason to delay fixing either way) > > I would tend to agree havin a compiler-common + make clang/intel not > include compiler-gcc would probably be best in the long run but we might > want a quick fix for 4.19 meanwhile.. That's fair. SOP here is quick (full) revert, then come up with a better fix. And I do prefer Masahiro's partial revert to a full revert of Joe's patch. That will give us more time to develop the proper fix rather than rush. I'll try to see how we can more properly split the compiler specific headers. Tested with gcc-7 and clang-8. Tested-by: Nick Desaulniers -- Thanks, ~Nick Desaulniers