bean@putter.wpd.sgi.com (Bean Anderson) (06/27/90)
In article <3513@umbc3.UMBC.EDU>, bernie@umbc5.umbc.edu (Bernard J. Duffy) writes: > > ... > > Does this mean programs performing dynamic loading will bomb if they > weren't compiled -G 0 or would they just yield the wrong numbers/ fault > results? If they bomb, I'll just leave them off the system until some > user complains about their program not working due to a dynamic loading > error (hopefully an informative sys-err message on failure). I currently > don't have any flavors of lisp running, but might have KCL in the future > (added to our machines by our KCL support person). > > Programs performing dynamic loading will not necessarily "bomb" if they weren't compiled -G 0. The main thing is that the dynamically loaded modules were compiled -G 0; if not, the dynamically loaded module will end up overlaying data space in the GP region. Bean
jsw@xhead.esd.sgi.com (Jeff Weinstein) (06/27/90)
In article <9555@odin.corp.sgi.com>, bean@putter.wpd.sgi.com (Bean Anderson) writes: > Programs performing dynamic loading will not necessarily "bomb" if they > weren't compiled -G 0. The main thing is that the dynamically loaded > modules were compiled -G 0; if not, the dynamically loaded module will > end up overlaying data space in the GP region. You could write a dynamic loader that does GP allocation and fixes up all references to GP data... --Jeff Jeff Weinstein - X Protocol Police Silicon Graphics, Inc., Entry Systems Division, Window Systems jsw@xhead.esd.sgi.com Any opinions expressed above are mine, not sgi's.