https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109435
--- Comment #1 from Jovan Dmitrović <jovan.dmitrovic at syrmia dot com> --- This is compile command that I used: mipsisa64r6-linux-gnuabi64-gcc -march=mips64r6 -mabi=64 -O0 -o foo foo.c -static I used the MIPS gcc package from Ubuntu's package repository. Also, I used qemu-mips64 to run the executable file.