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,b219afbe2851bc3f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-06-16 03:12:25 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!freenix!proxad.net!newsfeed.stueberl.de!solnet.ch!solnet.ch!surfnet.nl!news-stob.telia.net!telia.net!217.209.241.173.MISMATCH!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail From: David Holm Newsgroups: comp.lang.ada Subject: Re: gcc-ada-3.3 task problems under solaris 9 Message-ID: <20030616121211.603e48c9.david@realityrift.com> References: <3eed58a5$0$1547$afc38c87@news.optusnet.com.au> <3EED7FE0.BDFFA1B1@cptechno.com> X-Newsreader: Sylpheed version 0.8.10claws (GTK+ 1.2.10; i386-portbld-freebsd4.8) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Date: Mon, 16 Jun 2003 10:12:23 GMT NNTP-Posting-Host: 217.208.105.88 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1055758343 217.208.105.88 (Mon, 16 Jun 2003 12:12:23 CEST) NNTP-Posting-Date: Mon, 16 Jun 2003 12:12:23 CEST Organization: Telia Internet Xref: archiver1.google.com comp.lang.ada:39229 Date: 2003-06-16T10:12:23+00:00 List-Id: It might be more convenient to run gnatmake with --RTS=pthread than to relink adainclude/adalib. //David Holm On Mon, 16 Jun 2003 10:29:20 +0200 Thierry Lelegard wrote: > This is a known issue of GNAT 3.15. Its runtime used an unsupported > feature of the Solaris libthread which is no longer valid on Solaris 9. > GNAT 5.00a has a fix and works on both Solaris 8 and 9. > > If you are not an ACT customer and do not have access to 'a' versions, > you can still use GNAT 3.15p on Solaris 9, provided that you use the > pthreads instead of the native Solaris threads. (Slightly worse performance > may be expected). > > Move to gnat/lib/gcc-lib/.../2.8.1 and modify the symbolic links adainclude > and adalib. Make them point into rts-pthread instead of rts-native. > > I do not know anything about gcc-ada-3.3 but it has a bad reputation however. > Use GNAT release instead. > > -Thierry > > nathand@thx.vic.optushome.com.au wrote: > > > > Hi All, > > > > Just wondering if anyone else has experienced problems with ada 3.3 tasking under solaris 9. > > I have compiled gcc-ada-3.3 under solaris 9 64bit using gnat-3.15 binaries to assist the > > compilation. A simple single threaded process works just fine, and exits cleanly. > > A program containing a task coredumps with the following information from gdb > > > > Program received signal SIGSEGV, Segmentation fault. > > 0x2931c in system__task_primitives__operations__self () at s-tpopse.adb:174 > > 174 if To_Iptr (Get_G7 - 120).all /= > > > > When I compile a simple test program with either the gcc-ada-3.3 compiler, or the 3.15 > > compiler I get the same result as shown above.