[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231006111228.GD36277@noisy.programming.kicks-ass.net>
Date: Fri, 6 Oct 2023 13:12:28 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Muhammad Usama Anjum <usama.anjum@...labora.com>
Cc: Ingo Molnar <mingo@...nel.org>, linux-kernel@...r.kernel.org,
linux-tip-commits@...r.kernel.org, x86@...nel.org
Subject: Re: [tip: locking/core] locking/futex/selftests: Remove duplicate
ABI defines
On Fri, Oct 06, 2023 at 04:05:31PM +0500, Muhammad Usama Anjum wrote:
> cd /linux_mainline/tools/testing/selftests/../../..
That's very odd way of writing:
cd /linux_mainline/
> make headers
This does a build without O=, I can't do that.
As in, one must not mix O= and non O= builds, and since I have a ton of
O= output dirs on, I simply can't do this.
> make: *** [../../lib.mk:81: kernel_header_files] Error 1
> ➜ functional (06bc8fe4bfc4b) ✗ (cd $mainline && make headers) > /dev/null
> ➜ functional (06bc8fe4bfc4b) ✗ make
> gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../
> futex_wait_timeout.c -lpthread -lrt -o
> /linux_mainline/tools/testing/selftests/futex/functional/futex_wait_timeout
root@...sy:/usr/src/linux-2.6# cd tools/testing/selftests/futex/functional/
root@...sy:/usr/src/linux-2.6/tools/testing/selftests/futex/functional# make
gcc -g -O2 -Wall -D_GNU_SOURCE -pthread -I../include -I../../ futex_wait_timeout.c -lpthread -lrt -o /mnt/hirez/usr/src/linux-2.6/tools/testing/selftests/futex/functional/futex_wait_timeout
In file included from futex_wait_timeout.c:20:
../include/futex2test.h:18:47: warning: ‘struct futex_waitv’ declared inside parameter list will not be visible outside of this definition or declaration
18 | static inline int futex_waitv(volatile struct futex_waitv *waiters, unsigned long nr_waiters,
Because noisy runs a really old userspace (buster)..
Powered by blists - more mailing lists