emulators/pearpc: Lock to GCC 8
It does not build with GCC 9:
ppc_fpu.cc: In function 'void ppc_opc_faddx()':
ppc_fpu.cc:1017:51: error: cannot bind packed field 'gCPU.PPC_CPU_State::fpr[frD]' to 'uint64&' {aka 'long long unsigned int&'}
1017 | gCPU.fpscr |= ppc_fpu_pack_double(D, gCPU.fpr[frD]);
| ~~~~~~~~~~~~^
ppc_fpu.cc: In function 'void ppc_opc_faddsx()':
ppc_fpu.cc:1056:61: error: cannot bind packed field 'gCPU.PPC_CPU_State::fpr[frD]' to 'uint64&' {aka 'long long unsigned int&'}
1056 | gCPU.fpscr |= ppc_fpu_pack_double_as_single(D, gCPU.fpr[frD]);
| ~~~~~~~~~~~~^
ppc_fpu.cc: In function 'void ppc_opc_fdivx()':
ppc_fpu.cc:1272:51: error: cannot bind packed field 'gCPU.PPC_CPU_State::fpr[frD]' to 'uint64&' {aka 'long long unsigned int&'}
1272 | gCPU.fpscr |= ppc_fpu_pack_double(D, gCPU.fpr[frD]);
| ~~~~~~~~~~~~^
ppc_fpu.cc: In function 'void ppc_opc_fdivsx()':
ppc_fpu.cc:1318:61: error: cannot bind packed field 'gCPU.PPC_CPU_State::fpr[frD]' to 'uint64&' {aka 'long long unsigned int&'}
1318 | gCPU.fpscr |= ppc_fpu_pack_double_as_single(D, gCPU.fpr[frD]);
| ~~~~~~~~~~~~^
ppc_fpu.cc: In function 'void ppc_opc_fmaddx()':
ppc_fpu.cc:1342:51: error: cannot bind packed field 'gCPU.PPC_CPU_State::fpr[frD]' to 'uint64&' {aka 'long long unsigned int&'}
1342 | gCPU.fpscr |= ppc_fpu_pack_double(D, gCPU.fpr[frD]);
| ~~~~~~~~~~~~^
[...]
This does not seem trivial to fix and there is no active upstream
to report this to. Put an expiration date on the port too.
PR: 238330