https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/ Issue: app-emulation/xen-tools fails to compile. Discovered on: amd64 (internal ref: tinderbox) NOTE: This machine uses a clang/LLVM toolchain. If you think that this issue is strictly related to clang/LLVM please block bug 408963. If you think that this issue isstrictly related to the LLD linker, please block bug 731004.
Created attachment 651160 [details] build.log build log and emerge --info
/xen-4.13.1/tools/xcutils/../../tools/libxc/libxenguest.so make[3]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/xcutils' make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools' make[2]: Entering directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools' make -C firmware all make[3]: Entering directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware' make CC=x86_64-pc-linux-gnu-clang PYTHON=python3.7 subdirs-all make[4]: Entering directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware' make[5]: Entering directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware' make -C seabios-dir CC=x86_64-pc-linux-gnu-clang LD=ld.lld PYTHON=python3.7 EXTRAVERSION="-Xen" all; make[6]: Entering directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware/seabios-dir-remote' The version of LD on this system (ld.lld) does not properly handle alignments. As a result, this project can not be built. The problem may be the result of this LD bug report: http://sourceware.org/bugzilla/show_bug.cgi?id=12726 Please update to a working version of binutils and retry. Makefile:111: *** "Please upgrade the build environment". Stop. make[6]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware/seabios-dir-remote' make[5]: *** [Makefile:129: subdir-all-seabios-dir] Error 2 make[5]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware' make[4]: *** [/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware/../../tools/Rules.mk:232: subdirs-all] Error 2 make[4]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware' make[3]: *** [Makefile:36: all] Error 2 make[3]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/firmware' make[2]: *** [/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/../tools/Rules.mk:237: subdir-all-firmware] Error 2 make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools' make[1]: *** [/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools/../tools/Rules.mk:232: subdirs-all] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1/tools' make: *** [Makefile:63: build-tools] Error 2 * ERROR: app-emulation/xen-tools-4.13.1-r2::gentoo failed (compile phase): * emake failed * * If you need support, post the output of `emerge --info '=app-emulation/xen-tools-4.13.1-r2::gentoo'`, * the complete build log and the output of `emerge -pqv '=app-emulation/xen-tools-4.13.1-r2::gentoo'`. * The complete build log is located at '/var/log/emerge-log/build/app-emulation/xen-tools-4.13.1-r2:20200725-220839.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/temp/environment'. * Working directory: '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1' * S: '/var/tmp/portage/app-emulation/xen-tools-4.13.1-r2/work/xen-4.13.1'