Received: by 2002:ab2:6d45:0:b0:1fb:d597:ff75 with SMTP id d5csp555425lqr; Wed, 5 Jun 2024 13:56:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWkKRHpovwRcS3balRBYXcp/TrY7+f2rZ6mSDCpFqBm9npU40qam1CTlMjirnqWWZ85IqNx+5Q5RP3FG3w5XPryATISfua55MZF7iO27g== X-Google-Smtp-Source: AGHT+IEkdIRTtZejgsGa8Qh0okuVM2HBDYHI2S8epU11eqZZ4KbhuMj+OnxDHl5VdscgtJdE9miz X-Received: by 2002:a17:903:120c:b0:1f6:857b:b5c with SMTP id d9443c01a7336-1f6a5a12db5mr44310755ad.32.1717620962031; Wed, 05 Jun 2024 13:56:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717620962; cv=pass; d=google.com; s=arc-20160816; b=Qcmxz4pccIzi5Q0dB5CFa4scnerWIYGCgy4Sf3VKymakTatc4+Bu4mMoectshce76j 3CJTg2n+CvHpoQAanLOz1+Xh6zgJVaMWh7d6icul/kh7eJCW2ud1bITkBcEJ0XYAID+K lcu5gvkLp0ka8s36qd3yS1T6BQTPO/Q5F7B6aM0JHFYpg4lmbkHDVSIHaY9OWnJ0ihNj t2dnaIJEQ0ybN+qx8dZF5QwfouS/WGlaiTmSZCqIHq62ITJT8aOAbjlT2VL+gIUAKECu Vruh9DrWH2PKa5tdSTeggJkNQs0T7uX2GKlezHXOhDGVtY6ijRCHzEFaTTPzdmTQ3dVP irtA== 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=aveYRjOoCi81Lmt+Yama0WcveBrNwOdjY0NrJZ71TRU=; fh=knbvGtiG2QwAX+qxgzh3pqpvuj/LpiE3SZC0t5I6uF0=; b=QT+JbrxTzvgke6XF4rJA4zCCqM3oAB4NQOSU0bhNJr8AHYFd+WM4QEpWkzkBqfUr0H mbu9EgOuuN+uWsUJStg1nXy9lvJGTSIe4BormjWnSd7CzKrSUf0fGxqEFchQQ9aP6pMM ZEMhaLQedvv2LG+S3+9LBjxXtNvd3J+6wrFGRY3KXRTgi5ZJcdzMdwxoDVQTxcKMgMIC Fe74/3amckNqR6vNp0lb+Lq+OerXfNvAogSnQD2/llLIUbFihkEsCyhRzJVaz9oF8ZnR Sm3YUwUbyy+PXXmhocB7rjz3KtkLJ2mtPd1dRLdoHcFZSbPGFezPeOQ1z2xlq29E/WuK WpZA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aMfLYeEu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203197-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203197-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f6323ea1b2si7164015ad.354.2024.06.05.13.56.01 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 05 Jun 2024 13:56:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-203197-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aMfLYeEu; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-203197-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-203197-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 88419B23DDA for ; Wed, 5 Jun 2024 20:49:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8A46A7462; Wed, 5 Jun 2024 20:49:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="aMfLYeEu" 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 A634913A897; Wed, 5 Jun 2024 20:49:08 +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=1717620548; cv=none; b=IG1tw2oGZ3Al1Jn3LBADNnYODiGdaakBuQG5V0dBbKibvFLoksqxTcaRCEGs1PKey6dRtguYIQnPnxnTFWsYKb2T7gG/5NLa/V7/ynXcx6AC5nDw6ioEDWGuOyQuD9rr3xsd5AZTmXZZ2QF/jQ/goyHnojg/oHznQaePU9s/Nuw= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717620548; c=relaxed/simple; bh=iooQD+slmT5/eWMAszFqIGNDD4xIV6olB6rXYeIs3mY=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=mAYdol1aQaL1buXe9B24XIbE1uCe8AHNOPxnapDbjblfQA+jy5AebMxrNOD5STxG66oaPv1a2e3egA0Xzp2wlVlGBLWYZc0awrwqLgUoiecDr0WOwpUBWW1xJGEmx/H3+IQGGB9ygCpmna41XVuFiAUu4licXyK4+67aHHBdArg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=aMfLYeEu; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 73D9BC2BD11; Wed, 5 Jun 2024 20:49:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717620548; bh=iooQD+slmT5/eWMAszFqIGNDD4xIV6olB6rXYeIs3mY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=aMfLYeEuBubeoqkdrxTGu8FGk8qrxsWuUD1ofvn5w07AN0a7jqA2lD3VFU1b5kl0R ErO0KxJ76uD3JoBs9pb2kQGKKXZC2Ucpbs6ARKc8uO33tS2cDRuaw0pB2NgzFHF2Wg 5H1/HWBh0ui2bl9MEVa4KPBY3bZ99RpECqF8vJtGaR7xchr8ElmQUa0cih6PqEaTgN 0jeq2pn1dhgol6hiwVd+VZrahUlUB8yOupYOefRmnQenw9AoJLXODQuoYTIuOrCX1n R7SF4mdRMj+fK0OBbX6PWDInRrNSa/EbYwwze9bWEF9v8M8x5rIzzOK98OBhUGhoX2 GJAymk0oCumYQ== Date: Wed, 5 Jun 2024 21:48:54 +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: <079b5dfc-b77e-4808-831a-c0d38c4923b4@sirena.org.uk> References: <5ec0f2f3-5259-41a9-a25d-5baf1680dd10@collabora.com> <7b7f4dd1-bc13-4827-84d6-20ebed7119b6@sirena.org.uk> <8e1e2f1d-a578-43c0-ad55-fb593967ac5e@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="JhYnV4hMM1CPNckb" Content-Disposition: inline In-Reply-To: <8e1e2f1d-a578-43c0-ad55-fb593967ac5e@collabora.com> X-Cookie: Simulated picture. --JhYnV4hMM1CPNckb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jun 04, 2024 at 01:13:45PM +0500, Muhammad Usama Anjum wrote: > On 6/3/24 6:31 PM, Mark Brown wrote: > > On Mon, Jun 03, 2024 at 06:28:16PM +0500, Muhammad Usama Anjum wrote: > >> test.c: In function =E2=80=98handler=E2=80=99: > >> test.c:85:50: error: =E2=80=98PSR_BTYPE_MASK=E2=80=99 undeclared (firs= t use in this > >> function); did you mean =E2=80=98PSR_MODE_MASK=E2=80=99? > >> 85 | write(1, &"00011011"[((uc->uc_mcontext.pstate & PSR_BTYPE_MAS= K) > >> 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. > I'm running: > make headers && make -C tools/testing/selftests > I've tried gcc 12 as well. It's your system headers (or not finding the kernel ones anyway) rather that the compiler. For PSR_BTYPE_MASK it's ptrace.h that's needed. --JhYnV4hMM1CPNckb Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEreZoqmdXGLWf4p/qJNaLcl1Uh9AFAmZgzzUACgkQJNaLcl1U h9BxAgf/Wo+3F59fFxKwN2tfRUMG4wnzDNqfDur6Y3HdCHPXkeFySk5KbH9DJaKH rymjsMabTp2Tjq9eCeU1ceTa2jAiBLuOJxD83SblQXdyRWcnSy6+7PYYVzvdWrgP oJidYigkUWPSwCM8p/1B/ogwilVm9SY3eLY1n5vA5YRYXrdxVtvCOFRc/O7OB2NM pL6Odp9jippLJMUyBkyixv+e959tnPenBBQ1RGFqA01WWT/ytrZk8sanc4BMFwfb sc7Gk7gVrzKGjGcuoTPX3bU4EhBl2hFJ9JG38d07bkX60UpmKc9D8S84EvnqZW6F PynqM4Rgo9QJPf6m9leKtyayWn6LpA== =BwgQ -----END PGP SIGNATURE----- --JhYnV4hMM1CPNckb--