Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Robert Williams <bob@bob.usuhs.mil>
To: alpha-sde@iol.unh.edu, axp-list@redhat.com
Subject: shared library seg-faults
Date: Sun, 02 Jul 2000 16:27:28 -0500	[thread overview]
Message-ID: <395FB3C0.EC794BD6@bob.usuhs.mil> (raw)

I see that the first Compaq Linux Alpha Fortran
FAQ item regards this topic,
"When I try to make a shared library with cfal-1.0,
why do I get a seg. fault? "
http://www.iol.unh.edu/linux/fortran/faq/cfal-1.0.html#1
but there is no answer.  I have the same problem
compiling the following program:

[bob@rw src]$ fort -shared junk.f -o junk
[bob@rw src]$ ./junk
Segmentation fault (core dumped)

[bob@rw src]$ less junk.f
        PROGRAM junk

C

        CHARACTER card*80,atom*3
        data card/'12345678901234567890'/

          print *,card
          read(card,400)atom
400       format(a3)
          print *,atom

        stop
      END

Apart from making only non_shared code
(which does work)
has there been a solution to this problem?

Bob Williams



                 reply	other threads:[~2000-07-02 21:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox