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

Re: [Xen-devel] [PATCH] VMX: fix vmx_{find,del}_msr() build



>>> On 16.07.18 at 18:56, <andrew.cooper3@xxxxxxxxxx> wrote:
> On 16/07/18 17:46, Jan Beulich wrote:
>> For a reason that I can't explain, it is only the shim build that fails
>> for me with an older gcc due to the compiler not recognizing that
>> apparently uninitialized variables aren't really uninitialized.
> 
> The only thing that comes to mind is some differences in CFLAGS et al. 
> There is nothing in kconfig which would plausibly impact that code.

Oh, right - looks like the shim build inherits the tool stack's CFLAGS,
which specify -O0 in debug builds. Otoh I'm surprised the hypervisor
builds at all with -O0, so I guess I'll have to look at that in some
more detail, not the least because xen/Rules.mk uses += to insert
its own -O<n>. In any event, comparing the two object files clearly
suggests a difference in optimization level.

Jan



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

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