https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101946
Bug ID: 101946
Summary: crosscompilation of the kernel for MIPS fails
Product: gcc
Version: 11.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: target
Assignee: unassigned at gcc dot gnu.org
Reporter: sudipm.mukherjee at gmail dot com
Target Milestone: ---
With "gcc version 11.2.1 20210816 (GCC)" the kernel build for mips
decstation_r4k_defconfig fails with the error:
arch/mips/dec/prom/locore.S: Assembler messages:
arch/mips/dec/prom/locore.S:29: Error: opcode not supported on this processor:
r4600 (mips3) `rfe'
The last gcc version I tried was "gcc version 11.1.1 20210723 (GCC)" and that
has worked with this particular config.
Output from "mips-linux-gcc -v":
Using built-in specs.
COLLECT_GCC=/home/sudip/local/gcc-10/mips-linux/bin/mips-linux-gcc
COLLECT_LTO_WRAPPER=/home/sudip/local/gcc-10/mips-linux/bin/../libexec/gcc/mips-linux/11.2.1/lto-wrapper
Target: mips-linux
Configured with: /src/gcc/configure --target=mips-linux --enable-targets=all
--prefix=/src/local --enable-languages=c --without-headers
--disable-sjlj-exceptions --with-system-libunwind --disable-nls
--disable-threads --disable-shared --disable-libmudflap --disable-libssp
--disable-libgomp --disable-decimal-float --disable-libquadmath
--enable-checking=release --disable-libatomic --disable-multilib --with-newlib
Thread model: single
Supported LTO compression algorithms: zlib
gcc version 11.2.1 20210816 (GCC)