Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp3033367rwb; Sat, 24 Sep 2022 21:57:15 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4RFdINFSq+xtEbW+fVlOY7vq0zGNTpO6eQnECZ1its97S82Ftrgy76x1jeFt68/4IRojOF X-Received: by 2002:a17:903:186:b0:178:3af4:87b3 with SMTP id z6-20020a170903018600b001783af487b3mr16205132plg.117.1664081835258; Sat, 24 Sep 2022 21:57:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664081835; cv=none; d=google.com; s=arc-20160816; b=G3W4Q6bGMgz64MAKmiM8texV/n6Zr/gi0mNYZYc5lMvc1LlTCWrhGmsJOm6XfLvUHH TB+AzkQx8VsMxBeIiuT+QDjxv4hBz+uQVpewCTsvE3Cx/ktiViU0GyXyolKns2CiteJg QZo2Xjrq2JMSkv8nUh+3vCBghhVX23DVmeGhdVuHbEFGdP7QYBl/0M+KHMMU1KrR/bAf FRX+Eia/l6YFF0ikDaSEFanXtULhVbB8mPEfRUQH4X1OZ23EbmaPQcUsrROraZMbKUJ+ 5Mjts0kNR1GHPEp3GqOltGlDGw/qMhk9PSDP30cJOKCRsEy+FjNIRNzd43igoA90Mc/V hHaw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=6UEbrlm/73oIa5aR5vqNmeXEvxGDrhdSk9PrEBqgF4o=; b=O4eBU73GlbWWmRw5++C8/VX00BNOrYJvHJ/bSPNBXyk4+dk6akh3dfCAnkK+ft1HM8 evJLhwUkRVR6gtPUui1lr/YfPJFje/bCs24EVNe5yEGYidOL+j+chMSvV9i1xSXDXnT/ p8g7AKTtejWxesHvDZJU1g7oQprk38tAYzoUfMIf5vaiveiN1CMjcjUAvelpwp7MY8lD xSKwtSfg1k3gMLbOcV1aYojzl1FjSoxJa2qjP6yhimbQrSmFMgxwDA+5TmZl/5a7iPmc RfT4Zz2CsSKaw670PQLhfmbmc24BgTQ563jsZBflQ/7OCVyHxRz9mBh2WXsP1ZvasYOl e9Vw== ARC-Authentication-Results: i=1; mx.google.com; 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 k7-20020a056a00168700b00551fcfe090fsi13579126pfc.340.2022.09.24.21.57.00; Sat, 24 Sep 2022 21:57:15 -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; 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 S229763AbiIYEUy (ORCPT + 99 others); Sun, 25 Sep 2022 00:20:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229485AbiIYEUw (ORCPT ); Sun, 25 Sep 2022 00:20:52 -0400 Received: from 1wt.eu (wtarreau.pck.nerim.net [62.212.114.60]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 929123B96F for ; Sat, 24 Sep 2022 21:20:50 -0700 (PDT) Received: (from willy@localhost) by pcw.home.local (8.15.2/8.15.2/Submit) id 28P4KVjR009882; Sun, 25 Sep 2022 06:20:31 +0200 Date: Sun, 25 Sep 2022 06:20:31 +0200 From: Willy Tarreau To: Mikhail Gavrilov Cc: ast@kernel.org, yhs@fb.com, sean.wang@mediatek.com, Linux List Kernel Mailing Subject: Re: Unable bisect issue because kernel not building from old commits Message-ID: <20220925042031.GA9845@1wt.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10.1 (2018-07-13) X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_PASS, SPF_PASS 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 Sun, Sep 25, 2022 at 03:22:10AM +0500, Mikhail Gavrilov wrote: > Hi! > I want to make bisect between commits fdaf9a5840ac and babf0bb978e3, > because after commit babf0bb978e3 Wi-Fi (mt7921e) upload speed became > limited to 170Mbps. On commit fdaf9a5840ac upload speed was 784Mbps. > > But I ran into a problem that the gcc-12.2.1 compiler on my > distribution (Fedora) can't build the kernel from old commits. The > build fails with the following error: > ld: warning: arch/x86/power/hibernate_asm_64.o: missing > .note.GNU-stack section implies executable stack (...) Note that this looks more related to binutils here. Regardless, there are pre-built toolchains including compiler+binutils for various gcc versions from 4.9 and up here, for all supported architectures: https://mirrors.edge.kernel.org/pub/tools/crosstool/ These ones are sufficient to build a kernel and are likely easier to deal with than trying to port a patch over a bisect session. For example you could have luck with 7.5 which has been supported for a very long time and still is supported. Hoping this helps, Willy