Apologies for ipad mail, I'll not make a habit of using it. Away from desktop 
four weeks atm.

I'm getting compilation-errors on xen-tools-4.6.3-r1 using gcc-5.4.0

Can't find xen mentioned here : 
https://bugs.gentoo.org/buglist.cgi?quicksearch=gcc-5.3&list_id=3005290

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.

---- Build log excerpt: -----
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




Håkon Alstadheim 
mob:+47 47353938 epost:ha...@alstadheim.priv.no

Reply via email to