Received: by 2002:a05:6a10:af89:0:0:0:0 with SMTP id iu9csp1189893pxb; Fri, 21 Jan 2022 11:52:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJxKEvJAXK9EEWNZU7fuOgFnY1m3Jw219POotqoh/7cjS6vbbeHRbIKxgCXaRcvS7A++biwu X-Received: by 2002:a17:902:7c05:b0:149:a3b4:934c with SMTP id x5-20020a1709027c0500b00149a3b4934cmr5448877pll.42.1642794720153; Fri, 21 Jan 2022 11:52:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1642794720; cv=none; d=google.com; s=arc-20160816; b=bs8Dc8D0/y/ATuiPlTwyiSysxZdrchvA4U9R+5E8/XiBkdVCnze8AXjIJ3z71GyEXl U7kDxmjlMFyxEtdos9GThQ4M8aiv58gIS6asUjgehZFYsz2LtDfe+d/RqnJVo2j0XFph zcmFg0LXano+9W8qPRqwgFRiCeqCZwoiT0AXu5nAs865Fn+navXtv5Fn+xim+28Y+wC4 DlrAs6TpSaJcNKehK4qMYnEgm8wQM8fG4BjWYb2j69I8gFBXgU1gAD5VjBACvLTWGa63 jt9Z0iFgPKEm/s3ia8uZANcnRWYXSs+UX6/3ZeqWhIocGSO5+YWuiso4FuUiGWY6aKap SGAg== 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=v+iHHvLUDMZgd+1HatbMK7HIrN5RHH5OnH3MOXIw4cw=; b=So0drPuzN/MI8ePwC/XIAt2CwM2TR+QX4rwabY10d7eYJ8igt2AeXUHrjTGE4pJhQy zV/84NXzUiBDwNoAIwMK6cclsNHeIv0DQ07+LhrrI7vEDFec3eiTeDVB/we283/apw9k T0HYHnxWmMkhVUcxRh5g3k4/z6Y9oV6dKt/O4Q6bof11EZ1QKd+1gX6/89w/rgsxumoc 3t/cQ4W9rYcZKHGpdHLJhKO0MKv9y32Q9qWyXFIR8SmyxTP4tSU9ms6V108gdSeFzw1r MywbXMGBr0jsVHAkM0dnFV9XKqRNFy4x1s7+dtYv8sgErewCoiZPyxJwbaKBUagfeBk7 zxfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XxrXFUYw; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u186si4160814pgd.690.2022.01.21.11.51.48; Fri, 21 Jan 2022 11:52:00 -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=@linaro.org header.s=google header.b=XxrXFUYw; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1356328AbiASROQ (ORCPT + 99 others); Wed, 19 Jan 2022 12:14:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54950 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1345023AbiASROO (ORCPT ); Wed, 19 Jan 2022 12:14:14 -0500 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67B54C06161C for ; Wed, 19 Jan 2022 09:14:14 -0800 (PST) Received: by mail-ed1-x52b.google.com with SMTP id c24so13247297edy.4 for ; Wed, 19 Jan 2022 09:14:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=v+iHHvLUDMZgd+1HatbMK7HIrN5RHH5OnH3MOXIw4cw=; b=XxrXFUYwqHk69eId58EKHAV/+1ItyJO3kgrO1jYYM4t+DVUhWuei9GjTK4dVkMwNTs /FW47fBcgABpWRiXFmEN7wX0esz6MCztSvTbNaTHgMvPo74X/9pGc4+zdAoHuZPW0aYJ xRssSL6vr2GmpCMTkP6UIyfYpkixJwcGnsNG8s8xkxsYt5rExBPgsZ24XFThhRK3FiCg HnJlkaV4KTP9Ri5o4lO/2o14fqLQI26XrBCtuZgbrD5PT4wKvdckRtHNQyfODHYiv17z NDrjixqKRqSW5WXH4Nxhg+jlhoWjgVMbyATUfdKF0QN3JnoTaWdKvl2oT2/JE2E4uuYX PLyw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=v+iHHvLUDMZgd+1HatbMK7HIrN5RHH5OnH3MOXIw4cw=; b=nZfQYAL8GC/Z7IFSSQWxCcavPUlrGlfF30JXZdKDkgiXJ37HqgN7+ZdM2QYyukY/rb z1QiLq8gapc9IsaO8uMfjDo6tsnBMOTjw58TzLbgVJkBD75XPt57LJyVB7ZKGVKCmDW2 z2nPA4QUb2iiDw5NYJ+f9HFNHFEIAPCC96N3ZejrfQQXOTOprWQePWU2UVcWXjnRQt6Z IfOWsivNyNIqS5Vu6cESuQUkUZJDGLg6aGqNP8jEnzF6pSG2m755Sn+8shnSegk765Ok w3L+zJgGII4ckmnrwnI79YesJPtIsdRLJqb3c8tkc4Jo+e+MV0yxpczKOjoaCW70PYA5 GxAg== X-Gm-Message-State: AOAM531Lq5qxnoJSLkP+R40bPwBpl58ABDTi5hQwHfWTIXNTcNzA102a X4+JdNg/E8KRkCdyATlgIAquvDXVYPovPhhkmbe5lA== X-Received: by 2002:a17:907:2d26:: with SMTP id gs38mr1736560ejc.693.1642612452855; Wed, 19 Jan 2022 09:14:12 -0800 (PST) MIME-Version: 1.0 References: <20220118160452.384322748@linuxfoundation.org> In-Reply-To: From: Anders Roxell Date: Wed, 19 Jan 2022 18:14:01 +0100 Message-ID: Subject: Re: [PATCH 5.16 00/28] 5.16.2-rc1 review To: Linus Torvalds Cc: Naresh Kamboju , Greg Kroah-Hartman , Christian Brauner , NeilBrown , Linux Kernel Mailing List , Andrew Morton , Guenter Roeck , Shuah Khan , patches@kernelci.org, lkft-triage@lists.linaro.org, Pavel Machek , Jon Hunter , Florian Fainelli , stable , Al Viro , Arnd Bergmann Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 19 Jan 2022 at 09:00, Linus Torvalds wrote: > > On Wed, Jan 19, 2022 at 9:30 AM Naresh Kamboju > wrote: > > > > Inconsistent kallsyms data > > This tends to be a "odd build environment" problem, and very very > random. Triggered by very particular compiler versions and just some > odd code modement details. > > I'd suggest doing a completely clean build and disabling ccache, and > seeing if that makes it go away. Clean build without ccache didn't help. It seams that it fails randomly based on the size of the rodata section. This could probably happen with another toolchain too, trying enough configurations. Diff of tmp_vmlinux.kallsyms2.symbols and tmp_vmlinux.kallsyms3.symbols [1] show why it fails to converge, while said that the __stop_notes address is on the page boundary, so __end_rodata has the same value as __stop_notes. All 3 tmp_vmlinux.kallsyms(1|2|3).symbols files can be found [2]. Inserting padding before __end_rodata [3], or blacklisting __stop_notes [4] in kallsyms.c works around the problem, but neither of those seems like a good fix. The linker version I'm using are 'GNU ld (GNU Binutils for Debian) 2.35.2'. Cheers, Anders [1] http://ix.io/3ML7 [2] https://people.linaro.org/~anders.roxell/kallsyms/ [3] http://ix.io/3MN2 [4] http://ix.io/3MN4