HomeFreeBSD

emulators/pearpc: Lock to GCC 8

Description

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]);

|                                       ~~~~~~~~~~~~^

[...]

http://pb2.nyi.freebsd.org/data/120i386-default-PR238330/2019-06-09_20h27m22s/logs/errors/pearpc-0.5_8.log

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

Details

Provenance
tobikAuthored on
Parents
rP505551: chinese/ibus-libpinyin: unbreak on powerpc64
Branches
Unknown
Tags
Unknown