Received: by 2002:a05:7412:98c1:b0:fa:551:50a7 with SMTP id kc1csp1914347rdb; Mon, 8 Jan 2024 14:58:11 -0800 (PST) X-Google-Smtp-Source: AGHT+IHjiQQCzQjaLBgcCCl7K1pEPtzhgi6B03B+VvWEB9Vo5d+vRQwzkGcDcnbZ2EuBUaSX7BXN X-Received: by 2002:a05:6a00:1d9c:b0:6d9:9af8:c496 with SMTP id z28-20020a056a001d9c00b006d99af8c496mr5155237pfw.9.1704754690655; Mon, 08 Jan 2024 14:58:10 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1704754690; cv=none; d=google.com; s=arc-20160816; b=OLI3NH+ji5jyj3yudNJMCMGmFFRHm8uT+uw4idFumCykr2Y83zI8WgFfc+Tbf2+CTQ SBSQkEiVqG1hvbANS7kC37fjaM5/1XifMju7u2UvtAmz5PjfPPdPAC0k1pL4hbRTQgYN /3TKmkCRd1jBQYNdf6sTPkYXM6sjvy8ZqFK3GA4nmpDxySo3LNJCF+imh7UzgDMM9z0b YqJ/9/S9eCBzaa4TrnOCuv3rQf1ETycN2pJpIRUq75OCk7hLFsFFvbqBXgZkXOcaZMXD DwE9EBHSMCtoJHrDA5iYCLsQDNIpIzSz1da//oZi8QFuYVwx/uPJPDtdJwZwyCV18ZJ7 pISQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Et58EhwEA0tDd3zujt9GnM9dv5dsfHb9ovqlvrRfljs=; fh=XZrh45/mez4ME/TPfdz/TNK+kEPGq1hctV6LZAmu9MM=; b=MTnGK1axvcJBATjxLrefHZ3ezRcGFdt2zr36JbhpTKwrGO5tjt7LCu3NJYOAtuVx07 gYAMaL3p6X8lT2Q6m4V9HlJyI4RYqHG9fJCnVNSV4xef9iC1/Voe/3+QyRN11WgoDwcf k4iQSvTnE3R+TsADpqbBOvR9IqAqp2XYQPT7ynbN1USiEAkCv2vs+G9SfOayc3yN+19D +tuslRxoVcrmmvgQVl3uviu427jcis+tevuodG65SLYZQ0UrbeH7hx4q8/alPtdfgumw K6Uvhaym/g7nrfB0o0eL+Hd28yFi3Q7Bz98qgfhiMkKZ90kEa3LMWoeU/MzI5c8B4UGl 9PbQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=usFMCTdi; spf=pass (google.com: domain of linux-kernel+bounces-20167-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20167-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id l2-20020a632502000000b005bd66bfc256si471331pgl.869.2024.01.08.14.58.10 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 08 Jan 2024 14:58:10 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-20167-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@canb.auug.org.au header.s=201702 header.b=usFMCTdi; spf=pass (google.com: domain of linux-kernel+bounces-20167-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-20167-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=canb.auug.org.au 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 531D4285002 for ; Mon, 8 Jan 2024 22:58:10 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 9A12C53E1A; Mon, 8 Jan 2024 22:58:03 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=canb.auug.org.au header.i=@canb.auug.org.au header.b="usFMCTdi" Received: from gandalf.ozlabs.org (gandalf.ozlabs.org [150.107.74.76]) (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 52AA92904 for ; Mon, 8 Jan 2024 22:58:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=canb.auug.org.au Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=canb.auug.org.au DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canb.auug.org.au; s=201702; t=1704754678; bh=Et58EhwEA0tDd3zujt9GnM9dv5dsfHb9ovqlvrRfljs=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=usFMCTdiVgqzfZTfu+P2BBjNYwj3OuTta4njS8C0pP9LFoQSAg+xX6rgJcxyp2Yle s/althnhCW++T7sAk5qG1YLbtTb9K4miFGNBQXmSFr1X4Q+BHVV3u6JFUS89O/yZ4w OeinwccBtUXlFaDl2h4AdRbmyk4Eu96+24qR7RWDACRWR7Q5Ll+fT+acvgfbARGBBF yS5MquaOttUx4MMO0Lf6ehveZL9LII0nVBbz+mWPbXBeommL1ULkxuN4NulCjEy5UW GuKCqjhU67D1Wm0LrkP6E206SL++A0onxEMaWmEPzMFy+5TXO1FHmZIaAIprLvTQXh JULkV24aFJr4w== Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4T88bp2xqYz4wbr; Tue, 9 Jan 2024 09:57:58 +1100 (AEDT) Date: Tue, 9 Jan 2024 09:57:57 +1100 From: Stephen Rothwell To: "Paul E. McKenney" Cc: lucas.dimarchi@intel.com, ogabbay@kernel.org, thomas.hellstrom@linux.intel.com, linux-kernel@vger.kernel.org, intel-xe@lists.freedesktop.org Subject: Re: [BUG] allmodconfig build error in next-20240108 Message-ID: <20240109095757.1313b2d9@canb.auug.org.au> In-Reply-To: <45ad1d0f-a10f-483e-848a-76a30252edbe@paulmck-laptop> References: <45ad1d0f-a10f-483e-848a-76a30252edbe@paulmck-laptop> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/ADUhnR/f0fUP1Nsqi8QDnxE"; protocol="application/pgp-signature"; micalg=pgp-sha256 --Sig_/ADUhnR/f0fUP1Nsqi8QDnxE Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi Paul, On Mon, 8 Jan 2024 13:33:36 -0800 "Paul E. McKenney" w= rote: > > Recent -next trees get the following build error for allmodconfig builds: >=20 > ------------------------------------------------------------------------ >=20 > drivers/gpu/drm/xe/xe_gt_pagefault.c: In function =E2=80=98xe_guc_pagefau= lt_handler=E2=80=99: > ./include/linux/fortify-string.h:57:33: error: writing 16 bytes into a re= gion of =C2=A0size 0 [-Werror=3Dstringop-overflow=3D] > =C2=A0=C2=A0=C2=A057 | #define __underlying_memcpy =C2=A0 =C2=A0 __builti= n_memcpy > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 ^ > ./include/linux/fortify-string.h:644:9: note: in expansion of macro =E2= =80=98__underlying_memcpy=E2=80=99 > =C2=A0=C2=A0644 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 __underlying_##op(p, q, __f= ortify_size); \ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~= ~~~~~~ > ./include/linux/fortify-string.h:689:26: note: in expansion of macro =E2= =80=98__fortify_memcpy_chk=E2=80=99 > =C2=A0=C2=A0689 | #define memcpy(p, q, s)=C2=A0 __fortify_memcpy_chk(p, q= , s, \ > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0|=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ^~~~~~~~~~~~~~~~~~~~ > drivers/gpu/drm/xe/xe_gt_pagefault.c:340:17: note: in expansion of macro = =E2=80=98memcpy=E2=80=99 > =C2=A0=C2=A0340 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0= memcpy(pf_queue->data + pf_queue->tail, msg, len * sizeof(u32)); > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 ^~~~~~ > In file included from drivers/gpu/drm/xe/xe_device_types.h:17, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0from drivers/gpu/drm/xe/xe_vm_types.h:16, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0from drivers/gpu/drm/xe/xe_bo.h:13, > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0= =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0from drivers/gpu/drm/xe/xe_gt_pagefault.c:16: > drivers/gpu/drm/xe/xe_gt_types.h:102:25: note: at offset [1144, 265324] i= nto destination object =E2=80=98tile=E2=80=99 of size 8 > =C2=A0=C2=A0102 | =C2=A0 =C2=A0 =C2=A0 =C2=A0 struct xe_tile *tile; > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0| Which architecture? What compiler and version? Anything special in your b= uild setup? I do x86_64 allmodconfig builds all day with gcc v13.2 and I don't = see this failure. --=20 Cheers, Stephen Rothwell --Sig_/ADUhnR/f0fUP1Nsqi8QDnxE Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEENIC96giZ81tWdLgKAVBC80lX0GwFAmWcffUACgkQAVBC80lX 0GxIpQf8C+6WGqhvESkIIly6tjpCUu/1HJBcrCHnC+4k19bEzMzMINZ3E1cYSdnE x6qj+3hXIFsiA8+0DYdJBriPX8b6CFm4I4+aS/2Ux72dMB+YlFQe98Bdm3eiCWAa 9w+T/aWevvwsFGgbhLf1whlsnEEx3KR/nZ7pwMyJpXie6NokWlSFUNt67K1odPwk gskrA708EFZxGNveTpY73MHh5OVsoyazS5So5SP97cy/kemdasISkr7TVBGbfFju 3d8ww8F4YWfU6rAWSbejrkJCvbhJ2b2M0uzHF2ljdAeQUrc0cl7/iO0WzAzPwxgc 5vDoXAbboee5bLDZThu3ggTnV8j9DA== =uG5V -----END PGP SIGNATURE----- --Sig_/ADUhnR/f0fUP1Nsqi8QDnxE--