From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,bc90e355ba0a1f8f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-10 01:29:53 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!nntp.cs.uni-magdeburg.de!news.cs.uni-magdeburg.de!not-for-mail From: Gerald Kasner Newsgroups: comp.lang.ada Subject: Re: Ada multi-threaded programs do not terminate under RedHat Linux Date: Mon, 10 Nov 2003 10:29:42 +0100 Organization: Uni Magdeburg Message-ID: <3FAF5A86.CB6A5557@Physik.Uni-Magdeburg.DE> References: <43f0a81.0311071228.6620c6c2@posting.google.com> NNTP-Posting-Host: kasner.nat.uni-magdeburg.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: graf.cs.uni-magdeburg.de 1068456592 1208 141.44.40.12 (10 Nov 2003 09:29:52 GMT) X-Complaints-To: abuse@cs.uni-magdeburg.de NNTP-Posting-Date: Mon, 10 Nov 2003 09:29:52 +0000 (UTC) X-Mailer: Mozilla 4.8 [de] (X11; U; Linux 2.4.20-20.7smp i686) X-Accept-Language: en Xref: archiver1.google.com comp.lang.ada:2288 Date: 2003-11-10T10:29:42+01:00 List-Id: ====== > > I've compiled it under RedHat Linux 9.0 with "gnatmake test.adb". > Unfortunately, the resulting program doesn't terminate. Instead of the > expected output: > > Starting > Finished > Test > > it only prints the first two lines. The body of the procedure "test" > is never called. I've tried this with several other programs and on > different machines (all with RedHat 9.0). Can anyone give me a > pointer? > > Regards, > > Ruben RH9 with gcc-rpms vom redhat-rawhide: (now included in Fedora 1) (It makes sense to upgrade the whole gcc-stuff, binutils..) dual PIII machine $ rpm -q gcc-gnat gcc-gnat-3.3.2-1 gnatmake -v test GNATMAKE 3.3.2 20031022 (Red Hat Linux 3.3.2-1) Copyright 1995-2002 Free Software Foundation, Inc. "test.ali" being checked ... -> "test.ali" missing. gcc -c test.adb End of compilation gnatbind -x test.ali gnatlink test.ali gnatlink: warning: executable name "test" may conflict with shell command $ ./test Start 1 Finish 1 Start 2 Finish 2 Test