https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105010
Bug ID: 105010 Summary: GCC 12 after 20220227 fails on powerpc64-freebsd with Error: invalid mfcr mask Product: gcc Version: 12.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: pkubaj at anongoth dot pl Target Milestone: --- On FreeBSD 13.1 on powerpc64, 12-20220227 is the last snapshot that builds correctly. 12-20220306 fail with: /wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/xgcc -B/wrkdirs/usr/ports/lang/gcc12-devel/work/.build/./gcc/ -B/usr/local/powerpc64-portbld-freebsd13.1/bin/ -B/usr/local/powerpc64-portbld-freebsd13.1/lib/ -isystem /usr/local/powerpc64-portbld-freebsd13.1/include -isystem /usr/local/powerpc64-portbld-freebsd13.1/sys-include -fno-checking -g -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -m32 -fPIC -mstrict-align -msecure-plt -O2 -g -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DIN_GCC -fPIC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -fPIC -pthread -mno-minimal-toc -g -DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector -fPIC -pthread -mno-minimal-toc -I. -I. -I../../.././gcc -I/wrkdirs/usr/ports/lang/gcc12-devel/work/gcc-12-20220320/libgcc -I/wrkdirs/usr/ports/lang/gcc12-devel/work/gcc-12-20220320/libgcc/. -I/wrkdirs/usr/ports/lang/gcc12-devel/work/gcc-12-20220320/libgcc/../gcc -I/wrkdirs/usr/ports/lang/gcc12-devel/work/gcc-12-20220320/libgcc/../include -DHAVE_CC_TLS -o _mulsc3.o -MT _mulsc3.o -MD -MP -MF _mulsc3.dep -DL_mulsc3 -c /wrkdirs/usr/ports/lang/gcc12-devel/work/gcc-12-20220320/libgcc/libgcc2.c -fvisibility=hidden -DHIDE_EXPORTS {standard input}: Assembler messages: {standard input}:140: Error: invalid mfcr mask {standard input}:147: Error: unrecognized opcode: `fcfid' {standard input}:166: Error: invalid mfcr mask {standard input}:175: Error: unrecognized opcode: `fcfid' {standard input}:326: Error: invalid mfcr mask {standard input}:337: Error: unrecognized opcode: `fcfid' {standard input}:356: Error: invalid mfcr mask {standard input}:365: Error: unrecognized opcode: `fcfid'