[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <198bf1a8-98d0-4693-a4cf-234cad728c9b@t-8ch.de>
Date: Wed, 21 May 2025 15:45:42 +0200
From: Thomas Weißschuh <linux@...ssschuh.net>
To: Mark Brown <broonie@...nel.org>
Cc: Willy Tarreau <w@....eu>, Shuah Khan <shuah@...nel.org>,
linux-kernel@...r.kernel.org, linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 1/9] tools/nolibc: move ioctl() to sys/ioctl.h
On 2025-05-21 14:22:30+0100, Mark Brown wrote:
> On Wed, May 21, 2025 at 03:08:05PM +0200, Thomas Weißschuh wrote:
> > On 2025-05-21 14:03:37+0100, Mark Brown wrote:
>
> > > > +/* make sure to include all global symbols */
> > > > +#include "nolibc.h"
>
> > > assumes that the nolibc include directory is in the include path, or
> > > otherwise set up with a -I path, previously you just had to include
> > > nolibc.h with the includes that are there working due to being relative
> > > to nolibc.h. I'll send a patch for the arm64 tests.
>
> > Thanks for the report.
> > Inside sys/ this should actually be #include "../nolibc.h".
> > I'll doublecheck all of sys/ and see why our new header checks didn't
> > catch this.
>
> 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.
What do I have to do to cross-compile these selftests?
I get various compiler errors.
Or you could run your testsuite with the new nolibc for-next branch
which should be fixed now.
<snip>
Thomas
Powered by blists - more mailing lists