Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp444528pxb; Tue, 15 Feb 2022 18:01:25 -0800 (PST) X-Google-Smtp-Source: ABdhPJznS1qy6IoXu6AJ3s19wArfCH2CNhbOHe9hMGgUGTyJCD2lFosahIfpEsRheLM7do+ro4Y/ X-Received: by 2002:a17:90a:2f81:b0:1b9:75fc:6e25 with SMTP id t1-20020a17090a2f8100b001b975fc6e25mr333518pjd.61.1644976884915; Tue, 15 Feb 2022 18:01:24 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644976884; cv=none; d=google.com; s=arc-20160816; b=ZUPDNYNEVckUmKNgIlYslQNF8bwcYY8zkfygAsBOjL/AIgGLYf7mKryQcD+2ZjjciY P2EyA+NhS6w0TPtZgUSOZXd3ftgooLgj8TOFOkve2xIRj9Yr0RKtf6+Ta31F/vyR+As0 Q6wLwGbe8Ca0QwJPXtsSSCjX1rHtni2bbNWEB3zBeA5eudko5mlRSSdhMZXXdigAKO5v U17XU1MfPUWrP11lBhHHCqQ5r/O/EV3RE/ZRDAt1EJwZQTuKjxG6E5L6FvoN57/l42BP 1e0yoZKdS2n8bpMDt/IrfK4a/E5k0qSTnEO/6CjtZvE7NeMRkQKQmz8+f+MY34q0fXIX PtYg== 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; bh=WMFpeHH/2LlihF+kPrm9P2QAiW9s4yup6CA8c8djDKc=; b=Ti0vTuZ5YNY3fW107bUuc6XCYHP5pqpEKBzEZry/3cMnqlaXjVYmElo+W3r8E1Nl9g gI523lSxgTX+mLhTjfVZTevlQq1AIXrEr13/Cp9wxsV50O2Bol+sCUhDSI6bgsm5BXOv /WVofVAgCngdOGbHsRUCQ0TwCM/paNZWbNszH4YjJveBB+CoOplwM7jvlpu28rYzveT0 NcSPQRmSyGMMtXjcavyKdeUiEh/6wz+v/S0TU/IKXw2xFdaspg8I60kjWdUudt/WOPwO 8v9oZtM7dhb9iVWU1GvfTmyLt+suCZg3ogOGAqTdbxTAS7giFKUk3DJynnqFe7fIRmiR EFTg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Q7Fza7uT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id pg15si8770426pjb.108.2022.02.15.18.01.07; Tue, 15 Feb 2022 18:01:24 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Q7Fza7uT; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S241781AbiBOTKx (ORCPT + 99 others); Tue, 15 Feb 2022 14:10:53 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51638 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234523AbiBOTKw (ORCPT ); Tue, 15 Feb 2022 14:10:52 -0500 Received: from mail-lf1-x12c.google.com (mail-lf1-x12c.google.com [IPv6:2a00:1450:4864:20::12c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 80B7CC24AE for ; Tue, 15 Feb 2022 11:10:41 -0800 (PST) Received: by mail-lf1-x12c.google.com with SMTP id o2so38830923lfd.1 for ; Tue, 15 Feb 2022 11:10:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=WMFpeHH/2LlihF+kPrm9P2QAiW9s4yup6CA8c8djDKc=; b=Q7Fza7uT9MzvDrNjzgOKE/3nryb9/bWyOoCtZ+VCeySA1EtuNAXGDqISCPSRBOJspw g7Yx+kYLhYqc+5XQGELlTT7ExTn1f1mhnG9Z3ubty2EJhwKx3+jDHQPAH3zrYGnWfYdO 1Or7ZqiSrs2230fVtFM6L1529Vg7oGeXKKBOvjK1fUj9ihfPGNp08tdP85lBXZH+vZwx SnDKT7G/28RfcEM8rszaV00cy4kmqPgk7c4o7rE8TL+/aS/l++IUvyd+WeHd4WHSF8P6 x5WmsIejkZc6/1+KdpdO7V8DII7hNzO1rqf3C28046NwRgqyJH0wHjotNvGcrMhnFF8+ PnFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=WMFpeHH/2LlihF+kPrm9P2QAiW9s4yup6CA8c8djDKc=; b=qy1cWGEYc3SlQ1ROwUGPzF8T76C2bbkD2nfRcs+W4IlyJdHlUnoDtbNM/p2IiHYabH mav7ih5K19UumYsqoK3wa9kInvMPQlZbgPGrzdRPf1aGLSKFcuCp6UCcbh9jLv1JZNgV bxY6jp/KPV8N+abG98ZWpdtfdyAbJZcZNgIOrVxCmFy+QGwIRpEB4QvJMtIy4WAPaiVK x7eGkMoLRCjSbZBT2iPM3aabcD2C4R8+SmUU75XDwtrog1LkFMGVHTx7Eu9nuUWNwQ1i FVoP9uu1kmaDDYNkOUQdEj6VSUNT8sr4b2zG4ijRT1o8BGmRmgB5uUORDG+p59UE9UIM 71Tg== X-Gm-Message-State: AOAM530/GJQeIolQSFLKqga/XpKtlm8xfJdlxD/HMnDSc4RSutDDpjWb LsWpqToMUzpC6iYtmv4+9uBoZbUizccA2T9Nvcvd5w== X-Received: by 2002:ac2:4e10:: with SMTP id e16mr406714lfr.444.1644952239569; Tue, 15 Feb 2022 11:10:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Nick Desaulniers Date: Tue, 15 Feb 2022 11:10:28 -0800 Message-ID: Subject: Re: arm64: clang-nightly: net/ipv4/tcp_input.c: clang: error: clang frontend command failed with exit code 139 To: Naresh Kamboju Cc: open list , llvm@lists.linux.dev, Nathan Chancellor Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Feb 14, 2022 at 7:35 AM Nathan Chancellor wrote: > > Hi Naresh, > > On Mon, Feb 14, 2022 at 12:27:17PM +0530, Naresh Kamboju wrote: > > On Linux mainline master branch with arm64 clang-nightly build failed > > due to following errors and warnings. > > > > make --silent --keep-going --jobs=8 > > O=/home/tuxbuild/.cache/tuxmake/builds/current LLVM=1 LLVM_IAS=1 > > ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- > > CROSS_COMPILE_COMPAT=arm-linux-gnueabihf- HOSTCC=clang CC=clang Thanks for the report. Thanks Nathan for submitting reverts. Naresh, as a heads up, the above command line can be simplified a little bit (particularly for newer kernel branches) LLVM_IAS=1 is implied by LLVM=1 as of v5.15-rc1 via commit f12b034afeb3 ("scripts/Makefile.clang: default to LLVM_IAS=1"). CROSS_COMPILE is no longer necessary when building with LLVM=1 as of v5.15-rc1 via: commit 231ad7f409f1 ("Makefile: infer --target from ARCH for CC=clang") There is no need for CROSS_COMPILE_COMPAT as of v5.16-rc1 via commit 3e6f8d1fa184 ("arm64: vdso32: require CROSS_COMPILE_COMPAT for gcc+bfd") when LLVM=1 is set. HOSTCC and CC are implied by LLVM=1 as of commit a0d1c951ef08 ("kbuild: support LLVM=1 to switch the default tools to Clang/LLVM") v5.7-rc1. So the above make invocation could be trimmed down to simply: $ make --silent --keep-going --jobs=8 \ O=/home/tuxbuild/.cache/tuxmake/builds/current LLVM=1 We might need to discuss further with tuxbuild folks, since I think a few of those are set implicitly; I would prefer if they needed to be set explicitly in order to properly test them being _unspecified_ in our CI. -- Thanks, ~Nick Desaulniers