[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Y868lIin0bLM9HfM@biznet-home.integral.gnuweeb.org>
Date: Mon, 23 Jan 2023 23:57:56 +0700
From: Ammar Faizi <ammarfaizi2@...weeb.org>
To: Willy Tarreau <w@....eu>
Cc: "Paul E. McKenney" <paulmck@...nel.org>,
linux-kernel@...r.kernel.org, Shuah Khan <shuah@...nel.org>,
linux-kselftest@...r.kernel.org
Subject: Re: [PATCH 0/2] selftests/nolibc: small simplification of test
development phase
On Sat, Jan 21, 2023 at 10:34:55PM +0100, Willy Tarreau wrote:
> On Sat, Jan 21, 2023 at 12:00:38PM -0800, Paul E. McKenney wrote:
> > One dependency is of course qemu-x86_64, so in the meantime I will figure
> > out where I get that from. ;-)
>
> I build it from time to time from the sources, it's not that long and
> normally doesn't reserve me any surprises. But if you have it for other
> platforms it's likely that you have it for most platforms as well,
> including this one.
Willy,
Is there a way to make it work for the default qemu installation?
Or maybe it's a mandatory requirement to build qemu from the source?
I use the qemu that comes from Ubuntu apt. I have "qemu-system-x86_64",
but no "qemu-x86_64". So, something like this...
$ which qemu-x86_64
$ echo $?
1
$ which qemu-system-x86_64
/usr/bin/qemu-system-x86_64
$ time make run-user
MKDIR sysroot/x86/include
make[1]: Entering directory '/home/ammarfaizi2/work/linux.work.cc/tools/include/nolibc'
make[2]: Entering directory '/home/ammarfaizi2/work/linux.work.cc'
make[2]: Leaving directory '/home/ammarfaizi2/work/linux.work.cc'
make[2]: Entering directory '/home/ammarfaizi2/work/linux.work.cc'
INSTALL /home/ammarfaizi2/work/linux.work.cc/tools/testing/selftests/nolibc/sysroot/sysroot/include
make[2]: Leaving directory '/home/ammarfaizi2/work/linux.work.cc'
make[1]: Leaving directory '/home/ammarfaizi2/work/linux.work.cc/tools/include/nolibc'
CC nolibc-test
/bin/sh: 1: qemu-x86_64: not found
0 test(s) passed.
real 0m0.506s
user 0m0.393s
sys 0m0.086s
It would be great if we can avoid building qemu from the source. But if
not, let's go with that.
Thanks!
--
Ammar Faizi
Powered by blists - more mailing lists