Notable build failures in next-20210823

Stephen Rothwell sfr at canb.auug.org.au
Mon Aug 23 23:36:42 UTC 2021


Hi allr,

On Mon, 23 Aug 2021 08:47:38 -0700 Guenter Roeck <linux at roeck-us.net> wrote:
>
> Seen in next-20210823:
> 
> Building x86_64:allyesconfig ... failed
> 
> drivers/gpu/drm/i915/i915_module.c:50:11: error:
> 	positional initialization of field in 'struct' declared with 'designated_init' attribute
> 
> This only happens with CONFIG_GCC_PLUGIN_RANDSTRUCT=y.

Caused by commit

  a04ea6ae7c67 ("drm/i915: Use a table for i915_init/exit (v2)")

and then moved to this file by

  708b7df3480a ("drm/i915: Extract i915_module.c")

from the drm tree.

CONFIG_GCC_PLUGIN_RANDSTRUCT help says

	  If you say Y here, the layouts of structures that are entirely
          function pointers (and have not been manually annotated with
          __no_randomize_layout), or structures that have been explicitly
          marked with __randomize_layout, will be randomized at compile-time.

-- 
Cheers,
Stephen Rothwell
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/dri-devel/attachments/20210824/7a174fa1/attachment.sig>


More information about the dri-devel mailing list