Thank you. I found it before and it's under compiling
But compilation is very slow. Is there any solution
Compile parameters
Code:make -j32
Thank you. I found it before and it's under compiling
But compilation is very slow. Is there any solution
make deb
target the buildsystem should already default to use as many cores as you have available, it cannot be faster than that.L5640 * 2 of 24 threads + 16g ECC memoryIf you compile from the pve-qemu directory with themake deb
target the buildsystem should already default to use as many cores as you have available, it cannot be faster than that.
I need < 1 minute with a i9-9900K (16 threads) here, pretty fast for a complex project IMO; ceph for example needs about an hour (and 20x more memory)..
you shouldn't use more than -j24. (with -j32 you'll have context switch and it'll be slower).L5640 * 2 of 24 threads
Did you finished? As else you could be in a compile loop, i.e., where the buildsystem never finishes and just starts over again..I've spent more than two hours to compiling
Did you finished? As else you could be in a compile loop, i.e., where the buildsystem never finishes and just starts over again..
In file included from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timer.h:4,
from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timed-average.h:29,
from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/block/accounting.h:28,
from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/block/block_int.h:27,
from block/file-posix.c:30:
/usr/include/linux/swab.h: In function ‘__swab’:
/root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/bitops.h:20:34: error: "sizeof" is not defined, evaluates to 0 [-Werror=undef]
#define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE)
^~~~~~
/root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/bitops.h:20:41: error: missing binary operator before token "("
#define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE)
from block/file-posix.c:30: /usr/include/linux/swab.h: In function ‘__swab’: /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/bitops.h:20:34: error: "sizeof" is not defined, evaluates to 0 [-Werror=undef] #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^~~~~~ /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/bitops.h:20:41: error: missing binary operator before token "(" #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE)
apt install linux-libc-dev=4.19.98-1+deb10u1
Wish you success, the relevant RPMs can be found on the apt sources.@Becod how did you get on? I'm getting the following error when trying to compile in a Debian Buster container:
Code:In file included from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timer.h:4, from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/timed-average.h:29, from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/block/accounting.h:28, from /root/pve-qemu/pve-qemu-kvm-5.0.0/include/block/block_int.h:27, from block/file-posix.c:30: /usr/include/linux/swab.h: In function ‘__swab’: /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/bitops.h:20:34: error: "sizeof" is not defined, evaluates to 0 [-Werror=undef] #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE) ^~~~~~ /root/pve-qemu/pve-qemu-kvm-5.0.0/include/qemu/bitops.h:20:41: error: missing binary operator before token "(" #define BITS_PER_LONG (sizeof (unsigned long) * BITS_PER_BYTE)
EDIT: apt install pve-kernel-libc-dev did the trick.