public inbox for linuxppc-dev@ozlabs.org
 help / color / mirror / Atom feed
* Failure to build with LLVM for the Wii
@ 2026-01-29 10:55 Link Mauve
  2026-01-29 11:11 ` Christophe Leroy (CS GROUP)
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Link Mauve @ 2026-01-29 10:55 UTC (permalink / raw)
  To: linuxppc-dev

Hi,

I’m trying to build the kernel for the Nintendo Wii, using LLVM instead
of gcc, in order to bring Rust support to this architecture (and also
because my distribution doesn’t ship a cross-compiling gcc), but I get
this build issue near the end:
```
% make O=wii LLVM=1 ARCH=powerpc -j1
make[1]: Entering directory '/home/linkmauve/dev/linux/wii'
  GEN     Makefile
  CALL    ../scripts/checksyscalls.sh
  DESCEND objtool
  INSTALL libsubcmd_headers
  WRAP    arch/powerpc/boot/dtbImage.wii
objcopy: Unable to recognise the format of the input file `vmlinux'
make[3]: *** [../arch/powerpc/boot/Makefile:394: arch/powerpc/boot/dtbImage.wii] Error 1
make[2]: *** [../arch/powerpc/Makefile:236: zImage] Error 2
make[1]: *** [/home/linkmauve/dev/linux/Makefile:248: __sub-make] Error 2
make[1]: Leaving directory '/home/linkmauve/dev/linux/wii'
make: *** [Makefile:248: __sub-make] Error 2
```

I believe it should use $(OBJCOPY) instead of objcopy, which is set to
llvm-objcopy, but couldn’t figure out where it is misconfigured.

Thanks for your help!

-- 
Link Mauve


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-02-25 21:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-01-29 10:55 Failure to build with LLVM for the Wii Link Mauve
2026-01-29 11:11 ` Christophe Leroy (CS GROUP)
2026-01-29 22:31 ` Nathan Chancellor
2026-02-24 23:30   ` Aelin
2026-02-25 21:35     ` Nathan Chancellor
2026-01-30 15:53 ` Segher Boessenkool

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox