* [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)
@ 2022-08-15 23:15 bugzilla-daemon
2022-08-16 5:18 ` [Bug 216367] " bugzilla-daemon
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-08-15 23:15 UTC (permalink / raw)
To: linuxppc-dev
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: platform_ppc-64@kernel-bugs.osdl.org
Reporter: erhard_f@mailbox.org
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.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 216367] Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)
2022-08-15 23:15 [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2) bugzilla-daemon
@ 2022-08-16 5:18 ` bugzilla-daemon
2022-08-16 10:14 ` bugzilla-daemon
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-08-16 5:18 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=216367
Andrew Donnellan (ajd@linux.ibm.com) changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |ajd@linux.ibm.com
--- Comment #1 from Andrew Donnellan (ajd@linux.ibm.com) ---
I've sent a patch:
https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220816051720.44108-1-ajd@linux.ibm.com/
Please let me know if it works for you.
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 216367] Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)
2022-08-15 23:15 [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2) bugzilla-daemon
2022-08-16 5:18 ` [Bug 216367] " bugzilla-daemon
@ 2022-08-16 10:14 ` bugzilla-daemon
2022-08-17 0:47 ` bugzilla-daemon
2022-08-23 10:40 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-08-16 10:14 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=216367
--- Comment #2 from Erhard F. (erhard_f@mailbox.org) ---
(In reply to Andrew Donnellan from comment #1)
> I've sent a patch:
> https://patchwork.ozlabs.org/project/linuxppc-dev/patch/20220816051720.44108-
> 1-ajd@linux.ibm.com/
>
> Please let me know if it works for you.
Applied it on top of v6.0-rc1 and it works fine. Many thanks!
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 216367] Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)
2022-08-15 23:15 [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2) bugzilla-daemon
2022-08-16 5:18 ` [Bug 216367] " bugzilla-daemon
2022-08-16 10:14 ` bugzilla-daemon
@ 2022-08-17 0:47 ` bugzilla-daemon
2022-08-23 10:40 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-08-17 0:47 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=216367
--- Comment #3 from Andrew Donnellan (ajd@linux.ibm.com) ---
Patch has been taken via Kees Cook's hardening tree:
https://git.kernel.org/pub/scm/linux/kernel/git/kees/linux.git/commit/?h=for-next/hardening&id=012e8d2034f1bda8863435cd589636e618d6a659
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug 216367] Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2)
2022-08-15 23:15 [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2) bugzilla-daemon
` (2 preceding siblings ...)
2022-08-17 0:47 ` bugzilla-daemon
@ 2022-08-23 10:40 ` bugzilla-daemon
3 siblings, 0 replies; 5+ messages in thread
From: bugzilla-daemon @ 2022-08-23 10:40 UTC (permalink / raw)
To: linuxppc-dev
https://bugzilla.kernel.org/show_bug.cgi?id=216367
Erhard F. (erhard_f@mailbox.org) changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |CODE_FIX
--- Comment #4 from Erhard F. (erhard_f@mailbox.org) ---
Meanwhile the fix found it's way in v6.0-rc2. Everything ok now, thanks!
--
You may reply to this email to add a comment.
You are receiving this mail because:
You are watching the assignee of the bug.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-08-23 10:41 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-15 23:15 [Bug 216367] New: Kernel 6.0-rc1 fails to build with GCC_PLUGIN_LATENT_ENTROPY=y (PowerMac G5 11,2) bugzilla-daemon
2022-08-16 5:18 ` [Bug 216367] " bugzilla-daemon
2022-08-16 10:14 ` bugzilla-daemon
2022-08-17 0:47 ` bugzilla-daemon
2022-08-23 10:40 ` bugzilla-daemon
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.