Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3377842pxb; Mon, 9 Nov 2020 09:34:16 -0800 (PST) X-Google-Smtp-Source: ABdhPJw0kPJZPdsFsWbII35yjCWxHcaR4IH1DW7Rdt3H/xoKgASPNClGrSp8+B4BVUDNIhBiBmoq X-Received: by 2002:a17:906:3102:: with SMTP id 2mr4550487ejx.135.1604943256237; Mon, 09 Nov 2020 09:34:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604943256; cv=none; d=google.com; s=arc-20160816; b=EpKtVah7OjezSx3JF5TGJAqczVSxttUbWFk/9QHmFNPCx5ZEOUGORmygkv+BGQLWwR Jue0/LXifQofVa5RPZ6lBxX38BN62ALBzFp6fNbnn2lUp5J/r3pXi/hSFul8d8eNzEfb e7GOB0VX+6acJbv+XhWhlhum8M18Nsfyx2DrT07/L/0ThCqtRESL5NBSscjuRFfT84kj NgLHf8SpVXRMwVwfWnPPuIQngJg1e83Nt37/jZvBYKcV2WeWKd9b/4ZBnBd2Ll7B4mCX xfIg8znHZp43P2Lu0qbQLCQmEErBHGjwlRqCwKD1BN/6U8jcHW26s4wbGDF4jxBx+wQh B0tQ== 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=L0Xr7Moisuue1jS0i4ttl/GDkMn+gVRs1VaBLYbqO+c=; b=WNxDM5lONHMoU567enqbgZCcsUFPMYWy6goRV4VLQftMHYrRo3MZazgaTE/0dUZDYs sY85QXNaOagEsvcox48rtmIyNaNF2MUKPG5QwaOwZJv9ghVwSID/5FvtrBLHs4lGH2nK Ynbl0LIoo074Gqg+6ZGCriwoQTar0xnYW7dKH80Izu/rlrleQ8hCYrSpgzfiYJI/jIYK UEhCEPLZLGgTSDaJiOcWAlowTJ507LXribFp2oOK5YzmQjKYG/QafeQnf4EwcNj8YOhh +VzhWyiRNn3OQCAe12QE5Q/+Hqqb4cxN2yR8JJrFEVPxivFiJ4hjIT6YSqVyDAIHiIH+ wP8Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DTLTdjPb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id h12si8866067ejx.35.2020.11.09.09.33.52; Mon, 09 Nov 2020 09:34:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=DTLTdjPb; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731756AbgKIRbz (ORCPT + 99 others); Mon, 9 Nov 2020 12:31:55 -0500 Received: from mail.kernel.org ([198.145.29.99]:38558 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729883AbgKIRbz (ORCPT ); Mon, 9 Nov 2020 12:31:55 -0500 Received: from quaco.ghostprotocols.net (unknown [179.97.37.151]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 931432083B; Mon, 9 Nov 2020 17:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1604943114; bh=yqWKTHMgPilYv7pnYv+9v9ISyjjUzNWt+Ip7DgXoBVo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=DTLTdjPbqlV77cxVqyH/vhsWVVUQJ9CrdEdDTc8oa6NEfG1n/i/Fk4f6QDj0Zqvx+ 1s5zBhO7OtKZLhzkTt4kXtGSDcwtiMtraGvihuVCtyfs+e0xrX8of4Udk2SG06SnRL KGBgO/k/eCijqN6jnTPJWWWjiJ3F0qIXb7P93hZ8= Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 8826D411D1; Mon, 9 Nov 2020 14:31:52 -0300 (-03) Date: Mon, 9 Nov 2020 14:31:52 -0300 From: Arnaldo Carvalho de Melo To: Jiri Olsa Cc: Ming Lei , Amy Parker , linux-kbuild@vger.kernel.org, Linux Kernel Mailing List , masahiroy@kernel.org, michal.lkml@markovi.net, Linus Torvalds , Jiri Olsa , Alexei Starovoitov Subject: Re: 5.10 tree fails to build Message-ID: <20201109173152.GB340169@kernel.org> References: <20201109103213.GA324561@krava> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201109103213.GA324561@krava> X-Url: http://acmel.wordpress.com Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Mon, Nov 09, 2020 at 11:32:13AM +0100, Jiri Olsa escreveu: > On Mon, Nov 09, 2020 at 05:57:37PM +0800, Ming Lei wrote: > > On Thu, Nov 5, 2020 at 12:58 PM Amy Parker wrote: > > > > > > On all attempts to build the 5.10 tree (from either release candidate, > > > Linus's tree, Greg's tree, etc), the build crashes on the BTFID vmlinux > > > stage. I've tested this on several different devices with completely > > > different hardware and kernel configs. The symbol for vfs_getattr > > > appears to be missing. Compiles for all of these work on any compile > > > on any 5.9 tree. I've tested all 4 5.9 dot-releases as well as the first > > > two and last two release candidates and Greg's staging tree. > > > The specific error is: > > > BTFIDS vmlinux > > > FAILED unresolved symbol vfs_getattr > > > make: *** [Makefile:1164: vmlinux] Error 255 > > > Any thoughts as to what's causing this? The main machine I'm > > > compiling with is running kernel 5.8.17 with dwarves 1.17. My > > > kernel config is attached as `kernel_config`. > > Turns out the issue is introduced in the following commit: > > commit 6e22ab9da79343532cd3cde39df25e5a5478c692 > > Author: Jiri Olsa > > Date: Tue Aug 25 21:21:20 2020 +0200 > > bpf: Add d_path helper > > The issue can be observed reliably when building kernel in Fedora 33 with > > F33's kernel config. > > GCC: gcc version 10.2.1 20200826 (Red Hat 10.2.1-3) (GCC) > hi, > it's gcc dwarf issue tracked in here: > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97060 > it's introduced by the gcc version 10.2.1 and we > were told it will take some time to fix > so we took steps to workaround that, the patchset > just got acked and it's on its way to get merged: > https://lore.kernel.org/bpf/20201106222512.52454-1-jolsa@kernel.org/ > it's change for both dwarves/pahole and kernel > the quick workaround is to disable CONFIG_DEBUG_INFO_BTF > option I've applied the series and I'm now testing it, will tag v1.19 then. - Arnaldo