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-Thread: 103376,f19adc1c782ed4a3 X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!postnews1.google.com!not-for-mail From: my_spam@bluewin.ch (Thomas Aho) Newsgroups: comp.lang.ada Subject: Re: gnat 3.15p with kernel 2.6 / SuSE 9.1 Date: 4 Oct 2004 23:35:56 -0700 Organization: http://groups.google.com Message-ID: References: <87hdpe3en3.fsf@deneb.enyo.de> <2s5449F1ha0lkU1@uni-berlin.de> <87lleqtl5k.fsf@insalien.org> <41610B84.1050408@mailinator.com> NNTP-Posting-Host: 83.76.165.170 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Trace: posting.google.com 1096958156 17913 127.0.0.1 (5 Oct 2004 06:35:56 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Tue, 5 Oct 2004 06:35:56 +0000 (UTC) Xref: g2news1.google.com comp.lang.ada:4709 Date: 2004-10-04T23:35:56-07:00 List-Id: "Alex R. Mosteo" wrote in message news:<41610B84.1050408@mailinator.com>... > Ludovic Brenta wrote: > > "Marc A. Criley" writes: > > > >>"Florian Weimer" wrote: > >> > >>>* Thomas Aho: > >>> > >>> > >>>>I have a problem with gnat 3.14p hanging on a SuSE 9.1 system (kernel > >>>>2.6). As soon as there are tasks involved, the program hangs, as soon > >>>>as the task is being activated. An example: > >>> > >>>You need LD_ASSUME_KERNEL=2.4.0 or something similar. This should be > >>>documented in the SuSE release notes. > >> > >>I ran into this issue developing and running DTraq on Red Hat 9, so I've got > >>a writeup on it at http://mckae.com/dtq_common/README.RedHat9. > > > > > > And it is also documented in the Debian Policy for Ada, along with > > many other things: > > > > http://users.skynet.be/ludovic.brenta/debian-ada-policy.html > > Interesting read! Thanks for the help. It really helped me out. BTW; it seems to be an issue not only for Ada-programs, but for some other "normal" C++-programs as well. I have one aplication that compiles and links without problams, but it crashes when not defining LD_ASSUME_KERNEL=2.4. We are looking into that now, and it is probably a matter of doing things that have always been questionable (like terminating non-existing threads) but happened to work (by luck) with the old threading model, but not with the new one. /Thomas