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:00:36 PST Path: archiver1.google.com!news2.google.com!fu-berlin.de!uni-berlin.de!61.11.230.176!not-for-mail From: Andreas Almroth Newsgroups: comp.lang.ada Subject: Re: gcc/gnat 3.3 Date: Fri, 07 Nov 2003 08:00:29 +0100 Message-ID: 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> NNTP-Posting-Host: 61.11.230.176 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 1068188435 48593084 61.11.230.176 (16 [198985]) User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en In-Reply-To: <3FAB1C53.5080007@nowhere.com> X-Enigmail-Version: 0.76.1.0 X-Enigmail-Supports: pgp-inline, pgp-mime Xref: archiver1.google.com comp.lang.ada:2186 Date: 2003-11-07T08:00:29+01:00 List-Id: 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. /Andreas