[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] xen/x86: unable to build with gcc5



>>> On 13.03.15 at 13:00, <ian.campbell@xxxxxxxxxx> wrote:
> Error: size of boot.o:.text is 0x026c
> /build/gcc5/xen.git/xen/Rules.mk:180: recipe for target 'boot.init.o' failed
> 
> $ objdump -t ./xen/arch/x86/efi/boot.o | grep -P '[^t]\.text[^\.]'
> 0000000000000000 l    d  .text        0000000000000000 .text
> 0000000000000000 l     F .text        00000000000000e9 pre_parse.constprop.9
> 00000000000000f0 l     F .text        0000000000000123 get_value.constprop.10
> 0000000000000220 l     F .text        000000000000004c 
> set_color.part.4.constprop.11
> 
> pre_parse, get_value and set_color are all annotated with __init, but I
> guess this is something else. Any idea what to do? Possibly a gcc bug?
> 
> Building with -k -s I also see:
> 
> Error: size of unxz.o:.text is 0x06b
> ->
> 0000000000000000 l    d  .text        0000000000000000 .text
> 0000000000000000 l     F .text        000000000000006b dec_vli.isra.1
> 
> Error: size of dmi_scan.o:.text is 0x018f
> ->
>  grep -P '[^t]\.text\b'
> 0000000000000000 l    d  .text        0000000000000000 .text
> 0000000000000000 l     F .text        000000000000018f 
> _dmi_iterate.constprop.6

The same with these other two cases too - they're properly
annotated. I.e. the compiler forgets to propagate the section
attribute when generating variants of the functions (e.g. after
having detected that it always gets called with some argument
set to some specific value). Do you want to report this as a bug
(assuming there isn't one already; I for one can't find any) from
the Debian side, or should I open one?

Jan


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
http://lists.xen.org/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.