Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp972443lqj; Mon, 3 Jun 2024 06:42:56 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU64UsGABtI0lZxdCFz5bFbNFtG6U5ijRA/d2eXJbRYbCl5KNlwPNF2+Z/Y8i+fEWQvVraJ8SPCsZzvB6CiIk+I58S2P1P6Wo2sHxaWyA== X-Google-Smtp-Source: AGHT+IHEZOW5WnwY5j0UV3IIf4oMwTbrzGgLtiT3Dr3U8pm6VvE/FrLYS1e/PBJ6cjhEJ/pCd8MZ X-Received: by 2002:a05:6a20:431c:b0:1b0:30d:6756 with SMTP id adf61e73a8af0-1b26f17cab5mr9805977637.2.1717422175912; Mon, 03 Jun 2024 06:42:55 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717422175; cv=pass; d=google.com; s=arc-20160816; b=mrgqJIqqJF2HDJZiilWKW7e5ZQ950b1fRxVOv8ehi0rCuuEbs251VRLVAt2hgH9yFw qA27F2mRpkawu64xzCqmRGx9tkpDAH67jVK62k6P725N50s65SXtcWWAQtn6en/71svg EWu1SbqeEQXKmvZZ2Hbsh0S/iZmoB07Y13UI7RnjDNSOGYy2XL0PCey9RMzADMK2DQGN 5PjNGjd3W9/FpeLmgfWUUtLgAKvEcOjFCSZipRiB8MjRvb0TsxNftjX+dRHHF88ANrLk OtvTjf24y+6WZxnQ+ntK7p2jZ4r2iu7nF9flA32Xgj2clnA980echx8XXpeVcyoOPdy9 sJoA== 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=P+E6NV1z97iNbVlRcjWbkbaZxlkRao+s3OzoowA5FNI=; fh=knbvGtiG2QwAX+qxgzh3pqpvuj/LpiE3SZC0t5I6uF0=; b=Fa4ZAJH9NakZ6eoM4uLamIWDhlvEnXXrOqnMOFKb6Tyib5aum0pZiDIl4/Id4ALy/m DnqRe7lSb7blM+WyBl5HIwM71uIjcbOiHWwfNI6pEIm/INNHFDmVVVeUbeoEWAI+Qaaz PuwzFwemyebRpQhmIxJ/3lddLUNAAyzuPCcb8OyohR969/wIMYmu7I+vDbikXo1Kkt8u dS22Ftss+oyUf8P5CrBTMwesWFmy8CocS2lYNPvX5BAmFYPaL6+7OFfBvWJshWDK3YQ8 4cR0YX5V3QV3qh58YtrY/dV2BhryMZlZiV8gpimFzV0SZrx1MhyjlpJHB7dXJ7+ZLGr8 7Xig==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fgV79tYr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199221-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199221-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id d2e1a72fcca58-702425e0c54si6504074b3a.21.2024.06.03.06.42.55 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 03 Jun 2024 06:42:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-199221-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=@kernel.org header.s=k20201202 header.b=fgV79tYr; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-199221-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-199221-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id 333D728DC55 for ; Mon, 3 Jun 2024 13:32:07 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E39D912D770; Mon, 3 Jun 2024 13:32:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fgV79tYr" 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 103C412D1FA; Mon, 3 Jun 2024 13:32: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=1717421524; cv=none; b=nnpDxLQLZH11+IxZgYtSKHU1V3GJRKxuGVBSapl8rG49Qj5O6YSNRuYiShboLGH6ab7NEU+fv1IjLBAxoyeHPnRNjQN/7wWWYzYlew9EtfbN+8wPkfAcDkmQSoxtkEf5pMWEDRnunSHFF6MomY3/FkwMHgDtC6l8M4q/V1Odkbo= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717421524; c=relaxed/simple; bh=CfNFaBdw1xG9IssterEE6MbYhcLFzsxVaBM/TXav0lE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=nJBxovQKb0IZPch9UGRQmJc+llhRW6ZJbVjzH4XMqJiNp9FNtc/QI9cZGg2DienjJrl5TLD2rFiCMRLBg+NW6yHHCpVeVTHL6g3hWY3/L54O5wWleMRBHwZZVuXcZvGN9ZRkcnhc8rhS6zEPRfydRUQkWAB4GeVJVtxvHwzjhlU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fgV79tYr; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 096B7C4AF08; Mon, 3 Jun 2024 13:32:01 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717421523; bh=CfNFaBdw1xG9IssterEE6MbYhcLFzsxVaBM/TXav0lE=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=fgV79tYrLH2VJm0N9fppEAqrahRKszmoTNV20ZAuJCegUzvjjEa2Y1xCYnRC586MK u0J5rn7ekJt7hHrR0SP27q7Wr0qKQ74KW9+zdG6w70qrQHUuc3KFEVLEbQUuRdUmiu ivL3VYIPytSu1htnCyBY9cyYQncuW7GqZ/c5WwkhBVmYi/Y6YN6Pv/zX0wjerjQQlo iJ441XqzfB9PdXn9E0PcrDwzJQOw3FO33nmuN8FhmSjsWsw3CY0nlsy+gt9F/+gNuI cV35Nra/hzqnACnBG7MDuywSjkvwh8sDPRNymaNDZhuGVTIEkuvjic/sxxtsVUqyMs YjhwzYJBsWmTQ== Date: Mon, 3 Jun 2024 14:31:59 +0100 From: Mark Brown To: Muhammad Usama Anjum Cc: Catalin Marinas , Will Deacon , Shuah Khan , linux-arm-kernel@lists.infradead.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [Bug Report] selftests: arm64: build errors Message-ID: <7b7f4dd1-bc13-4827-84d6-20ebed7119b6@sirena.org.uk> References: <5ec0f2f3-5259-41a9-a25d-5baf1680dd10@collabora.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="JaJbRFCY2mj2cYSO" Content-Disposition: inline In-Reply-To: <5ec0f2f3-5259-41a9-a25d-5baf1680dd10@collabora.com> X-Cookie: Don't let your status become too quo! --JaJbRFCY2mj2cYSO Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jun 03, 2024 at 06:28:16PM +0500, Muhammad Usama Anjum wrote: > gcc pac.c /pauth/pac_corruptor.o /pauth/helper.o -o /pauth/pac -Wall -O2 = -g > -I/linux_mainline/tools/testing/selftests/ -I/linux_mainline/tools/inclu= de > -mbranch-protection=3Dpac-ret -march=3Darmv8.2-a > In file included from pac.c:13: > ../../kselftest_harness.h: In function =E2=80=98clone3_vfork=E2=80=99: > ../../kselftest_harness.h:88:9: error: variable =E2=80=98args=E2=80=99 ha= s initializer but > incomplete type > 88 | struct clone_args args =3D { This is in the generic code. > CC check_prctl > check_prctl.c: In function =E2=80=98set_tagged_addr_ctrl=E2=80=99: > check_prctl.c:19:14: error: =E2=80=98PR_SET_TAGGED_ADDR_CTRL=E2=80=99 und= eclared (first use > in this function) > 19 | ret =3D prctl(PR_SET_TAGGED_ADDR_CTRL, val, 0, 0, 0); >=20 > gcc -mbranch-protection=3Dstandard -DBTI=3D1 -ffreestanding -Wall -Wextra= -Wall > -O2 -g -I/linux_mainline/tools/testing/selftests/ > -I/linux_mainline/tools/include -c -o /bti/test-bti.o test.c > test.c: In function =E2=80=98handler=E2=80=99: > test.c:85:50: error: =E2=80=98PSR_BTYPE_MASK=E2=80=99 undeclared (first u= se in this > function); did you mean =E2=80=98PSR_MODE_MASK=E2=80=99? > 85 | write(1, &"00011011"[((uc->uc_mcontext.pstate & PSR_BTYPE_MASK) > I've GCC 8 installed. I'm not expecting the errors because of a little > older compiler. Any more ideas about the failures? You need to run headers_install IIRC. --JaJbRFCY2mj2cYSO Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZdxc4ACgkQJNaLcl1U h9CX0Qf/Zvgw13gwuY/rn/A9JCGMEvZQENQvG2gs7AyeyVI1tJgGrnfQKXnC9Vte L9E8XcfKTAVUag5e/xS4t5rDzfhZGvL7G8ytI64qnhhDZziOfC8HOYuQIaYruhv+ 5ISO5+OxLWRH7LXtO82kif/ObWplhQrIf4Uq0f7TYPuDY33Jpmk/RuHdngTuDrpO 7QrR8DpZdQMna0f+AQghbXj4ngq89mqBdocktgBFDMf+2qRhnZHU2eJzkKUq88hS +AnlPu18DHYYJsoiqE2ucE3r20r5FtXq0n6YIYcN4HkUMzc9Lo/aIibymG5k97Q1 Nx/7csNI46dhALHilBw1nU2FRJwDLw== =pVuw -----END PGP SIGNATURE----- --JaJbRFCY2mj2cYSO--