Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp566752pxb; Tue, 15 Feb 2022 22:17:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxydQlBdL+PJC5ACErbFP9VDmYViLFRi0aEUmBL/eEAOY9wvtRIrT+vfT1t+wicZOQhC2NR X-Received: by 2002:a17:902:b188:b0:14b:fa7:e574 with SMTP id s8-20020a170902b18800b0014b0fa7e574mr1198012plr.114.1644992271809; Tue, 15 Feb 2022 22:17:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644992271; cv=none; d=google.com; s=arc-20160816; b=pblB8cAn91OiZ5dyxWSzIxDq2bouZ/d0JF6VNsLIRcL8VOveQniz+X6Vtl0BhQDknq SsTE9lUFwx/uFgB0bEiFS9LHsGOH0kpTCYR/1SdTzlhmRm7t5vC8G0yWd2QDXzcOGvkp G5LsYrU/0qideK+6ZeAfy/FG64WLS0zb+tw7lTTyB1fYjCxfSL6pE0IplZsGhi3aWr2T zOnCDhKZVymRS7iSYRQHP06XyQd0y3r9fJyyC2lGlyREtiFnlxHiJbZmgwXICmFFAQgP pj+/tVO39NQKYBBrZV86vk56eh1jERTPPiar1qKiC93yuhL3teQ7ajsYzTTukVgKVV4/ Vjlg== 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=urx4RhFz12ENplV8nHgIKk5JctorPTtGKlJ9HOaV/nw=; b=FLSYRDBsk6cV1meYzwj0NRmO4HcB2FnsQNm7HBOaAIHb8cdq25dW4T3+aqC1x4ZeVn H2Ok+P2KDVSr4BtR2wKxfWnQP9KVgJ7H2CxN6i02s3agFrcisPudq8ODYBWuDR03cuZO eDzGWAsvn5cv4jJTtU5vWnZQlkZxm9VadiRtKaNl1u2UWFLaag86x4phDIBDupmiZkV3 wN/GvfSo+JS8w7V2m/S55AaPrj+Y0dv0iEMVmfJJIu82jqXMUw6UFSE0WhK+rq5IlayW o/Y/1UhWuJXFLzH1USnq3N52ZNIyEVbKDr+XPYcEgJ3thggvrskK7ouTFlxyPa1m/kBJ zB/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Q2E5MYhn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id n5si5244072plk.9.2022.02.15.22.17.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:17:51 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20210112 header.b=Q2E5MYhn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 9483023D; Tue, 15 Feb 2022 22:16:25 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243516AbiBOTTC (ORCPT + 99 others); Tue, 15 Feb 2022 14:19:02 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:51338 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236277AbiBOTTA (ORCPT ); Tue, 15 Feb 2022 14:19:00 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A27C2EDF04 for ; Tue, 15 Feb 2022 11:18:49 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id t14so28164984ljh.8 for ; Tue, 15 Feb 2022 11:18:49 -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=urx4RhFz12ENplV8nHgIKk5JctorPTtGKlJ9HOaV/nw=; b=Q2E5MYhnb8RBb4LwHyKZoIEps9yKNhiyf0rkiJPeICpq2OliStVxizlnYkFn/rUro8 uu7Nl/zSI4LMxk/v6ny3spI0NNViowMC0eY4Hlm2VAVxHVEsmHy8m2s0ef7THlCHmuA0 FPi3avYRz6v4qElgc1KHF3bW+a1rL2/Sf/h75+maq2u2udKd2sEtrqnQVpHKE6cv5G5R OaNdsIUqvpaD5ZVi6H4CJFgt69C/9aTj6B9Z4gHiTgQ18tXCtI6vYvc2hP3SHLuuC+mP QxVt259jXwHgPjf6f7HDQaJQoK7/f8nWaOjHpZhyOGvbnhTqPZZ7Hr0KKSKyI+lHO92v eHGg== 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=urx4RhFz12ENplV8nHgIKk5JctorPTtGKlJ9HOaV/nw=; b=EAbGEqlX/ncsGTBB2da5tLqDvnjs63exM24MESE+Xd44kTtO6EVv3CebA+to6xPmVe ko8TXFJAWozWycQY4c9AATlforArBee1NzznKAfx/k8i9i9PHskUvLqSwwBdSmtimzEA jpBA5BVPcUpi9xqZK/ecVSUOxUtvAHrqRYk6qcGsW/swfirDHAo1o+tYY/KfEY3HmdV+ 26pwYjS/zowOwlFceRerS27sPpVI/OrdZcRPZ1/Vjj0rHn0eIKjtasPMoNBHrsyDX+oF l76Dc/o5WI6gxd5qeBJP0fTAi4Rpdc38IbAhxbrEu3akxNe4BpjGk4Rdrba1csRN+JgV 1LrQ== X-Gm-Message-State: AOAM533zopLWIjY0DHW6LdQJ/fbiQUkuMlcG060DaRDKpYxyJlHlhZ2T rVFG+M8zfTVEbQBHm2Hef7TZRIQa82Wj6zx2iW8zlw== X-Received: by 2002:a05:651c:1987:: with SMTP id bx7mr367363ljb.128.1644952727738; Tue, 15 Feb 2022 11:18:47 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Nick Desaulniers Date: Tue, 15 Feb 2022 11:18:36 -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=-9.5 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE, USER_IN_DEF_DKIM_WL autolearn=no 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 Tue, Feb 15, 2022 at 11:10 AM Nick Desaulniers wrote: > > 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. Filed: https://gitlab.com/Linaro/tuxsuite/-/issues/151 -- Thanks, ~Nick Desaulniers