Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 685458 - app-emulation/xen-4.12.0 fails to emerge with gcc-9.1
Summary: app-emulation/xen-4.12.0 fails to emerge with gcc-9.1
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Xen Devs
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2019-05-09 14:18 UTC by spargeltarzan
Modified: 2019-05-17 08:48 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description spargeltarzan 2019-05-09 14:18:28 UTC
Hi,

xen 4.12 fails to emerge with gcc 9.1.

make[5]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen/arch/x86/mm/hap'
x86_64-pc-linux-gnu-ld  -r -o built_in.o altp2m.o guest_walk_2.o guest_walk_3.o guest_walk_4.o mem_access.o mem_paging.o mem_sharing.o p2m.o p2m-pt.o p2m-ept.o p2m-pod.o paging.o shadow/built_in.o hap/built_in.o
make[4]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen/arch/x86/mm'
x86_64-pc-linux-gnu-ld  -r -o built_in.o apic.o bitops.o cpuid.o compat.o x86_64/compat.o crash.o debug.o delay.o domctl.o domain.o domain_page.o e820.o emul-i8254.o extable.o flushtlb.o hypercall.o i387.o i8259.o io_apic.o alternative.o livepatch.o msi.o msr.o indirect-thunk.o ioport_emulate.o irq.o machine_kexec.o microcode_amd.o microcode_intel.o microcode.o mm.o x86_64/mm.o monitor.o mpparse.o nmi.o numa.o pci.o percpu.o physdev.o x86_64/physdev.o platform_hypercall.o x86_64/platform_hypercall.o psr.o setup.o shutdown.o smp.o smpboot.o spec_ctrl.o srat.o string.o sysctl.o time.o trace.o traps.o usercopy.o x86_emulate.o tboot.o hpet.o vm_event.o xstate.o acpi/built_in.o cpu/built_in.o genapic/built_in.o hvm/built_in.o mm/built_in.o oprofile/built_in.o pv/built_in.o x86_64/built_in.o bzimage.init.o clear_page.o copy_page.o dmi_scan.init.o dom0_build.init.o
make[3]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen/arch/x86'
make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen/arch/x86'
make[1]: *** [Makefile:149: /var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen/xen] Error 2
make[1]: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen'
make: *** [Makefile:45: build] Error 2
make: Leaving directory '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0/xen'
 * ERROR: app-emulation/xen-4.12.0::gentoo failed (compile phase):
 *   emake failed
 * 
 * If you need support, post the output of `emerge --info '=app-emulation/xen-4.12.0::gentoo'`,
 * the complete build log and the output of `emerge -pqv '=app-emulation/xen-4.12.0::gentoo'`.
 * The complete build log is located at '/var/log/portage/app-emulation:xen-4.12.0:20190509-141141.log'.
 * For convenience, a symlink to the build log is located at '/var/tmp/portage/app-emulation/xen-4.12.0/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/app-emulation/xen-4.12.0/temp/environment'.
 * Working directory: '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0'
 * S: '/var/tmp/portage/app-emulation/xen-4.12.0/work/xen-4.12.0'
Comment 1 Jonas Stein gentoo-dev 2019-05-09 17:35:01 UTC
Thank you for the report. Please recompile and 
*attach* the logfiles and 
paste the emerge info as described on
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
The logs must be part of the ticket, but not on external websites.
We need to have all information at hand before ticket assignment, so that the maintainer can look after it in one session with minimal number of callbacks.
Please reopen this ticket (Status:unconfirmed) afterwards.
Comment 2 Tomáš Mózes 2019-05-09 19:36:46 UTC
Some gcc9 related fixes are in the staging branches, but seems incomplete:
https://xenbits.xen.org/gitweb/?p=xen.git;a=commit;h=eb905217d1ff51d6d2b3dbe8cdf618ef40ab2d77
Comment 3 Tomáš Mózes 2019-05-14 18:51:58 UTC
Seems like this patch allows to build it:
https://src.fedoraproject.org/rpms/xen/blob/master/f/xen.gcc9.fixes.patch
Comment 4 Larry the Git Cow gentoo-dev 2019-05-17 08:48:44 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a97f3c1ad407c786faefa4b10000efd78711247

commit 7a97f3c1ad407c786faefa4b10000efd78711247
Author:     Tomas Mozes <hydrapolic@gmail.com>
AuthorDate: 2019-05-15 20:07:12 +0000
Commit:     Yixun Lan <dlan@gentoo.org>
CommitDate: 2019-05-17 08:48:39 +0000

    app-emulation/xen: add upstream patches
    
    Bug: https://bugs.gentoo.org/686024
    Closes: https://bugs.gentoo.org/685458
    Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
    Signed-off-by: Yixun Lan <dlan@gentoo.org>

 app-emulation/xen/Manifest                                    | 1 +
 app-emulation/xen/{xen-4.12.0.ebuild => xen-4.12.0-r1.ebuild} | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)