ShrinkWrap weirdness on 4.02 + RPCEmu
John-Mark Bell (94) 36 posts |
I’ve been trying to build some sources on RO 4.02 under RPCEmu and spent some length of time figuring out why things were failing in odd ways. Namely, objasm complaining that it couldn’t open !Depend or CC complaining it couldn’t open files in Scrap for writing intermediate data to. I’ve tracked it down to the ShrinkWrap module, which is loaded by Env.!Common. It would appear that this prevents certain file operations from working—I’m guessing it’s probably OS_Find &8x that’s having difficulty, though haven’t investigated far enough to be sure. Issuing *ShrinkWrapOff (or just killing ShrinkWrap) seems to avoid the problems. This is with the sources on either RPCEmu’s Hostfs mount or when stored on the disc image. I’m pretty confident I can rule out RPCEmu’s disc controller emulation and hostfs code as the same results occur when ShrinkWrap is loaded and I manually invoke objasm or cc on files stored in RAMFS. (Of course, this doesn’t rule out a problem elsewhere within RPCEmu). Has anyone any idea what might be going on here? Equally, has anyone tried building on a real RO 4.02 RPC and had a similar problem? |
John-Mark Bell (94) 36 posts |
Just to resurrect this, in case anybody cares (which I somehow doubt :). The issue described above was the result of RPCemu not emulating MSR correctly. It turns out that this was also the cause of the weird Font Manager behaviour described in the FM 3.61 changelog. |