[comp.sys.sun] Fortran shared libraries bug?

bglenden@mandrill.cv.nrao.edu (Brian Glendenning) (08/13/90)

We have a large package of programs that we have recently converted to use
shared libraries. The programs are mostly coded in Fortran with some
low-level C routines.

Recently after some innoccuous changes, we noticed that on Sun 3s under
SunOS 4.0.3 the programs start crashing with a segmentation violation. A
dbx traceback showed the program doing what it should do, and then at a
subroutine call it veers off into etext.

Linking the program with the static version of the libraries makes the
problem go away, so we presume that it's a bug with the shared library
support.  Has anyone seen this before? Is there a workaround besides
linking statically? Is it fixed in 4.1?

       Brian Glendenning - National Radio Astronomy Observatory
bglenden@nrao.edu          bglenden@nrao.bitnet          (804) 296-0286