Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp3095263rdb; Tue, 13 Feb 2024 06:51:16 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCU2/Vtk5NStty20VwIW9AuwaTFSffyG+mZRkj9z5QQC4Z+68mLQeqcleUCgntnkaDOBkdz1yc7OGTmfwfiFAnHGOcqfwe7xmsNhxGp2sw== X-Google-Smtp-Source: AGHT+IElI6fNeMM2OGlXGDtyGRXwPT3lNvaEG2e/Xj6DpyQgqjYF5VmSj0tD9efpkx2/6906o/ik X-Received: by 2002:a05:620a:1b:b0:787:1ccd:feda with SMTP id j27-20020a05620a001b00b007871ccdfedamr1761333qki.77.1707835876193; Tue, 13 Feb 2024 06:51:16 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707835876; cv=pass; d=google.com; s=arc-20160816; b=ZtIpS5TjLf2mbKNpK4/uhkyFDf8N2M+iyG2EKfufdmsJ9T49TYe8cEasxCCpB9Yhn3 kvyxxYQnjh9HxhfTvg58eqZO5Ryv7OlGJvknbYRM3EtQs/EOSteU4LI3YkhEH7c/JI5i FuWqKpaOuT38obEGk34csZnJhVKyBBPBH7s4n1AGrcgbVXr97todVe3sgv/hlZy72g4M Oj2W8VQ58tgtLGIgpgpc1UxmiwTqoOnh7KXC7Q3OcjJomSo5TOViXsCfAWIiUI91TayT UZBa/ffqlffCEqXRggGpVOLwTOnuSqG9zI2WAi2yBrSRKu+LieMgZxqcjAJdFcnSRUyu W2AQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=46jd0fdYmpsU8MTMLmLtEOScpmCfCTxeLUj5RFFH3wI=; fh=74YJoFeldPpXYxK5MfFFyGcdwOmT33C5xrL3tx8dnJA=; b=vOsgn5LyjcQ/QOjBBMTx+Ocsqqu/iDSAJEgXEYJnc0ky7ecSZBJfWdE+XCnAA0gEg3 Xhn3QegsNOcPw4QjIu38MXpm17SodE6+2zthd3KRvYOqyVhVvYkXFhbtTdtB8SltJ8uJ 53IN+s2Fql+U+ZDUsGq61bkm/tj14R4iB+0yweNascMtHoHmKcNK0pKG25tkLQQhlv+3 GtJlhimzINvhAcgi6/5q7czTuGac5lXP73s7ExFalYJTJIADgP8cXHf2A0yzlIMKa53n 8GKF0D+Y7tNPA9ZvJCvKj9AAovkpeFTlSmGxd9lHt0sWdZtUYDzCJRdHghiLeeACykoE pwWQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w8bAWb1u; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-63714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org X-Forwarded-Encrypted: i=2; AJvYcCWxbLslBUECC9+t8EZqNJuyq35qYd/LHjUP4MF9ml9H6rI3rcG8WPmaDoDju+V1dUBlxeQJ8jLC+S9uZX8MGbqEWeTpyyAJNhGQRLmBsA== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ee26-20020a05620a801a00b00783f57b3584si610244qkb.239.2024.02.13.06.51.16 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 13 Feb 2024 06:51:16 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-63714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=w8bAWb1u; arc=pass (i=1 dkim=pass dkdomain=linuxfoundation.org); spf=pass (google.com: domain of linux-kernel+bounces-63714-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-63714-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 0DE531C27B2D for ; Tue, 13 Feb 2024 14:50:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 64FA158123; Tue, 13 Feb 2024 14:50:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="w8bAWb1u" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7817D58105; Tue, 13 Feb 2024 14:50:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707835803; cv=none; b=Bnc0QRdNNNsLrxE/Dq+1P7MnQfkDHYaYIqZt6PPiuWAdyrf5hki7vY2qld4wlSp3hAW27Im9k6NlCWNgjdMdia5m+cbotQXCmA12kRHQ/hVNzHv3CIttcjXLtr7K/XBHp0QhjRurvTVaoNwMYr2AjRR4deIEdiG8NMx+YHxE65Q= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707835803; c=relaxed/simple; bh=AfXNvoDPfGxO4Tl8E8xiaQRy/lU+RIhza61C8gLWqgw=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=tU8I8nUbyIyf14Zc9RU6xhyiIiIlVRxlI6ykoGpZvBkYKktfvwnyPZd7tECjX+gFhta4hT+J32mV68mSSVKR2aMKxDL1x78dgaMbpFFLy4TnKJZT0zs8XkGij35uS8nmLJHMEsQ79BZyLMljftUdnjeLGLSv53Cx3HO052YBWuo= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b=w8bAWb1u; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id B0B44C43390; Tue, 13 Feb 2024 14:50:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1707835803; bh=AfXNvoDPfGxO4Tl8E8xiaQRy/lU+RIhza61C8gLWqgw=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=w8bAWb1ukEFNJfV6I2vn9aEwQWg/6XlUcLZXRxIfEHyaq/vDunwdWzBzqwvRy2JZC 5YZNHPpJJMmkwg/F54tsVm13wCIJAwJPBcZYFLnyle0g6oRhilqmDU6qfC5DAda5Tz GmSKMn1lNhq5em/cXN5EWFt7A+5ctRgLZtbzHI7g= Date: Tue, 13 Feb 2024 15:50:00 +0100 From: Greg KH To: Linux regressions mailing list Cc: Sasha Levin , David Laight , "stable@vger.kernel.org" , LKML Subject: Re: [regression] linux-6.6.y, minmax: virtual memory exhausted in i586 chroot during kernel compilation Message-ID: <2024021318-shifty-daybed-fca8@gregkh> References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Mon, Feb 12, 2024 at 05:16:58PM +0100, Linux regression tracking (Thorsten Leemhuis) wrote: > Hi Greg, Sasha, and David, > > I noticed a regression report in bugzilla.kernel.org that seems to be > specific to the linux-6.6.y series: > > Quoting from https://bugzilla.kernel.org/show_bug.cgi?id=218484 : > > > After upgrading to version 6.6.16, the kernel compilation on a i586 > > arch (on a 32bit chroot in a 64bit host) fails with a message: > > > > virtual memory exhausted: Cannot allocate memory > > > > this happens even lowering the number of parallel compilation > > threads. On a x86_64 arch the same problem doesn't occur. It's not > > clear whether some weird recursion is triggered that exhausts the > > memory, but it seems that the problem is caused by the patchset > > 'minmax' added to the 6.6.16 version, in particular it seems caused > > by these patches: > > > > - minmax-allow-min-max-clamp-if-the-arguments-have-the-same-signedness.patch > > - minmax-fix-indentation-of-__cmp_once-and-__clamp_once.patch > > - minmax-allow-comparisons-of-int-against-unsigned-char-short.patch > > - minmax-relax-check-to-allow-comparison-between-unsigned-arguments-and-signed-constants.patch > > > > Reverting those patches fixes the memory exhaustion problem during compilation. > > The reporter later added: > > > From a quick test the same problem doesn't occur in 6.8-rc4. > See the ticket for more details. > > Note, you have to use bugzilla to reach the reporter, as I sadly[1] can > not CCed them in mails like this. > > [TLDR for the rest of this mail: I'm adding this report to the list of > tracked Linux kernel regressions; the text you find below is based on a > few templates paragraphs you might have encountered already in similar > form.] > > BTW, let me use this mail to also add the report to the list of tracked > regressions to ensure it's doesn't fall through the cracks: > > #regzbot introduced: 204c653d5d0c79940..9487d93f172acef > https://bugzilla.kernel.org/show_bug.cgi?id=218484 > #regzbot title: minmax: virtual memory exhausted in 6.6.16 with i586 chroot > #regzbot ignore-activity > > Ciao, Thorsten (wearing his 'the Linux kernel's regression tracker' hat) > -- > Everything you wanna know about Linux kernel regression tracking: > https://linux-regtracking.leemhuis.info/about/#tldr > If I did something stupid, please tell me, as explained on that page. > > [1] because bugzilla.kernel.org tells users upon registration their > "email address will never be displayed to logged out users" I think this was already fixed in 6.7 or Linus's tree, but I can't seem to find the commit at the moment. What file is causing the compiler to crash? Is it some video or media driver? thanks, greg k-h