Mantis - Squeak
Viewing Issue Advanced Details
1791 VM minor always 09-13-05 00:09 05-06-09 00:58
rmottola  
lewis  
normal  
acknowledged  
open  
none    
none  
0001791: irix does not have vfork
IRIX doesn't have vfork, thus I propose to add in
src/vm/intplugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c

#ifdef __sgi
#define vfork fork
#endif
child of 0006671closed tim Build VMMaker for 3.9 

Notes
(0011614)
tim   
12-29-07 03:33   
Would need Ian's attention
(0013118)
lewis   
05-06-09 00:53   
The #ifdef should not be put into the src/vm/intplugins/UnixOSProcessPlugin/UnixOSProcessPlugin.c code directly, because this is machine-generated code (generated by VMMaker from class UnixOSProcessPlugin).

This is probably something that can best be handled by the configure script, but I'm not much of an expert in setting this up, so we may have to live with a workaround for irix and other Unix platforms that do not have vfork. Reasonable workarounds would be to put the define in the Makefile, or to directly edit the generated C code as described above.
(0013119)
lewis   
05-06-09 00:58   
This is a problem for Unix systems that do not support vfork(), but I suggest working around the problem with #define in the Makefile, or by editing the generated C file. A proper fix would have the #define controlled by the configure script, but I do not expect this to be implemented, so a workaround will have to do for now.