stoler@eesun.gwu.edu (Rich Stoler) (10/08/90)
We are having trouble with a piece of software called occam. It was working perfectly on a sun 3 network running SUNOS3.5. We migrated to SUNOS4.1 and occam crashes. It compiles and links its code okay, and produces an a.out file. But when you try to execute the file, you get a segmentation error and core dump. Suggestions from anyone would be greatly appreciated.
dan@bbn.com (Dan Franklin) (11/02/90)
Perhaps occam has its own runtime library of .o files that it loads with the new libc from 4.1. In that case, if those .o files were compiled under Sun OS 3.X and any of them use setjmp(), they would cause weird results, easily including a segmentation error and core dump, when used with the 4.1 setjmp routine. The reason is that the jmp_buf array used as setjmp's argument is considerably larger under Sun OS 4.1 than 3.X (on Sun-3s, at any rate).