Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp28798rwd; Wed, 14 Jun 2023 11:43:27 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ59+Y4H4MiEaebA7ihY9UhacdDMKk5YIpG0hWOnLhxDt58Mtw0TzyS4OdsICeJT+CToyEC6 X-Received: by 2002:a05:6808:190d:b0:397:f9f2:76b with SMTP id bf13-20020a056808190d00b00397f9f2076bmr14606996oib.30.1686768207240; Wed, 14 Jun 2023 11:43:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686768207; cv=none; d=google.com; s=arc-20160816; b=xa978IVqy9XCTCEMuxbG5tncu2bQ0bfL2tcYDE9xFL4v9ss1ZNZJW92IOWRdPBoe/c FdUT99vwXPauOUntkQjs4E4s6FtF548uE38hUVPSsRXpDr/n58Z9w4hGaJCmKIJ7r0l6 EQhhy6t1CD2CR5Y44APTj35hbRccBMw/fvx7KbY8EdaUztDtW2eERBjt10+NDTiS9ijT J9PGWEprhSl4kdASy+gwgGuNOa1gH5NYn41m3hUiC962lqqPsimOpxrgUkdG1xfky/Bq mEyR5tfUhRARLNo/3Tr1vK3wOAWv7EfjVjO/2TZbt8ufTby1WBLUKdEoDOnCQFglyGRS nwTA== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=96F3p/EdxI75GhXnnuijow6SMu7K8aPcO0LCNRSjgyQ=; b=Y0l9cED2n0rcVZ8RUz1lFd1LnW2Wl2jAVqOXzMMazwfJ3Nf22ZG5DwdDeuBQb8WuwH sQIJgb5Ya7xSQ2kqh3+xOTb7GBH6nPDoVNTHyIZCKbArspjLjQGWtH84xbg2B9TAQcue QRXoNqwTmO3hqeYhqxBlqe5UNam0sSI3xYEzGjDkTLylERo5F2bbyWZxUme7W7snJBL+ Xj6zCaqFuUKAAACeQyO7bWhot8oQM5QvLME9ZJo4xwnqprYM1dq0wHZRkzTBTEnnme02 rzh3oes/+tQdXs/PEF42eAXuemk83ZzfGEDLnmFq7BNNsy7Hy+ydTRh7137jyGV801jd KWVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=XARG4ZSJ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m21-20020a637115000000b0051367d909efsi6157880pgc.106.2023.06.14.11.43.14; Wed, 14 Jun 2023 11:43:27 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=XARG4ZSJ; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231873AbjFNSKW (ORCPT + 99 others); Wed, 14 Jun 2023 14:10:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39148 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S241321AbjFNSJu (ORCPT ); Wed, 14 Jun 2023 14:09:50 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBBAE3593; Wed, 14 Jun 2023 11:09:00 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 6BBB26458E; Wed, 14 Jun 2023 18:07:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 2AB21C433C0; Wed, 14 Jun 2023 18:07:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1686766077; bh=Uf4sTtIWxAwykiAlD6TKOwJqAz2NJsqgiC/LwUbwvjo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=XARG4ZSJAarJrHn5Jaf0ASt3Qx98VTQJUyDOPFK/JIwyuJ8QaEDeZ8PGuZrUBtisz 3ED4S9NC1ACVqmzp3/ty8A+idvmRDWIBqrSZMXRll+zkBP6ljDFcFB6mi+Ta5+licX 1OcAz3WCcnxwQ2fheuT7UiUVkmeonyIXDjSHcYOZ+pYmaNIL3lflczmuDcTmSj8k72 uDnOUpYpMEUDSyl/Cwe06zLy4riwAwrtiqCsVBawufzl/hM7K7/NhIKNMhDby/vQwQ 5TKwBPlbBOxk/I/DCclB6r7JEpj8Zve0EQXeqhXt//rL/jGTzQEUCCFWOPZpQt949z c5VFlJRoPnEtw== Date: Wed, 14 Jun 2023 11:07:55 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: clang-built-linux , open list , linux-stable , lkft-triage@lists.linaro.org, Greg Kroah-Hartman , Sasha Levin , Nick Desaulniers , Anders Roxell , Daniel =?iso-8859-1?Q?D=EDaz?= , Dan Carpenter Subject: Re: clang: Powerpc: =?utf-8?Q?clang-nightl?= =?utf-8?B?eS1tYXBsZV9kZWZjb25maWcg4oCU?= FAIL Message-ID: <20230614180755.GA2035364@dev-arch.thelio-3990X> References: <20230612185424.GA2891387@dev-arch.thelio-3990X> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 Wed, Jun 14, 2023 at 07:43:45PM +0530, Naresh Kamboju wrote: > Hi Nathan, > > On Tue, 13 Jun 2023 at 09:57, Naresh Kamboju wrote: > > > > Hi Nathan, > > > > On Tue, 13 Jun 2023 at 00:24, Nathan Chancellor wrote: > > > > > > Hi Naresh, > > > > > > On Tue, Jun 13, 2023 at 12:10:30AM +0530, Naresh Kamboju wrote: > > > > [Please ignore if it is already reported] > > > > > > > > Following two builds failed on stable-rc 6.1.34-rc1. > > > > > > > > - Powerpc: clang-nightly-maple_defconfig — FAIL > > > > - Powerpc: clang-nightly-cell_defconfig — FAIL > > > > > > > > As always, thanks for the report. This is an LLVM regression/change in > > > behavior caused by [1], which can break as-option and as-instr on > > > releases prior to commit d5c8d6e0fa61 ("kbuild: Update assembler calls > > > to use proper flags and language target"), as unsupported flags for the > > > current target ('-x') may be present (KBUILD_CFLAGS is used for these > > > tests instead of KBUILD_AFLAGS). Inside try-run, the macro behind > > > as-instr and as-option, I see > > > > > > clang-17: error: unsupported option '-mno-prefixed' for target 'powerpc64le-linux-gnu' > > > clang-17: error: unsupported option '-mno-pcrel' for target 'powerpc64le-linux-gnu' > > > clang-17: error: unsupported option '-mno-altivec' for target 'powerpc64le-linux-gnu' > > > clang-17: error: unsupported option '-mno-vsx' for target 'powerpc64le-linux-gnu' > > > clang-17: error: unsupported option '-mno-mma' for target 'powerpc64le-linux-gnu' > > > clang-17: error: unsupported option '-mno-spe' for target 'powerpc64le-linux-gnu' > > > > > > This has come up recently elsewhere in PowerPC, see > > > commit 2b694fc96fe3 ("powerpc/boot: Disable power10 features after > > > BOOTAFLAGS assignment"). While I think it is dubious that clang errors > > > on these flags for the assembler target, this is already fixed on the > > > Linux side by using KBUILD_AFLAGS for these make macros. > > > > > > I am preparing a series of d5c8d6e0fa61 and its dependencies for 6.1 but > > > I want to do sufficient build testing first, which is currently running > > > for me. Would you be able to point your matrix to [2] to make sure > > > everything works properly with both GCC and LLVM? It is a work in > > > progress as the second patch in the stack needs a proper commit message > > > but it is the diff I expect to ship so that it all that matters. > > > > We'll start building [2] with GCC and LLVM by using tuxplans and > > get back to you. > > LKFT has been configured to run GCC and LLVM in total 205 builds > and all the builds have passed on your tree / branch [2]. You can find > the list of builds including kselftest, perf, rcutorture, kunit, kmemleak > and many more combinations and architectures. > > I request you to review the list of builds results and test results on > projects page [3] [4]. I do not find any regressions compared with > mainline master as sanity testing. Thanks a lot for testing! > Do you think LKFT should build your tree / branch often ? > We are happy to test anytime. No, this is an exceptional circumstance, not the norm. If I need wider testing done in the future, I will keep you all in mind :) > Thanks Daniel and Anders for your work. > > build_names: that got tested and all have passed. > Great! I sent along the 6.1 backports now: https://lore.kernel.org/20230612-6-1-asssembler-target-llvm-17-v1-0-75605d553401@kernel.org/ Thanks again for testing and the report, cheers! Nathan