Re: [PATCH] Fix J-core aic warning spam

Geert Uytterhoeven <[email protected]>
Newsgroups gmane.linux.ports.sh.devel
Message-ID <CAMuHMdVoH+V4hL_D=4YuoBFq3MYm==X1if3mXyAZdWy5un+Ufw@mail.gmail.com>
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.

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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.