[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [Bug 1813010] Re: Parallel builds fail (make -j >=2)
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [Bug 1813010] Re: Parallel builds fail (make -j >=2) |
Date: |
Wed, 23 Jan 2019 13:32:27 -0000 |
It seems the --save-temps is what breaks things for me, the following
works:
../qemu.git/configure --target-list=riscv64-softmmu --enable-debug
--extra-cflags="-O0 -g3" && make -j9
rm -rf and start again with:
../qemu.git/configure --target-list=riscv64-softmmu --enable-debug
--extra-cflags="-O0 -g3 --save-temps"
falls over with lines like:
block/trace.h: In function ‘_nocheck__trace_nbd_co_request_fail’:
block/trace.h:3141:73: error: ‘_TRACE_NBD_CO_REQUEST_FAIL_DSTATE’ undeclared
(first use in this function); did you mean
‘TRACE_NBD_CO_REQUEST_FAIL_BACKEND_DSTATE’?
if (trace_event_get_state(TRACE_NBD_CO_REQUEST_FAIL) &&
qemu_loglevel_mask(LOG_TRACE)) {
^~~~~~~~~~~~~~~~~~~~
TRACE_NBD_CO_REQUEST_FAIL_BACKEND_DSTATE
which implies something getting in the way of making the trace files.
** Summary changed:
- Parallel builds fail (make -j >=2)
+ Parallel builds fail (make -j >=2) when using --extrac-cflags "--save-temps"
** Summary changed:
- Parallel builds fail (make -j >=2) when using --extrac-cflags "--save-temps"
+ Parallel builds fail (make -j >=2) when using --extra-cflags "--save-temps"
--
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1813010
Title:
Parallel builds fail (make -j >=2) when using --extra-cflags "--save-
temps"
Status in QEMU:
Confirmed
Bug description:
specs:
QEMU commit: 9f33051abce238ab43a23125e237aac8b0931b88
# of Cores: 8
Host kernel: Linux 4.19.16-1-lts
Host type: x86_64 GNU/Linux
Host distro: Archlinux
Guest: we never get that far
steps:
# fresh copy of the latest commit
> git clone https://git.qemu.org/git/qemu.git
# separate build dir
> mkdir build
> cd build
# sample configuration for riscv (this happens for other targets as well)
> ../qemu/configure --target-list=riscv64-softmmu --enable-debug
--extra-cflags='-O0 -g3 -save-temps' --prefix=/install/riscv-qemu
# this will fail (see attached log file)
> make -j 2
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1813010/+subscriptions