[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] staging GCC 8.1.0 build warnings
On Tue, 15 May 2018, at 04:20, Jason Andryuk 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))) { > >> ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > A fix is proposed upstream: > https://github.com/PeterHuewe/tpm-emulator/pull/30/commits/910c43273c9f3373f93c2e8b8b0929d89fdcead6 Thank you, I had completely missed that. The qemu-xen patches to fix gcc-8 warnings are in qemu-xen staging, but they are not yet in master. This will need a new tag for the next 4.11rc when they come through? > >> For IPXE, one of these patches: > >> https://build.opensuse.org/package/view_file/openSUSE:Factory/qemu/ipxe-efi-guard-strncpy-with-gcc-warning-ignore-pragma.patch?expand=1 For IPXE I needed the [build] Use -no-pie on newer versions of gcc patch, as well as the guard-strncpy patch. https://github.com/ipxe/ipxe/commit/7c395b0e21806b946fe944a27fc273407f357ea1 Cheers, -- John Thomson _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |