# \[Bug 215217\] Kernel fails to boot at an early stage when built with GCC\_PLUGIN\_LATENT\_ENTROPY=y (PowerMac G4 3,6)

- From: \<hidden\>
- Date: 2021-12-18 02:20:12 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2021/12/9525586
- Thread: https://ratatoskr.run/linuxppc-dev/2021/12/9525432/t.md

```text
https://bugzilla.kernel.org/show_bug.cgi?id=215217

--- Comment #14 from Erhard F. (erhard_f@mailbox.org) ---
(In reply to Christophe Leroy from comment #13)
> arch/powerpc/lib/feature-fixups.o also need DISABLE_LATENT_ENTROPY_PLUGIN,
> see extract from you vmlinux below
I can confirm this works, thanks!

I need

arch/powerpc/kernel/Makefile: 
CFLAGS_early_32.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)
arch/powerpc/lib/Makefile:
CFLAGS_feature-fixups.o += $(DISABLE_LATENT_ENTROPY_PLUGIN)

to make it going on my G4 with GCC_PLUGIN_LATENT_ENTROPY=y. Modifying
setup_32.o is not needed.

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

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