Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
* shared library seg-faults
@ 2000-07-02 21:27 Robert Williams
  0 siblings, 0 replies; only message in thread
From: Robert Williams @ 2000-07-02 21:27 UTC (permalink / raw)
  To: alpha-sde, axp-list

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2000-07-02 21:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-07-02 21:27 shared library seg-faults Robert Williams

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