Re: [PATCH] Fix J-core aic warning spam
"D. Jeff Dionne" <[email protected]>
| Newsgroups | gmane.linux.ports.sh.devel |
|---|---|
| Message-ID | <[email protected]> |
On Apr 19, 2023, at 20:53, Geert Uytterhoeven <[email protected]> wrote: > On Wed, Apr 19, 2023 at 12:25 PM John Paul Adrian Glaubitz > <[email protected]> wrote: >> I just wanted to perform a test build of the J2 kernel, but I'm getting lots of error messages >> from the assembler about unknown opcodes when trying to build j2_defconfig. > > Looks like upstream gcc does not support -mj2, and thus the build fails > with "unknown opcode" due to the use of "cas.l". > Disabling CONFIG_SMP in j2_defconfig fixes/works around that. Rich was mainlining the GCC patches out of tree. Most of that can be found here: https://github.com/richfelker/musl-cross-make/blob/master/patches/gcc-9.4.0/0007-j2.diff We need to look a bit more at the code generator before we upstream the J-Core patches, since the CPU roadmap does extend SHcompact. Cheers, J. > > Just checked with Arnd on IRC, who says opcodes/sh-opc.h was last updated > in a meaningful way back in 2005... > > Gr{oetje,eeting}s, > > Geert > > -- > Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] > > In personal conversations with technical people, I call myself a hacker. But > when I'm talking to journalists I just say "programmer" or something like that. > -- Linus Torvalds