Hi,
I've been trying to compile SheepShaver on Arch Linux. I've followed
the instructions listed on the wiki, but I've had to apply this little patch to be able to run make (as suggested
there, most recent comment):
Code:
#Eliminate the broken x86(_64) test as suggested at http://www.emaculation.com/doku.php/compiling_sheepshaver_basilisk#building_basiliskii_in_linux_flavours
sed -i '107,120 s:^:dnl :' configure.ac
#Fix the name conflict between loacal file_handle and /usr/include/bits/fcntl.h file_handle by renaming the local struct mac_file_handle
sed -e 's/\<file_handle\>/mac_file_handle/g' sys_unix.cpp
So then I run make but it fails at:
Code:
./dyngen -o ppc-dyngen-ops.hpp obj/ppc-dyngen-ops.o
dyngen: ret or jmp expected at the end of op_jump_next_A0
make: *** [ppc-dyngen-ops.hpp] Fel 1
So I took a peek at that "ppc-dyngen-ops.hpp" header, and the incriminating function seems to be:
Code:
/**
* Generate possible call to next basic block without going
* through register state restore & full cache lookup
**/
void OPPROTO op_jump_next_A0(void)
{
powerpc_block_info *bi = (powerpc_block_info *)A0;
uint32 pc = powerpc_dyngen_helper::get_pc();
if (likely(bi->pc == pc) || likely((bi = powerpc_dyngen_helper::find_block(pc)) != NULL))
goto *(bi->entry_point);
dyngen_barrier();
}
I don't know what I can do at this point to fix it.
Thanks for any input!