Created attachment 300528 [details] kernel .config (5.16.12, PowerMac G4 DP) 5.16.12 kernel build for my G4 DP on my Talos II fails with: [...] CC arch/powerpc/mm/init_32.o CC arch/powerpc/mm/pgtable_32.o CC arch/powerpc/mm/pgtable-frag.o CC arch/powerpc/mm/ioremap.o CC arch/powerpc/mm/ioremap_32.o CC arch/powerpc/mm/init-common.o CC arch/powerpc/mm/mmu_context.o {standard input}: Assembler messages: {standard input}:30: Error: unrecognized opcode: `dssall' make[2]: *** [scripts/Makefile.build:287: arch/powerpc/mm/mmu_context.o] Fehler 1 make[1]: *** [scripts/Makefile.build:549: arch/powerpc/mm] Fehler 2 make: *** [Makefile:1846: arch/powerpc] Error 2 This seems to have been introduced by commit d51f86cfd8e378d4907958db77da3074f6dce3ba "powerpc/mm: Switch obsolete dssall to .long" Reverting this commit fixes the build for my G4.
This description is puzzling. Commit d51f86cfd8e3 ("powerpc/mm: Switch obsolete dssall to .long") is not in v5.16.12 For me, applying that commit to v5.16.12 should fix your problem, not the reverse.
This was Gentoo Sources v5.16.12 not upstream sources. But now I am not able to reproduce it which is even more strange... Also Gentoos' v5.16.13 builds ok. What I did in the meantime was downgrading to binutils 2.37 (had 2.38 before) and rebuilding the toolchain afterwards. So this probably was never a bug but an issue with my setup. ;) Closing here.