[Rpcemu] RPCEmu 0.9.3 Build Failure
rjek at rjek.com
Wed Jun 3 04:13:36 PDT 2020
On Wed, Jun 03, 2020 at 10:56:57AM +0100, Paul Bell wrote:
> /usr/bin/ld: release/codegen_amd64.o:(.bss+0x4): multiple definition of
> `blockend'; release/ArmDynarec.o:(.bss+0x40310): first defined here
> /usr/bin/ld: release/codegen_amd64.o:(.bss+0x0): multiple definition of
> `linecyc'; release/ArmDynarec.o:(.bss+0x0): first defined here
> collect2: error: ld returned 1 exit status
GCC 10? That has apparently changed how multiple symbols defined in
different sources are dealt with by default, try adding -fcommon to the
build flags to ld/gcc.
The old way was to merge all instances of a global variable if they all
agreed on initial value (or lack of one).
Somebody will probably want to go through each global and tidy this up.
More information about the RPCEmu