On Wed, May 21, 2025 at 03:45:42PM +0200, Thomas Weißschuh wrote: > On 2025-05-21 14:22:30+0100, Mark Brown wrote:
> > Ah, you expect what's currently there to work - good. I noticed that > > the vDSO tests had a -I for the nolibc directory which made me think it > > was expected that it be there, it's the only user on most arches. > The -I is useful to compile applications without guarding the system > includes with #ifndef NOLIBC. These tests are all nolibc specific and so don't reference the system headers, the whole point is to not use a real libc. > What do I have to do to cross-compile these selftests? > I get various compiler errors. Any specific errors? It's just a standard selftest build, eg: make -C tools/testing/selftests LLVM=1 ARCH=arm64 TARGETS=arm64 Unless you've got very current userspace headers you'll probably need a headers_install too (that's generally needed for the selftests).
signature.asc
Description: PGP signature