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

Re: [Xen-devel] staging GCC 8.1.0 build warnings



On Mon, May 14, 2018 at 1:03 PM, Wei Liu <wei.liu2@xxxxxxxxxx> wrote:
> On Thu, May 10, 2018 at 09:38:26AM +1000, John Thomson wrote:
>>
>> /build/xen-git/src/xen/stubdom/tpm_emulator-x86_64/tpm/tpm_deprecated.c:437:7:
>>  error: 'memcmp' reading 20 bytes from a region of size 8 
>> [-Werror=stringop-overflow=]
>>    if (memcmp(&b1, &newAuthLink, sizeof(TPM_HMAC))) {
>>        ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
>>
>> Not sure how to approach this, I disabled the vtpm stubdoms in my builds for 
>> now.
>>
>
> If you don't use it, disabling it is the best option.

A fix is proposed upstream:
https://github.com/PeterHuewe/tpm-emulator/pull/30/commits/910c43273c9f3373f93c2e8b8b0929d89fdcead6

Regards,
Jason

_______________________________________________
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®.