From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 19008 invoked from network); 2 Jul 2000 21:26:52 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 2 Jul 2000 21:26:52 -0000 Received: from bob.usuhs.mil (bob.usuf2.usuhs.mil [131.158.186.183]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id RAA13247 for ; Sun, 2 Jul 2000 17:26:52 -0400 Received: from bob.usuhs.mil ([131.158.186.184]) by bob.usuhs.mil (8.9.3/8.9.3) with ESMTP id RAA13619; Sun, 2 Jul 2000 17:27:29 -0400 (EDT) Sender: bob@bob.usuhs.mil Message-ID: <395FB3C0.EC794BD6@bob.usuhs.mil> Date: Sun, 02 Jul 2000 16:27:28 -0500 From: Robert Williams X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.2.14aa1 alpha) X-Accept-Language: en MIME-Version: 1.0 To: alpha-sde@iol.unh.edu, axp-list@redhat.com Subject: shared library seg-faults Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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