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,b70281e9df653875 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-11-06 23:19:05 PST Message-ID: <3FAB468D.7030509@nowhere.com> Date: Fri, 07 Nov 2003 15:15:25 +0800 From: Adrian Hoe User-Agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:0.9.4.1) Gecko/20020518 Netscape6/6.2.3 X-Accept-Language: en-us MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: gcc/gnat 3.3 References: <3f8fff8b$1_1@news.tm.net.my> <3f98ec41_1@news.tm.net.my> <3f9ded55$1_2@news.tm.net.my> <3f9e8c01$1_2@news.tm.net.my> <_MDnb.37361$mZ5.190069@attbi_s54> <3fa348e4$1_1@news.tm.net.my> <3FA621A2.8020205@nowhere.com> <3FA9D6D1.9050803@nowhere.com> <3FA9DA39.3090607@nowhere.com> <3FA9EF9E.7040301@nowhere.com> <3FAA2DD5.5040503@nowhere.com> <3FAB1C53.5080007@nowhere.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 219.95.190.26 X-Original-NNTP-Posting-Host: 219.95.190.26 X-Trace: news.tm.net.my 1068189505 219.95.190.26 (7 Nov 2003 15:18:25 +0800) Organization: TMnet Malaysia Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!nntp.abs.net!ash.uu.net!news1.tm.net.my Xref: archiver1.google.com comp.lang.ada:2189 Date: 2003-11-07T15:15:25+08:00 List-Id: Andreas Almroth wrote: > Adrian Hoe wrote: > >> >> When I tried to run a simple tasking program, I got "Segmentation >> Fault (code dumped)". Could gcc not build properly? I believe the >> threading was not build properly. Or did I miss some parameters? >> > > Right, as I mentioned earlier in the thread, tasking is not working on > Solaris 9 (SPARC). The sort of workaround (hack in my opinion) that > worked up to Solaris 8, does not work, as Sun apparently changed the > behaviour on how in the memory keep track on threads. > > Although I fairly sure it won't work, you could experiment with using > alternative thread libraries, and hope that the ada code is designed to > change its behaviour. Check in the configure doc for supported threading > models by gcc, and hopefully those works with ada rts as well. > > In the gnat 5.0 sources there is a new implementation, which I have > tried to use in 3.3 (not 3.3.2), but it did not work. Fault on my side > I'm sure. > The upcoming version of gcc is rumored to have a newly synced ada tree > from the latest? gnat, so we will have to wait and see. > > I'm currently on Solaris 8, so I have no problem using tasking in the > application I'm developing, but migration to Solaris 9 is "on wait" > until tasking is proven to work. So, the tasking problem is caused by Solaris 9. I'm sure ACT or someone is working on this issue? Does anyone know of any progress? Too bad I don't have the Solaris 8 CDs. It came pre-installed with Solaris 9 CDs bundled in SB150. :( I guess I will have to wait till a gnat workaround has been released. :( How about Solaris 10? I read there is a major work out on Solaris 10 architecture. Any news? -- Adrian Hoe m a i l b o x AT a d r i a n h o e . c o m