Thread (3 messages) 3 messages, 2 authors, 2021-08-24

Re: Notable build failures in next-20210823

From: Stephen Rothwell <hidden>
Date: 2021-08-23 23:36:48
Also in: dri-devel

Hi allr,

On Mon, 23 Aug 2021 08:47:38 -0700 Guenter Roeck [off-list ref] 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

Attachments

  • (unnamed) [application/pgp-signature] 488 bytes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help