SIGSEGV on __do_global_ctors () in 0.99pl14 series?

SIGSEGV on __do_global_ctors () in 0.99pl14 series?

Post by James C. Tsi » Sun, 30 Jan 1994 04:23:06

I'm having some difficulties with some Fortran ports to Linux.
These Fortran programs worked fine in kernels before 0.99pl14,
but die with a SIGSEGV in pl14 and the various alphas.  I'm
using f2c with libf2c-0.9 and gcc 2.4.5.  I've tried complete
recompiles (kernel and program source) with libc 4.4.4 and
libc 4.5.8 with the same result.

Apparently the programs die during initialization.  They don't
reach the breakpoint set at the first line of the programs.
Single stepping from a breakpoint set at main () gives the
following in gdb for all of the programs that crash:

Program received signal SIGSEGV (11), Segmentation fault
0x1751ea in __do_global_ctors ()
(gdb) where
#0  0x1751ea in __do_global_ctors ()
#1  0x1 in _entry ()

I'm fresh out of ideas to resolve this problem.  Anyone have
any suggestions?




Try Linux, the freely distributable Unix clone for the 386/486.