Received: by 2002:a05:6358:1087:b0:cb:c9d3:cd90 with SMTP id j7csp1635255rwi; Mon, 10 Oct 2022 20:30:37 -0700 (PDT) X-Google-Smtp-Source: AMsMyM73i3IRK+FxQaj41G5uhR0G0dS5HURGS8ogBOI21N0u0boO4IB7NdiQJKmMlaxeJBD4bR4o X-Received: by 2002:a17:90a:d588:b0:202:aa2d:1022 with SMTP id v8-20020a17090ad58800b00202aa2d1022mr35255735pju.31.1665459026706; Mon, 10 Oct 2022 20:30:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1665459026; cv=none; d=google.com; s=arc-20160816; b=H3tlnW3SwHv2AI5jmVT+fimlUpmvE3TlfxszsYMbUvSe37PAiO0wJpwRpKh0jGkf7g 8F/jVqzazYX+tVOoVS45B7Sejo24LYR2iKmUCgFhf4oKJrhtTx8aseJTW0llPok9OCg6 yeMl8c+f1txk3ExQDlw8N/aJ64LL9hD/vyoad0UQNrd0s/+poOfYm2FSvBEFyP11oUWB 335WuGiG+VdCa59o0aItGkMb1hQ+BRWsuVoz7O97RCE5U2mvywnTsSQYf9zS3sTccnRS jI7uu+3GgDSPVkU375g9jK8HVGQCVoz5OonX7FbPqx1ta2FEZBOQQqvtFODjVOHm9Mr3 wyqQ== 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=kY5oLkJ4ZPa7XZpErdlOsu7cEpDfEw/SrJS5hfmNKEw=; b=YP7dXb9K58NdyfLN/dZmBQlyPAF4a24nUDTQ5yoSxjQ9hkqvTA0pJcwdOC+e8X5PEZ NMlyqtAr5JDzeyuFZxKH1F1dzrzPmNzgdut1MxgDjykxeZuGGj8aoJsLNmtyh3k8S3nR bvC5D8rasia0kP0TZub0g+Y/gty3F+xUfuU3rMsiTOQXVmYHM5MEKgCQrvomEJVMO7Qn 90oetCLYROg7Zsq1JMzE0cADRQSZUgIr9EJWhQcCNdjDMKYtVWOrReFkd+atUHYfD7B4 Ag60+4Gbhzwh8N/DBnBRmVvxhFZr+NFPSLbCHpFzAonHprm3Bg2SBfH/fbclBZmMKY8Q mXXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@zx2c4.com header.s=20210105 header.b=m67n+QKh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l5-20020a17090ab70500b001fd7ced8960si18328027pjr.92.2022.10.10.20.30.14; Mon, 10 Oct 2022 20:30:26 -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=@zx2c4.com header.s=20210105 header.b=m67n+QKh; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=zx2c4.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229542AbiJKC5g (ORCPT + 99 others); Mon, 10 Oct 2022 22:57:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56032 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229844AbiJKC5d (ORCPT ); Mon, 10 Oct 2022 22:57:33 -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 2481386816 for ; Mon, 10 Oct 2022 19:57:11 -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 A7D946108E for ; Tue, 11 Oct 2022 02:57:10 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3DF99C433C1; Tue, 11 Oct 2022 02:57:07 +0000 (UTC) Authentication-Results: smtp.kernel.org; dkim=pass (1024-bit key) header.d=zx2c4.com header.i=@zx2c4.com header.b="m67n+QKh" DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zx2c4.com; s=20210105; t=1665457025; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=kY5oLkJ4ZPa7XZpErdlOsu7cEpDfEw/SrJS5hfmNKEw=; b=m67n+QKhwCc6+2EbfUYhK/XZ+6J5ACeZpyA5vkEayQCiCcEdL3Nd6tbDT7Ye+QNlGyhSAF cB1EROex8SjsDaobccar5/2iE0FbJlLhgPC6R5jEhbGFqXt/hyPajY8q5ap9LKpC9fNaFs 7HNk+j4bN/9Pkq1SpXmSBg3xQVTcjmc= Received: by mail.zx2c4.com (ZX2C4 Mail Server) with ESMTPSA id a03db7de (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 11 Oct 2022 02:57:05 +0000 (UTC) Date: Mon, 10 Oct 2022 20:57:00 -0600 From: "Jason A. Donenfeld" To: Michael Ellerman Cc: Andrew Donnellan , rmclure@linux.ibm.com, Linus Torvalds , aneesh.kumar@linux.ibm.com, atrajeev@linux.vnet.ibm.com, christophe.leroy@csgroup.eu, cuigaosheng1@huawei.com, david@redhat.com, farosas@linux.ibm.com, geoff@infradead.org, gustavoars@kernel.org, haren@linux.ibm.com, hbathini@linux.ibm.com, joel@jms.id.au, lihuafei1@huawei.com, linux-kernel@vger.kernel.org, linux@roeck-us.net, linuxppc-dev@lists.ozlabs.org, lukas.bulwahn@gmail.com, mikey@neuling.org, nathan@kernel.org, nathanl@linux.ibm.com, nicholas@linux.ibm.com, npiggin@gmail.com, pali@kernel.org, paul@paul-moore.com, ruscur@russell.cc, windhl@126.com, wsa+renesas@sang-engineering.com, ye.xingchen@zte.com.cn, yuanjilin@cdjrlc.com, zhengyongjun3@huawei.com Subject: Re: [GIT PULL] Please pull powerpc/linux.git powerpc-6.1-1 tag Message-ID: References: <87edvhntv0.fsf@mpe.ellerman.id.au> <877d17nngr.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <877d17nngr.fsf@mpe.ellerman.id.au> X-Spam-Status: No, score=-6.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_HI,SPF_HELO_NONE,SPF_PASS 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 Tue, Oct 11, 2022 at 12:44:20PM +1100, Michael Ellerman wrote: > "Jason A. Donenfeld" writes: > > Hi Andrew, > > > > On Tue, Oct 11, 2022 at 11:00:15AM +1100, Andrew Donnellan wrote: > >> Thanks for bisecting, this is interesting! Could you provide your > >> .config and the environment you're running in? Your reproducer doesn't > >> seem to trigger it on my baremetal POWER8 pseries_le_defconfig. > > > > Sure. > > > > .config: https://xn--4db.cc/NemFt2Vs (change CONFIG_INITRAMFS_SOURCE) > > Toolchain: https://download.wireguard.com/qemu-test/toolchains/20211123/powerpc-linux-musl-cross.tgz > > > > You can also just run: > > > > ARCH=powerpc make -C tools/testing/selftests/wireguard/qemu -j$(nproc) > > > > And that'll assemble the whole thing. > > I tried that :) > > What host OS are you running that on? > > I get: > > mkdir -p /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc > powerpc-linux-musl-gcc -o /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc/init -O3 -pipe -std=gnu11 init.c > /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc/powerpc-linux-musl-cross/bin/../lib/gcc/powerpc-linux-musl/11.2.1/../../../../powerpc-linux-musl/bin/ld: cannot find Scrt1.o: No such file or directory > /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc/powerpc-linux-musl-cross/bin/../lib/gcc/powerpc-linux-musl/11.2.1/../../../../powerpc-linux-musl/bin/ld: cannot find crti.o: No such file or directory > /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc/powerpc-linux-musl-cross/bin/../lib/gcc/powerpc-linux-musl/11.2.1/../../../../powerpc-linux-musl/bin/ld: cannot find crtbeginS.o: No such file or directory > /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc/powerpc-linux-musl-cross/bin/../lib/gcc/powerpc-linux-musl/11.2.1/../../../../powerpc-linux-musl/bin/ld: cannot find -lgcc > /scratch/michael/linus/tools/testing/selftests/wireguard/qemu/build/powerpc/powerpc-linux-musl-cross/bin/../lib/gcc/powerpc-linux-musl/11.2.1/../../../../powerpc-linux-musl/bin/ld: cannot find -lgcc > collect2: error: ld returned 1 exit status Here's what happened: - You started the thing and the kernel compile complained about an unclean tree. - You ran mrproper. - You tried to run the thing again. amirite? If so, what happened is that mrproper deleted the .o files from the toolchain. Solution: ARCH=powerpc make -C tools/testing/selftests/wireguard/qemu -j$(nproc) clean ARCH=powerpc make -C tools/testing/selftests/wireguard/qemu -j$(nproc) Let me know how that goes. Jason