Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp2695329rwd; Fri, 19 May 2023 09:00:41 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7/yNKK8Va9LQNopbiZaiEbnlu82yM6DJJnSOloxCYapMOmKl7qoTZCmacEuTM8ot0+BjNO X-Received: by 2002:a17:90a:6641:b0:24d:dcbb:6307 with SMTP id f1-20020a17090a664100b0024ddcbb6307mr3374406pjm.6.1684512041258; Fri, 19 May 2023 09:00:41 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684512041; cv=none; d=google.com; s=arc-20160816; b=r+o2YM4qWJHhEKry/1XZOAKyU7QfnPsX8DG1DoV/ZvWtKIJEY5qT2v7ikYPqcW3Md/ CC8ZTvJnWsFgxXAghvoCtGLwfHLyEw3yMXjQrZkvfxH5dqu4+h/wwmBPiHS7B3/EeypE pOAvqzvdI3X7V5bnSxNVe2A8F5YAEI4Oupr2hdIUPp9rNitn+tgfBbq+gYCSeGspRZXz tKvpJ6f+U9altMgRok7Zv5YujzTJlNxwqenBUmRSWMtaZKAgUd+n/sl6YB6NnxpgYJ4t ET81O3nP5W8V1w9myFkW3so21wEuHYpS35RpHuVnNxAY/BgXe9AzQoZRRaVlT/O71Fbb 4tQw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=ZlIVAJkfUZuaa/mIdEmkmyvFCFGMfQ33OBwJnbKZILY=; b=OjiOF5E9Yu/o4S+edikYwdKec0oYW97OvfCd5FsWI7FHOGtW85FzteDuej9DkTLxLS YdCRa8OdMr77vSllRbPUS3NvD6ussDBDn55x6AVcU+EhDa+OK6uC0G4jW4Lx/7BXFw+H MJh3pVhiVSzas2PWYhWkPLrUSF+uEwJ2tufaF8zAc2O1zDTMOubHOo4zJf76sG6EXFaP 2HUEZzLRK6clz6d9HNsaF/ep6g7YKz+keL5oe/w1oWRPHc1QBE2u6Pk6fiaDSTEfbxFV Xr4fcKut+W2SBTRcE/Vfz/oSLnLoviWzvxvquQGVFWyUe+6om3TO5vI6iP5R1Qe/wseF 0n3A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=lGGNkc8n; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w14-20020a63a74e000000b005346c49e06dsi3699617pgo.839.2023.05.19.09.00.25; Fri, 19 May 2023 09:00:41 -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=@google.com header.s=20221208 header.b=lGGNkc8n; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232328AbjESP55 (ORCPT + 99 others); Fri, 19 May 2023 11:57:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34964 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232225AbjESP5x (ORCPT ); Fri, 19 May 2023 11:57:53 -0400 Received: from mail-qv1-xf30.google.com (mail-qv1-xf30.google.com [IPv6:2607:f8b0:4864:20::f30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 76C2AE54 for ; Fri, 19 May 2023 08:57:36 -0700 (PDT) Received: by mail-qv1-xf30.google.com with SMTP id 6a1803df08f44-61b63897579so4919946d6.0 for ; Fri, 19 May 2023 08:57:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1684511855; x=1687103855; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=ZlIVAJkfUZuaa/mIdEmkmyvFCFGMfQ33OBwJnbKZILY=; b=lGGNkc8nfCv/+xd2tZWAVIdZN9LnuxzOUwfAxn6XE17QzOycTPTNHliz2ZFhtUh+YF JfMZXk0Yo/TMVeGFSlU3/F7eUMtnFJBCXPCt26x0DGb+Aw7txIF2aO5F9oHYF/FDUcxh GExjFkSKHEtoweTKlQE9o4+WW11YS3OY+aZ7a09D+dQPabHwOa1Epx/EnbWh1XUYda7+ wI2uhfXAkB4w3HxyEfqCNZpJflCbxhnWPV8BVHOI9XqeBIuKc62zGR/nGqmcLpxtjnMu G1upkcZHOuuu1ofZSEnNwVWpvUkbkyTS+oBc8BsvaswqSUBCY2+6kDIgIaX8H9VOpJ92 viYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684511855; x=1687103855; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZlIVAJkfUZuaa/mIdEmkmyvFCFGMfQ33OBwJnbKZILY=; b=OAfo6A6kIxklZrVtWeDaqPt8KMk9LOLGj5O/aYrYD+OCvyA3VqJJYZp+pzFE76Kvol kd+9mpj6pnHg/S85BV11Wpgmjx7S7fqjqhH4DQyraGzsrGk/225bOC2voEUIcVbt6wMG v6xU/zIeX/SzVa5/H/2/b3tcAPPYrTPvWQYqCILdiUKcJQ6i2QyDMGfTiDnAcZqLwez6 S0y91nAz2vy3nnXtNqdgG/VAa/VVqoswLv4tTTn+NYnkko06dvMHV+dK+/NxJoZ96cyf 1KWUsYnhKik+i0CUAX/ztptPv0yFTvF4cnL5fAYOLBpXG8V5VinHaQjj+yVOaeuJzssG G7Og== X-Gm-Message-State: AC+VfDxpvIePdsv5UB4L5kg+9D7uoxZRJ7nRla0eyuYworYIvVaN6iH+ 3u7AsjjX7F76VwsKY+ECkkbdQbqi0qx80O1nzfyfQ+zftAReXvWl+2i+pQ== X-Received: by 2002:a05:6214:401d:b0:616:859a:471a with SMTP id kd29-20020a056214401d00b00616859a471amr5347827qvb.17.1684511855305; Fri, 19 May 2023 08:57:35 -0700 (PDT) MIME-Version: 1.0 References: <20220919170828.3718437-1-ndesaulniers@google.com> <597ef55f-e7c1-ab60-b4aa-0071ff4b5e0e@collabora.com> <89961dfc-d40f-78e4-5d34-b86b7d152182@collabora.com> <17c91d37-7d9c-0df4-2438-2b30ca0b5777@collabora.com> <878rdlk9bi.fsf@rcn-XPS-13-9305.i-did-not-set--mail-host-address--so-tickle-me> <875y8ok9b5.fsf@rcn-XPS-13-9305.i-did-not-set--mail-host-address--so-tickle-me> In-Reply-To: <875y8ok9b5.fsf@rcn-XPS-13-9305.i-did-not-set--mail-host-address--so-tickle-me> From: Nick Desaulniers Date: Fri, 19 May 2023 08:57:24 -0700 Message-ID: Subject: Re: [PATCH v4] Makefile.compiler: replace cc-ifversion with compiler-specific macros To: =?UTF-8?Q?Ricardo_Ca=C3=B1uelo?= Cc: Shreeya Patel , Michal Marek , Masahiro Yamada , Linux Kernel Mailing List , clang-built-linux , Bill Wendling , Nathan Chancellor , regressions@lists.linux.dev, "gustavo.padovan@collabora.com" , Guillaume Charles Tucker , denys.f@collabora.com, kernelci@lists.linux.dev, Greg KH Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED,USER_IN_DEF_DKIM_WL, USER_IN_DEF_SPF_WL 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 Fri, May 19, 2023 at 1:35=E2=80=AFAM Ricardo Ca=C3=B1uelo wrote: > > On jue, may 18 2023 at 14:12:30, Nick Desaulniers wrote: > > That's a higher risk change (and has my name on the tested-by tag, yike= s). > > > > So is that the culprit of the boot failure you're observing? > > Right now it is. > > Here's a test run using that commit > (5750121ae7382ebac8d47ce6d68012d6cd1d7926): > https://lava.collabora.dev/scheduler/job/10373216 > > Here's one with the commit right after that one > (26ef40de5cbb24728a34a319e8d42cdec99f186c): > https://lava.collabora.dev/scheduler/job/10371513 > > Then one with 26ef40de5cbb24728a34a319e8d42cdec99f186c with a revert > commit for 5750121ae7382ebac8d47ce6d68012d6cd1d7926 on top: > https://lava.collabora.dev/scheduler/job/10371882 > > But I'm not confident enough to jump ahead and call this a kernel > regression, specially after the bisector confidently said that about > your commit and then it turned out none of us could reproduce it. It could be; if the link order was changed, it's possible that this target may be hitting something along the lines of: https://isocpp.org/wiki/faq/ctors#static-init-order i.e. the "static initialization order fiasco" I'm struggling to think of how this appears in C codebases, but I swear years ago I had a discussion with GKH (maybe?) about this. I think I was playing with converting Kbuild to use Ninja rather than Make; the resulting kernel image wouldn't boot because I had modified the order the object files were linked in. If you were to randomly shuffle the object files in the kernel, I recall some hazard that may prevent boot. > > There have been some cases where a commit made a test fail (kernel > failing to load, for instance) and the real problem was that the kernel > got bigger than the target was capable of handling. So not a problem > with the commit at all, it was just that the memory mappings needed to > be redefined for that target. What I'm saying is that sometimes a > regression report is really uncovering a problem in the test setup > rather than introducing a bug. Maybe this is one of those cases. > > Cheers, > Ricardo --=20 Thanks, ~Nick Desaulniers