lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <079b5dfc-b77e-4808-831a-c0d38c4923b4@sirena.org.uk>
Date: Wed, 5 Jun 2024 21:48:54 +0100
From: Mark Brown <broonie@...nel.org>
To: Muhammad Usama Anjum <usama.anjum@...labora.com>
Cc: Catalin Marinas <catalin.marinas@....com>,
	Will Deacon <will@...nel.org>, Shuah Khan <shuah@...nel.org>,
	linux-arm-kernel@...ts.infradead.org,
	linux-kselftest@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [Bug Report] selftests: arm64: build errors

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 ‘handler’:
> >> test.c:85:50: error: ‘PSR_BTYPE_MASK’ undeclared (first use in this
> >> function); did you mean ‘PSR_MODE_MASK’?
> >>    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.

> 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.

Download attachment "signature.asc" of type "application/pgp-signature" (489 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ