[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <dcfc27f1-430f-4fe2-b16f-e0bf9c51de5a@sirena.org.uk>
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