Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp3084854pxb; Mon, 9 Nov 2020 02:00:52 -0800 (PST) X-Google-Smtp-Source: ABdhPJxbF6vAFkrE5Eqaf6lZArYMb0G/F1wTGjuVaU+tVAMu5P6RFM0yBtZVoxRITxrY32Zfwk0j X-Received: by 2002:a17:906:7016:: with SMTP id n22mr14950850ejj.402.1604916051861; Mon, 09 Nov 2020 02:00:51 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604916051; cv=none; d=google.com; s=arc-20160816; b=048RuY8J5zeY6OlOGXHq9HgjPELKU8uC6+8nd4+sIDnyPBC/WwQ/vyndKWVLyBpVHf DPfgzCLLRo2PUK9nxNbCb5XXJnnwKPwGyB8BI3Vqz2Ryd/BZ6ph6h3Y8OK+M8RiUPKwM /BAe/p0adpncCqejSCf8J5XUcZWMoFIfHaWwZ3tgwwihHeWC0cyfbORdLiW6Foo2IJG7 GkrEf07FwwoPtE5Ai/yezZ5h+I5afKC+p8yojYHp/0omTaK0htSVGwb8RgShsp7WASD8 Iys9h99kCdnX618tcg8CJuNEdPjCupPAc4E53/vNBWjDOWRjm5fXTKBonupFwp18F0kI kjJA== 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=FipAhcEY6Ir/0bMu7F1ZE9qAOr9+LhLFjxwV6mVrxCk=; b=C6j5zh+O+eHhEMia0zf8mCF/OHkr6jTgTUkcLk2NOYHA3ThkIbDO6+2vYVoRYo8/bF 02JburYBpiw/7GmTCq5LvZZwvIXvsT9H6CdsZ/RcYj4gtf8Ux7f8Er2hngFVVL9xMURP S44Q2lCw7yyf09kVs0TGRvHGie3Ktt51D0ZhjmaCtNe4yXMnwxajTcWxIYCHI5ZLxKOa 1azn9qZJBy2FhN0X2VfKnXU2wrqGYpHqgQsTknTVmlbHHNBPj1cOWM+e9FxXeDZQHuTf 7JGPOucSsPLNsN8ZJtzXC/f9f1gfDp+3TAniy2pn82pggt56Vb+9+Nu89MUvBg4FHTiU nr9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fK9GTjNh; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id j24si5696128ejt.651.2020.11.09.02.00.28; Mon, 09 Nov 2020 02:00:51 -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=@gmail.com header.s=20161025 header.b=fK9GTjNh; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729213AbgKIJ5t (ORCPT + 99 others); Mon, 9 Nov 2020 04:57:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727183AbgKIJ5t (ORCPT ); Mon, 9 Nov 2020 04:57:49 -0500 Received: from mail-yb1-xb41.google.com (mail-yb1-xb41.google.com [IPv6:2607:f8b0:4864:20::b41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DA183C0613CF; Mon, 9 Nov 2020 01:57:48 -0800 (PST) Received: by mail-yb1-xb41.google.com with SMTP id f140so7650396ybg.3; Mon, 09 Nov 2020 01:57:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=FipAhcEY6Ir/0bMu7F1ZE9qAOr9+LhLFjxwV6mVrxCk=; b=fK9GTjNhMAVfjNLy0bIL8Y4doTMgIrhTKz8xDEwUg9Ij9Ku9v8hF/NtKLW7wWWd1ux TbXB7jhg7ZWNnKmmaDfSHwnhjKKEWj1Tkz/21fsZ2w2VANI1/kiDKuTjpuMi1FSgLJr7 ugM0bRnrQ2K8/Ky8IrlC8pwXRRpqiLhe2lFomaJ20FTBwdF2dH1W6CLb0Ewx3TfWAOYX c+h3pwxF64BK9jFkweeXTFMD6MJrg3VWfbUs67TZersIFPlBj9VUfXX+T73C4XkOPtbh p+MqO1czGHEASoGwmBFlPuDrXzcHKX4sKgjWkmDdemwGiqsB8r9dbZhRyO2X8LyOOdk/ NIWA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=FipAhcEY6Ir/0bMu7F1ZE9qAOr9+LhLFjxwV6mVrxCk=; b=sEZfnuCVIm4caO135v7TriVUkzNf/CRlsSmpGIfZqDUnc4ZvoTzQC1OFHs4r+8UCqB 4XJauPRjqc2cjPFfylHUpfuWDMwKYrrg3KNFZOSrxOaWkgByDGXZS+FU2wHVeMzkZcxx s+J6pIR/BfO0rNRoy/tMWfX9YeSv69sRaN17No/03GJ+UvOUpfkgwr8JjAu/KA6DRvTC JBdTfaEgdsnmeFR+A7sm6ENJct6QESjYPMteqBcBH76Qm+Bd5cGdExzaG4z2nhDHEGHA 6PGj3oQS1hWDuVo8HoiF1i8J9aBqvEHtynKjbfjGl1XxxKKKeRYqDlLwrZpc5N9KuX+E mpeQ== X-Gm-Message-State: AOAM532dC0w+ZAr62F8Iqx6/AKAIHiXYKudnbhWG9V7F3LejotGWbDBN 0e4aloc+tMypC6QOqEFBL2YQLyexxQFMywZ4vJQ= X-Received: by 2002:a25:d981:: with SMTP id q123mr10209426ybg.50.1604915868158; Mon, 09 Nov 2020 01:57:48 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Ming Lei Date: Mon, 9 Nov 2020 17:57:37 +0800 Message-ID: Subject: Re: 5.10 tree fails to build To: Amy Parker Cc: linux-kbuild@vger.kernel.org, Linux Kernel Mailing List , masahiroy@kernel.org, michal.lkml@markovi.net, Linus Torvalds , Jiri Olsa , Alexei Starovoitov Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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) -- Ming Lei