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]
Date: Tue, 12 Mar 2024 15:15:41 +0000
From: Mark Brown <broonie@...nel.org>
To: Valentin Obst <kernel@...entinobst.de>
Cc: Shuah Khan <shuah@...nel.org>, Anders Roxell <anders.roxell@...aro.org>,
	Benjamin Poirier <bpoirier@...dia.com>,
	Guillaume Tucker <guillaume.tucker@...labora.com>,
	John Hubbard <jhubbard@...dia.com>,
	Marcos Paulo de Souza <mpdesouza@...e.com>,
	Nathan Chancellor <nathan@...nel.org>,
	Sasha Levin <sashal@...nel.org>, linux-kernel@...r.kernel.org,
	linux-kselftest@...r.kernel.org
Subject: Re: [PATCH RFC] selftests: default to host arch for LLVM builds

On Sun, Mar 03, 2024 at 01:44:36PM +0100, Valentin Obst wrote:
> When using gcc without cross compiling, i.e., `CROSS_COMPILE` unset or
> empty, the selftests build defaults to the host architecture, i.e., it uses
> plain gcc. However, when compiling with clang an unset `ARCH` variable in
> combination with an unset `CROSS_COMPILE` variable, i.e., compiling for
> the host architecture, leads to compilation failures since `lib.mk` can
> not determine the clang target triple. In this case, the following error
> message is displayed for each subsystem that does not set `ARCH` in its
> own Makefile before including `lib.mk` (lines wrapped at 75 chrs):

Reviewed-by: Mark Brown <broonie@...nel.org>

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