Gentoo Archives: gentoo-user

From: "Håkon Alstadheim" <hakon@×××××××××××××××.no>
To: gentoo-user@l.g.o
Subject: [gentoo-user] gcc5 and xen-tools
Date: Thu, 28 Jul 2016 20:54:21
Message-Id: 58234281-2C8B-4E75-86A7-1F593841F899@alstadheim.priv.no
1 Apologies for ipad mail, I'll not make a habit of using it. Away from desktop four weeks atm.
2
3 I'm getting compilation-errors on xen-tools-4.6.3-r1 using gcc-5.4.0
4
5 Can't find xen mentioned here : https://bugs.gentoo.org/buglist.cgi?quicksearch=gcc-5.3&list_id=3005290
6
7 Adding " append-flags -Wno-error=trampolines " to src_compile in the ebuild for xen-tools-4.6.3 (no -r1) allowed that to compile and is running fine.
8
9 ---- Build log excerpt: -----
10 xenalyze.c: In function 'interval_cr3_schedule_ordered_output': xenalyze.c:2649:9: error: trampoline generated for nested function 'cr3_time_compare' [-Werror=trampolines] int cr3_time_compare(const void *_a, const void *_b) { ^ xenalyze.c: In function 'dump_eip': xenalyze.c:2969:9: error: trampoline generated for nested function 'eip_compare' [-Werror=trampolines] int eip_compare(const void *_a, const void *_b) { ^ xenalyze.c: In function 'cr3_dump_list': xenalyze.c:4141:9: error: trampoline generated for nested function 'cr3_compare_start' [-Werror=trampolines] int cr3_compare_start(const void *_a, const void *_b) { ^ cc1: all warnings being treated as errors /var/tmp/portage/app-emulation/xen-tools-4.6.3-r1/work/xen-4.6.3/tools/xentrace/../../tools/Rules.mk:107: recipe for target 'xenalyze.o' failed make[2]: *** [xenalyze.o] Error 1 make[2]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.6.3-r1/work/xen-4.6.3/tools/xentrace' /var/tmp/portage/app-emulation/xen-tools-4.6.3-r1/work/xen-4.6.3/tools/../tools/Rules.mk:123: recipe for target 'subdir-all-xentrace' failed make[1]: *** [subdir-all-xentrace] Error 2 make[1]: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.6.3-r1/work/xen-4.6.3/tools' /var/tmp/portage/app-emulation/xen-tools-4.6.3-r1/work/xen-4.6.3/tools/../tools/Rules.mk:118: recipe for target 'subdirs-all' failed make: *** [subdirs-all] Error 2 make: Leaving directory '/var/tmp/portage/app-emulation/xen-tools-4.6.3-r1/work/xen-4.6.3/tools' * ERROR: app-emulation/xen-tools-4.6.3-r1::gentoo failed (compile pha
11
12
13
14
15 Håkon Alstadheim
16 mob:+47 47353938 epost:hakon@×××××××××××××××.no