Bug 1133296 - LTO: xen build fails
Summary: LTO: xen build fails
Status: REOPENED
Alias: None
Product: openSUSE Tumbleweed
Classification: openSUSE
Component: Basesystem (show other bugs)
Version: Current
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Martin Liška
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 1133084
  Show dependency treegraph
 
Reported: 2019-04-24 13:52 UTC by Martin Liška
Modified: 2019-10-27 23:46 UTC (History)
0 users

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Liška 2019-04-24 13:52:29 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.
Comment 1 Charles Arnold 2019-05-16 19:06:39 UTC
Submitted Xen to Factory with SR#702959 which includes the fix to disable
LTO.
Comment 2 Martin Liška 2019-05-17 07:17:53 UTC
Thanks, I'll keep it open and assigned to me.
Comment 4 Swamp Workflow Management 2019-10-18 19:12:05 UTC
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.
Comment 5 Swamp Workflow Management 2019-10-24 04:11:26 UTC
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