Subject: [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)

From: [email-masked]
Date: Mon, 15 Aug 2022 23:15:35 +0000

https://bugzilla.kernel.org/show_bug.cgi?id=216367

            Bug ID: 216367
           Summary: Kernel 6.0-rc1 fails to build with
                    GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)
           Product: Platform Specific/Hardware
           Version: 2.5
    Kernel Version: 6.0-rc1
          Hardware: PPC-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: PPC-64
          Assignee: [email-masked]
          Reporter: [email-masked]
        Regression: No

Created attachment 301575
  --> https://bugzilla.kernel.org/attachment.cgi?id=301575&action=edit
kernel .config (kernel 6.0-rc1, PowerMac G5 11,2)

[...]
  LDS     arch/powerpc/kernel/vmlinux.lds
  AS      arch/powerpc/kernel/fpu.o
  AS      arch/powerpc/kernel/vector.o
  AS      arch/powerpc/kernel/entry_64.o
  CC      arch/powerpc/kernel/prom_init.o
In file included from ./include/linux/nodemask.h:97,
                 from ./include/linux/mmzone.h:17,
                 from ./include/linux/gfp.h:7,
                 from ./include/linux/xarray.h:15,
                 from ./include/linux/radix-tree.h:21,
                 from ./include/linux/idr.h:15,
                 from ./include/linux/kernfs.h:12,
                 from ./include/linux/sysfs.h:16,
                 from ./include/linux/kobject.h:20,
                 from ./include/linux/pci.h:35,
                 from arch/powerpc/kernel/prom_init.c:24:
./include/linux/random.h: In function 'add_latent_entropy':
./include/linux/random.h:25:46: error: 'latent_entropy' undeclared (first use
in this function); did you mean 'add_latent_entropy'?
   25 |         add_device_randomness((const void *)&latent_entropy,
sizeof(latent_entropy));
      |                                              ^~~~~~~~~~~~~~
      |                                              add_latent_entropy
./include/linux/random.h:25:46: note: each undeclared identifier is reported
only once for each function it appears in
make[2]: *** [scripts/Makefile.build:249: arch/powerpc/kernel/prom_init.o]
Fehler 1
make[1]: *** [scripts/Makefile.build:465: arch/powerpc/kernel] Fehler 2
make: *** [Makefile:1855: arch/powerpc] Error 2

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.