Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
openSUSE:Leap:15.4:Update
xen.25153
gcc12-fixes.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File gcc12-fixes.patch of Package xen.25153
References: bsc#1196545 Compiling against gcc12. Index: xen-4.16.1-testing/xen/arch/x86/tboot.c =================================================================== --- xen-4.16.1-testing.orig/xen/arch/x86/tboot.c +++ xen-4.16.1-testing/xen/arch/x86/tboot.c @@ -16,6 +16,10 @@ #include <asm/setup.h> #include <crypto/vmac.h> +#if __GNUC__ >= 12 +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif + /* tboot=<physical address of shared page> */ static unsigned long __initdata opt_tboot_pa; integer_param("tboot", opt_tboot_pa); Index: xen-4.16.1-testing/xen/common/efi/boot.c =================================================================== --- xen-4.16.1-testing.orig/xen/common/efi/boot.c +++ xen-4.16.1-testing/xen/common/efi/boot.c @@ -31,6 +31,10 @@ #undef __ASSEMBLY__ #endif +#if __GNUC__ >= 12 +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif + #define EFI_REVISION(major, minor) (((major) << 16) | (minor)) #define SMBIOS3_TABLE_GUID \ Index: xen-4.16.1-testing/xen/common/page_alloc.c =================================================================== --- xen-4.16.1-testing.orig/xen/common/page_alloc.c +++ xen-4.16.1-testing/xen/common/page_alloc.c @@ -155,6 +155,10 @@ #define PGC_reserved 0 #endif +#if __GNUC__ >= 12 +#pragma GCC diagnostic ignored "-Warray-bounds" +#endif + /* * Comma-separated list of hexadecimal page numbers containing bad bytes. * e.g. 'badpage=0x3f45,0x8a321'.
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor