Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3449140pxb; Mon, 4 Apr 2022 17:19:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwD306OaDUIx1v/IAHODMoS40qAL6iYGlUr2J9J92J81gszww/lp+OQL8QFViuGJByLNPFq X-Received: by 2002:a17:90b:38cf:b0:1c9:c3e3:817 with SMTP id nn15-20020a17090b38cf00b001c9c3e30817mr914250pjb.73.1649117975279; Mon, 04 Apr 2022 17:19:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649117975; cv=none; d=google.com; s=arc-20160816; b=GJDeyI05KTgVJGzh/gqW0yP6NFyq57nmX/TrvULBrGe2PrKvn++u17bkXMce8byXoN 1CDdp5dk9ZlE3lGyjCwiKd+YpRj7Z0DR0oFczyhK792fsUF4Ne4pMJyUYH8OAILTC5XV 1OJOqRsjbJVWJLOWEWkaY1NY7WeJQ+1LgfxIig/FQiFZ1y2iGlwScOvBEWL0q4gYOoGh Hl+lI0Dk3EzYskVkWQhuJIk2WxYrXBF0AxBeo1aAitQbVhjQZouV1/x+YWoJ/BsPbQST ZIXiitJssiLyJH5ffoyu7nX/UcV9Xm/ccQ2HZpht58N3lUqVkZRcBdKJ0OCWGFif8rS2 ++Xw== 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-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=22uT8uEfUtgZDInMGwxHENTWfhZV/nApjpzwH87oK8c=; b=dr74U0IohSBw75JPMFbyuchvlip4A4SYigpWJhR6BhkYG6GgbcqQynKkZka+QNaVVS t1fozu6JykTE1hbmGwdicPZiw+sYdOhWvz9pb594zbLVpIKHVQlqLXhUYoJeHLpRimrC S/crTat99ZQlx4S5m5i/kLYniQGLrnQ7JG4EjfAellJmvtdmeMJWVo35vjLA65dDCt8Q Xb+tZ4twlW3kwT7RbTjrQLjwjZgpqoKPGvEuv4nRRTehvie9gZxpHWJGlbnisuYa8oA8 LmeWtwfzV6Wikt1A2DcndxwDGHrsgaC/HBJhqBqbuT2AZnEc8hv1YeQ+dN9K+6oVuBla 4VRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fk4AO+Sm; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id ls15-20020a17090b350f00b001c6fd746c71si511841pjb.119.2022.04.04.17.19.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 17:19:35 -0700 (PDT) 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=@kernel.org header.s=k20201202 header.b=fk4AO+Sm; 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=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 4FB6E70CC6; Mon, 4 Apr 2022 16:46:02 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1383314AbiDDVdT (ORCPT + 99 others); Mon, 4 Apr 2022 17:33:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1379310AbiDDQ7T (ORCPT ); Mon, 4 Apr 2022 12:59:19 -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 EBD8A3B3EC; Mon, 4 Apr 2022 09:57:22 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8988160C95; Mon, 4 Apr 2022 16:57:22 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 235B7C2BBE4; Mon, 4 Apr 2022 16:57:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1649091441; bh=3DwgQQibm4QtCGLBPHzzEvuy5aoVnSuQo3AjjdM3vbs=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fk4AO+Sm8xS1TVN83Ht+dupzgBCUyMwmk3BdxRedx7gSUjUC8tNpe6fkePJnDCgvn 6z1ffAw+tRmbJc42ieFu4+y8g6Py2fjyb6A9BWRheaeI2tn5z4tAHTbLbEp2080+S9 CxB1WsVq5EIoeUe1he75gyGAxOSSKUfgy6CHbfw+TkSwcXK04OcBTqJ0zH0UGN8jud gmLhXFq4Iv4cp4M9T+2ayVMUt/M0PSzt/xTjSrezEkmuwfcU4AMwGoj8W8UL1mjetC QdQOK6sowskP4tRwiSnLlB0DFDguDCHON0Eg949oEq3JMuR6oVLAgcBK5/sITPY06j QtceSyWGBreOw== Date: Mon, 4 Apr 2022 09:57:19 -0700 From: Nathan Chancellor To: Naresh Kamboju Cc: Linux-Next Mailing List , open list , linux-riscv , lkft-triage@lists.linaro.org, regressions@lists.linux.dev, Stephen Rothwell , Guo Ren , Guo Ren , Palmer Dabbelt , Heiko Stuebner , Arnd Bergmann , Paul Walmsley , Albert Ou Subject: Re: [next] riscv: Linux next-20220404 riscv defconfig builds failed. Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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, Apr 04, 2022 at 03:28:41PM +0530, Naresh Kamboju wrote: > Linux next-20220404 riscv defconfig builds failed. > > Regressions found on riscv: > - riscv-riscv-clang-14-defconfig > - riscv-riscv-gcc-10-defconfig > - riscv-riscv-clang-13-defconfig > - riscv-riscv-clang-12-defconfig > - riscv-riscv-clang-11-defconfig > - riscv-riscv-gcc-11-defconfig > - riscv-riscv-gcc-8-defconfig > - riscv-riscv-gcc-9-defconfig > - riscv-riscv-clang-nightly-defconfig > > > arch/riscv/kernel/compat_signal.c:7:10: fatal error: > linux/tracehook.h: No such file or directory > 7 | #include > | ^~~~~~~~~~~~~~~~~~~ > compilation terminated. > make[3]: *** [scripts/Makefile.build:289: > arch/riscv/kernel/compat_signal.o] Error 1 For what it's worth, I also see: $ make -skj"$(nproc)" ARCH=riscv CROSS_COMPILE=riscv64-linux-gnu- defconfig all arch/riscv/kernel/compat_vdso/compat_vdso.lds.S:3:10: fatal error: ../vdso/vdso.lds.S: No such file or directory 3 | #include <../vdso/vdso.lds.S> | ^~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [scripts/Makefile.build:462: arch/riscv/kernel/compat_vdso/compat_vdso.lds] Error 1 arch/riscv/kernel/compat_vdso/rt_sigreturn.S:3:10: fatal error: ../vdso/rt_sigreturn.S: No such file or directory 3 | #include <../vdso/rt_sigreturn.S> | ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. arch/riscv/kernel/compat_vdso/note.S:3:10: fatal error: ../vdso/note.S: No such file or directory 3 | #include <../vdso/note.S> | ^~~~~~~~~~~~~~~~ compilation terminated. arch/riscv/kernel/compat_vdso/getcpu.S:3:10: fatal error: ../vdso/getcpu.S: No such file or directory 3 | #include <../vdso/getcpu.S> | ^~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [arch/riscv/kernel/compat_vdso/Makefile:43: arch/riscv/kernel/compat_vdso/rt_sigreturn.o] Error 1 make[2]: *** [arch/riscv/kernel/compat_vdso/Makefile:43: arch/riscv/kernel/compat_vdso/note.o] Error 1 make[2]: *** [arch/riscv/kernel/compat_vdso/Makefile:43: arch/riscv/kernel/compat_vdso/getcpu.o] Error 1 arch/riscv/kernel/compat_vdso/flush_icache.S:3:10: fatal error: ../vdso/flush_icache.S: No such file or directory 3 | #include <../vdso/flush_icache.S> | ^~~~~~~~~~~~~~~~~~~~~~~~ compilation terminated. make[2]: *** [arch/riscv/kernel/compat_vdso/Makefile:43: arch/riscv/kernel/compat_vdso/flush_icache.o] Error 1 I am guessing this code was never tested with $(srctree) == $(objtree). Cheers, Nathan