Received: by 2002:a05:6358:16cc:b0:ea:6187:17c9 with SMTP id r12csp11269029rwl; Mon, 2 Jan 2023 17:56:38 -0800 (PST) X-Google-Smtp-Source: AMrXdXtLhUbUHCF3iaw3CDFtRZXCH2vPTS72q+RZU0KEwb5ABKnVb+T1WVdv/eLZH0SORJlEdgRK X-Received: by 2002:a17:906:6441:b0:7c1:994c:f168 with SMTP id l1-20020a170906644100b007c1994cf168mr41729462ejn.54.1672710998550; Mon, 02 Jan 2023 17:56:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1672710998; cv=none; d=google.com; s=arc-20160816; b=Hw8M0AkZZRH5phjxVgmlKqhjyM5TAN17UFRGb8zRrJ8IiXxGHjResO4wYq9cbMRi28 gyKWD6AdBc8wHKXh+L1Fl+AoOoJrYCmnvCJT/B0t0dylC/S+DVOEuWxo5jipLC9ReZzN L04tVX8jzw/b0+YwzGPVXXZjaOS+0fHnup9jaAgGeWddOf9sYszLGNpSRi2BJ6zyAX5d HV8gnaHKbFRc3jGVVuZmgj552a5t87WHWuA37kvtNQd7nRhOc8g0SVDPv6AS9q4acejP 4wke1aIT8IoKVD83p4QCSuu7TsKnSQUjKnIojcSoAktNZZY86doTVZfB95Y4J3i0AluV IzFQ== 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:sender:dkim-signature; bh=2tQTxcF2kZv4wRvqcsIJ1yFTjIynEnuDUEOYIkd31nY=; b=sudcG81i2EuSH3cV/PlINApT8pH5TC8wg6DU1dRWzWg6EJiS0gv+RVc5oGZ8ET7dH+ gUNsrvWozaoRchn74OEU67w0lIEkysemGfggbxAyAVkAzLrmgOyMzc74NAunkuF2vzmN SJl7oDWzTTkb8dMy1bxAQeG8WRIUSUyyh/Uhev9vtBeE8xZSsPJh020xd1tUmwSw4jHr QH1yNWc6x/OoYCENFir2auRvzdToIt1dwVI0q1u9m0iBM4P0L/pAtb2iq0suYKXBMAYq rOt1uVcpCgBut9XOB2Zm1hM+k++zSxswmzn070Eypj2AlKaR0eEgzNT6KF1iKJDQ0lyu lkhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=VrLDwYXe; 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 w1-20020a50fa81000000b004825f41d484si22705398edr.114.2023.01.02.17.56.23; Mon, 02 Jan 2023 17:56:38 -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=@gmail.com header.s=20210112 header.b=VrLDwYXe; 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 S236543AbjACBpm (ORCPT + 63 others); Mon, 2 Jan 2023 20:45:42 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230389AbjACBpj (ORCPT ); Mon, 2 Jan 2023 20:45:39 -0500 Received: from mail-oa1-x30.google.com (mail-oa1-x30.google.com [IPv6:2001:4860:4864:20::30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2C24E6300 for ; Mon, 2 Jan 2023 17:45:39 -0800 (PST) Received: by mail-oa1-x30.google.com with SMTP id 586e51a60fabf-142b72a728fso35322300fac.9 for ; Mon, 02 Jan 2023 17:45:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:from:to:cc:subject:date:message-id :reply-to; bh=2tQTxcF2kZv4wRvqcsIJ1yFTjIynEnuDUEOYIkd31nY=; b=VrLDwYXe1s/fEBRTSbLyNixsSi7ht/R7eUAtUTyses6ZbvkQL17KSTDly+vbM84l4E cwwgTj1LfnFa3mc8XRxYH4HKCXUQreW591/IM1zCTqutJWV9j7XIke9SNYRG89y2Xri0 CmYWCN+I87gcZ0uNqW1vkEhrkGakl+STdDkLbxz/BBkLhXHyRPhvj79I8kIDN8iRzje8 hZ5UsTHxu8yp/PIM8dusta0p1veP63/6EndAWF1T5S9peIHKlZyB0OFRytqsOShZnjVP NLpQo3X3e310grIloJbvl0ga9fHs43K7+N+Mhyw64Y40DqFCf42wtX7BRHcneQvlHE6l NDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=2tQTxcF2kZv4wRvqcsIJ1yFTjIynEnuDUEOYIkd31nY=; b=yAliTAp+4cqcjWfKMvCFTzLS8q6eHbsYMuIZE+GKjXFNr3AxLxQUL6ZrmgvbqeIONc f9sxwcpleWwPk1JG3KGDF54IWLVbgbKbsd5sP4owsiYnv62VVkQBaFYduYJWotOSam8s V0asEkq+0SDASFdWhUxcB6R5a/Bfhe2slY00qr5VYgT37Pcogss+8iJiHUJrCpM32s+n lZgbmrnh5FRrTfHESSb0kjVZdZJ7lDqOzrdnMU5DAaocj1jKhborYlntAM1pjKn8anvE a42W6nFJRVDD00wyE2yGuGag0mM2oOsnJCuJ04iuhDZnDtvhMztVugm1gW/yxWRQb/OV 0vpA== X-Gm-Message-State: AFqh2kpE31sIV8aCA/HW/QYHYbpi9jHElIq4ebz5p+orAieH65lzUHWt xyqFXyQ2XiW+qNHN4WzZKho= X-Received: by 2002:a05:6870:4b91:b0:150:8095:2687 with SMTP id lx17-20020a0568704b9100b0015080952687mr6532964oab.11.1672710337673; Mon, 02 Jan 2023 17:45:37 -0800 (PST) Received: from server.roeck-us.net ([2600:1700:e321:62f0:329c:23ff:fee3:9d7c]) by smtp.gmail.com with ESMTPSA id cy4-20020a056870b68400b0013bc40b09dasm13574500oab.17.2023.01.02.17.45.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Jan 2023 17:45:36 -0800 (PST) Sender: Guenter Roeck Date: Mon, 2 Jan 2023 17:45:35 -0800 From: Guenter Roeck To: Linus Torvalds Cc: "Jason A. Donenfeld" , Yoshinori Sato , Rich Felker , Arnd Bergmann , Linux Kernel Mailing List , Masahiro Yamada , Palmer Dabbelt , Ard Biesheuvel Subject: Re: Linux 6.2-rc2 Message-ID: <20230103014535.GA313835@roeck-us.net> References: <20230102225656.GA3532398@roeck-us.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-1.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS autolearn=no 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 Mon, Jan 02, 2023 at 04:21:41PM -0800, Linus Torvalds wrote: > [ Adding Jason in case he has any ideas, and seeing if sh maintainer > emails are still valid, and Arnd in case they aren't ] > > On Mon, Jan 2, 2023 at 2:57 PM Guenter Roeck wrote: > > > > One detail to mention, though, is that sh:rts7751r2dplus_defconfig > > no longer builds with older versions of binutils (2.32). Trying to > > do so results in the following build error. > > > > `.exit.text' referenced in section `__bug_table' of drivers/char/hw_random/core.o: > > defined in discarded section `.exit.text' of drivers/char/hw_random/core.o > > > > To make this more interesting, kernels older than v5.10 do not boot > > (at least not in qemu) when images are built with binutils 2.27 or newer. > > That is why I had used binutils 2.32 in the first place. > > > > I didn't bother tracking this down but switched to binutils 2.39 when > > building v5.10+ images. > > I have to admit that I can't really see myself carding deeply about > SH, but somebody else may. I don't think I've gotten an arch/sh pull > in a couple of years. > > That said, I also don't see anything wrong with the arch/sh version of > BUG() and friends, so I don't see why this would hit arch/sh and not > somebody else. > > I _assume_ it is the BUG_ON() in hwrng_modexit() that triggers this: > > static void __exit hwrng_modexit(void) > { > mutex_lock(&rng_mutex); > BUG_ON(current_rng); > kfree(rng_buffer); > ... > > but again, I don't see what's special about sh here apart from maybe > "not well maintained binutils support". > > Does removing the BUG_ON() fix the build? > It does, but it wasn't changed recently. Bisect results: # bad: [88603b6dc419445847923fcb7fe5080067a30f98] Linux 6.2-rc2 # good: [c8451c141e07a8d05693f6c8d0e418fbb4b68bb7] Merge tag 'acpi-6.2-rc2' of git://git.kernel.org/pub/scm/linux/kernel/git/rafael/linux-pm git bisect start 'HEAD' 'c8451c141e07' # bad: [8b41948296b76588f5ebaf7cbc5be5c803ece70a] Merge tag 'drm-fixes-2023-01-01' of git://anongit.freedesktop.org/drm/drm git bisect bad 8b41948296b76588f5ebaf7cbc5be5c803ece70a # bad: [6a5e25fc3e0b94301734e8abb1d311a1e02d360d] fixdep: remove unneeded inclusion git bisect bad 6a5e25fc3e0b94301734e8abb1d311a1e02d360d # bad: [9c9b55a59416a87fc73c479d78cb3218076dbc30] kbuild: add a missing line for help message git bisect bad 9c9b55a59416a87fc73c479d78cb3218076dbc30 # bad: [99cb0d917ffa1ab628bb67364ca9b162c07699b1] arch: fix broken BuildID for arm64 and riscv git bisect bad 99cb0d917ffa1ab628bb67364ca9b162c07699b1 # good: [da8daff9405e55baa1f797b77a7c629a89f4d764] kconfig: Add static text for search information in help menu git bisect good da8daff9405e55baa1f797b77a7c629a89f4d764 # first bad commit: [99cb0d917ffa1ab628bb67364ca9b162c07699b1] arch: fix broken BuildID for arm64 and riscv ... and reverting commit 99cb0d917ff indeed fixes the problem. Copying those involved for comments. Guenter