Received: by 2002:a05:6358:a55:b0:ec:fcf4:3ecf with SMTP id 21csp2437488rwb; Fri, 20 Jan 2023 03:02:30 -0800 (PST) X-Google-Smtp-Source: AMrXdXv2p0yOc5H8LOFmdDSrlcgbYEB2P6HyvHLOMqGwj7tHSq0vXgklyiwMDQj2jKMX1Gk2I9Tn X-Received: by 2002:a17:906:16c6:b0:877:6141:9b16 with SMTP id t6-20020a17090616c600b0087761419b16mr8626317ejd.54.1674212550297; Fri, 20 Jan 2023 03:02:30 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674212550; cv=none; d=google.com; s=arc-20160816; b=oBNA7wYEL5ToUfQQUMVEMy+lv51Nc5bCUgtBPLqf5rmcFqs7kZnES1jKnI+Deqvbtu v0D+wlaJTU+9QsK4tdfghZgWDV+jWimJKD/4O4FUanpyFHw3Ajl5DbY8HutyrojPMKXw +o2jkFtAOieFsxrugeDr77wqYxFjUSWWE7GMgdYR940KhXspEy8nzGQTrbA/kwVa2psm PM5qby7miGrAw9r2QDPI5WF1ObHTBCiT+FJdRD2GCy93N2pI9Y0or1YRxpJeopsKmPdV KRHCgh9sg1BKp2Dw8sn7me1um6xFgk7sslFDUHUA+Q73P2y0i+tKt6sm0KfnfBMM2naa LnGg== 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=4DtS/Vci9O3nMdUND19zt5XQUjQ2HNLRRxBz1fGz9/o=; b=k2AwBV9nUX3FlkTfaJBKtcoHsCl/3xIjm5F8zb+adELpAiLFr8eUl8CsVNll5FreNh 58q/Nnq8RJnhtNVZ8vdVV/daG2WK1vx3FRnksoRfxIPfqNXTBzmUphg8XPV8nRP35vbf qxFJtOxsGVBhG+xjJ/b6VGsOZg20GVlF6bcxl+G3x1Ui7uwG5kG9+OP9BW7rkPOACKaK c7xJR53L5zP4ZgZyBJWDT/bzm8kRg61SrD88HDaBGw7iWJyd8rOdeG3UvfxOQV3jsdIY ATWDEnmRV6xoioIsadbKJ62mgiVdjZ7S8/8Khzbz2zwQHUN57L1jN338ZBQXMq98Z/1u 4/rw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=nKdaBIbE; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hq33-20020a1709073f2100b008779e4f2561si2012677ejc.648.2023.01.20.03.02.18; Fri, 20 Jan 2023 03:02:30 -0800 (PST) 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=@infradead.org header.s=desiato.20200630 header.b=nKdaBIbE; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229645AbjATK1h (ORCPT + 48 others); Fri, 20 Jan 2023 05:27:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39250 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229530AbjATK1g (ORCPT ); Fri, 20 Jan 2023 05:27:36 -0500 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA639AA5C3 for ; Fri, 20 Jan 2023 02:27:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=4DtS/Vci9O3nMdUND19zt5XQUjQ2HNLRRxBz1fGz9/o=; b=nKdaBIbExUmIBbVkFL1wLoBiSS AFibTSVMIhHp3tFI/rYMfkhH9HH7zDOD94jp/4efCIh/QYXI4s+SJYuuN22q5fy7H4ocEhvVipz3s IChK5fH1XCS1Hi7uky++4TWl7jQndemt2GoWXpvVSIhvuC3u2l9nyz/UsrADnWohk/vw5uOASJnyT vjXaRS5poLYhNQjYafsJFZrnGqMwiRQLK8dltbhoWwHstQSUkCafnVCSbTazJMudVXJB4YZX71YbP db9KinURFV1ETj4B+z2C6rhSF1Zc70QvLg91dkHiDiWlfaUq8JjbIZrMfqoMYG4sAVuuJfQsIrJlm nN5cfUkw==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.96 #2 (Red Hat Linux)) id 1pIobR-000byJ-0x; Fri, 20 Jan 2023 10:26:34 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 87A4C30036B; Fri, 20 Jan 2023 11:27:00 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 7030F20A60F36; Fri, 20 Jan 2023 11:27:00 +0100 (CET) Date: Fri, 20 Jan 2023 11:27:00 +0100 From: Peter Zijlstra To: Sandipan Das Cc: "Erhard F." , linux-kernel@vger.kernel.org Subject: Re: [bisected] clang 15 built kernel fails to boot, stuck at "Loading Linux 6.1.1 ...", gcc 12 built kernel with same config boots fine Message-ID: References: <20230119022303.177052e4@yea> <178000f1-1464-03cb-2335-a01b77e70692@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <178000f1-1464-03cb-2335-a01b77e70692@amd.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_NONE 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, Jan 20, 2023 at 11:20:53AM +0530, Sandipan Das wrote: > With the combination of defconfig+kvm_guest.config+localyesconfig, the only > thing that made a difference was the compiler optimization choice. The kernel > boots up with CONFIG_CC_OPTIMIZE_FOR_PERFORMANCE=y but not with > CONFIG_CC_OPTIMIZE_FOR_SIZE=y. Both Clang 15 and 16 kernel builds are affected. -Os(tupid) strikes again :-) Lemme go try that.