FS#66613 - [linux] [distcc] cannot build
Attached to Project:
Arch Linux
Opened by John (graysky) - Monday, 11 May 2020, 15:01 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 12:37 GMT
Opened by John (graysky) - Monday, 11 May 2020, 15:01 GMT
Last edited by Andreas Radke (AndyRTR) - Tuesday, 04 May 2021, 12:37 GMT
|
Details
When I try building the linux package with [testing] enabled
(using gcc-10.1.0-1 et al currently) using distcc, the build
ends in an error. Complete log attached. Building without
distcc ends in a successful build.
Note one must modify the PKGBUILD substituting `make all` with `make all CC=distcc CXX=distcc` or makepkg does not use distcc. As an aside, building with this modified line works as expected for previous kernel versions with gcc-9.3.0-x. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Tuesday, 04 May 2021, 12:37 GMT
Reason for closing: None
Additional comments about closing: see last comment
Tuesday, 04 May 2021, 12:37 GMT
Reason for closing: None
Additional comments about closing: see last comment
% zgrep ERROR compile_by_hand.log.gz
distcc[2378678] ERROR: compile arch/x86/kvm/../../../virt/kvm/kvm_main.c on 10.9.8.112/9 failed
distcc[2381762] ERROR: compile (null) on localhost failed
distcc[2378678] ERROR: compile arch/x86/kvm/../../../virt/kvm/kvm_main.c on localhost failed
distcc[2433709] ERROR: compile kernel/configs.c on 10.9.8.112/9 failed
https://lore.kernel.org/kvm/20200218184756.242904-1-oupton%40google.com/
https://bugzilla.kernel.org/show_bug.cgi?id=207173
sed -i -e 's/CONFIG_KVM_WERROR=y/# CONFIG_KVM_WERROR is not set/' ./.config
Perhaps @heftig wants to modify the config? Not sure what the "best" fix for the problem is honestly.
https://lore.kernel.org/lkml/20200508090202.7s3kcqpvpxx32syu%40butterfly.localdomain/T/#md49de21694c43ed195175284b2481fde96890552
>imply CC_DISABLE_WARN_MAYBE_UNINITIALIZED # avoid false positives
sed -i '/HAVE_GCC_PLUGINS/d' arch/x86/Kconfig