Bugzilla – Bug 1133296
LTO: xen build fails
Last modified: 2019-10-27 23:46:31 UTC
With with LTO due to: [ 38s] make[2]: Leaving directory '/home/abuild/rpmbuild/BUILD/xen-4.12.0-testing/extras/mini-os-remote' [ 38s] install -d -m0755 -p "/home/abuild/rpmbuild/BUILD/xen-4.12.0-testing/dist/install/usr/lib/xen/boot" [ 38s] install -m0644 -p mini-os-x86_64-xenstore/mini-os.gz "/home/abuild/rpmbuild/BUILD/xen-4.12.0-testing/dist/install/usr/lib/xen/boot/xenstore-stubdom.gz" [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/afl-harness.7egmYB.ltrans0.ltrans.o: in function `LLVMFuzzerTestOneInput.constprop.0': [ 38s] /usr/include/bits/stdio2.h:107: undefined reference to `emul_puts' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/stdio2.h:107: undefined reference to `emul_puts' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/stdio2.h:107: undefined reference to `emul_puts' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/stdio2.h:107: undefined reference to `emul_puts' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/stdio2.h:107: undefined reference to `emul_puts' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/afl-harness.7egmYB.ltrans0.ltrans.o:/usr/include/bits/stdio2.h:107: more undefined references to `emul_puts' follow [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/afl-harness.7egmYB.ltrans0.ltrans.o: in function `LLVMFuzzerTestOneInput.constprop.0': [ 38s] /usr/include/bits/string_fortified.h:34: undefined reference to `emul_memcpy' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/string_fortified.h:34: undefined reference to `emul_memcpy' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/string_fortified.h:71: undefined reference to `emul_memset' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /usr/include/bits/string_fortified.h:71: undefined reference to `emul_memset' [ 38s] /usr/lib64/gcc/x86_64-suse-linux/9/../../../../x86_64-suse-linux/bin/ld: /tmp/afl-harness.7egmYB.ltrans0.ltrans.o: in function `LLVMFuzzerTestOneInput.constprop.0': [ 38s] /home/abuild/rpmbuild/BUILD/xen-4.12.0-testing/tools/fuzz/x86_instruction_emulator/x86_emulate/x86_emulate.c:7896: undefined reference to `emul_memcmp' [ 38s] collect2: error: ld returned 1 exit status [ 38s] make[6]: *** [Makefile:41: afl-harness] Error 1 Anyway no LTO should be used.
Submitted Xen to Factory with SR#702959 which includes the fix to disable LTO.
Thanks, I'll keep it open and assigned to me.
SUSE-RU-2019:2715-1: An update that solves 6 vulnerabilities and has 6 fixes is now available. Category: recommended (important) Bug References: 1027519,1111331,1120095,1133296,1135799,1137471,1137717,1138294,1138563,1143563,1145240,1145774 CVE References: CVE-2018-12126,CVE-2018-12127,CVE-2018-12130,CVE-2019-11091,CVE-2019-17349,CVE-2019-17350 Sources used: SUSE Linux Enterprise Module for Server Applications 15-SP1 (src): xen-4.12.1_02-3.3.1 SUSE Linux Enterprise Module for Open Buildservice Development Tools 15-SP1 (src): xen-4.12.1_02-3.3.1 SUSE Linux Enterprise Module for Basesystem 15-SP1 (src): xen-4.12.1_02-3.3.1 NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
openSUSE-RU-2019:2371-1: An update that solves 6 vulnerabilities and has 6 fixes is now available. Category: recommended (important) Bug References: 1027519,1111331,1120095,1133296,1135799,1137471,1137717,1138294,1138563,1143563,1145240,1145774 CVE References: CVE-2018-12126,CVE-2018-12127,CVE-2018-12130,CVE-2019-11091,CVE-2019-17349,CVE-2019-17350 Sources used: openSUSE Leap 15.1 (src): xen-4.12.1_02-lp151.2.3.1