Groups | Search | Server Info | Login | Register
Groups > comp.lang.ada > #49544
| From | Fernando Oleo Blanco <irvise_ml@irvise.xyz> |
|---|---|
| Newsgroups | comp.lang.ada |
| Subject | Re: Help: Ada in NetBSD |
| Date | 2021-09-17 19:36 +0200 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <si2jm1$1i9p$1@gioia.aioe.org> (permalink) |
| References | <sgfpod$19sl$1@gioia.aioe.org> <646f270d-0e65-46a5-b40a-02afab608f1en@googlegroups.com> <sgo4f7$lri$1@gioia.aioe.org> |
Another update on my side, this time with a bit more content. Following the help provided by Arnaud, I modified the flags with which the ACATS's tests get compiled. To the gnatmake command I added the -f -a -g -j0 flags. -f to force the recompilation of all files needed with the exception of the runtime and library files. -a is to also force the recompilation of the library & runtime files. Whatever is needed. -g debugging. -j0 ignored by the ACATS suite provided by Simon (or so says the documentation in the shell file). This flags make the compilation much slower, obviously, since nearly for every test the entire Ada library needs to be recompiled. However, this started to give me a much better insight on what was going on. Specially since now I could debug the failing tests. I noticed that the first test I started debugging was stuck in a loop related to task management. This would explain why I was getting so many tests failing with timeouts. Great, but I could only get so much insight. Arnaud, once again came to the rescue and indicated that I should add the -gnata flag. -gnata is to enable assertions. And yes, now the tests were finally failing in a meaningful manner. I have written the assertions I have found that failed. Remember, I am using GCC 10.3 with the patch set that is available in my website. You can find it in one of the messages I have sent in this thread. So, what do we get? System.Assertions. Assert_Failure in s-tassta.adb:1643 (very common everywhere), s-tpopmo.adb:213 (fairly common) and s-taprop.adb:463 (common in the c9 section). Storage_Error in s-intman.adb:136 Stack overflow or erroneous memory access in a few tests. I got no pointer on where it was happening. And still some timeouts, but I think they are related to the first assertion mentioned. The "strange" (not that much) is that I have not touched any of these files. I will see where they are used in the compiler, how they are used and if the issues are related with how NetBSD handles some functions/standards... The s-tassta.adb problem I know is 100% related to POSIX Threads. Maybe the issue is in the POSIX Threads handling or maybe not. I will keep on digging. Regards, -- Fernando Oleo Blanco https://irvise.xyz
Back to comp.lang.ada | Previous | Next — Previous in thread | Next in thread | Find similar
Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-29 13:06 +0200
Re: Help: Ada in NetBSD Stephane Carrez <stephane.carrez@gmail.com> - 2021-08-29 06:19 -0700
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-29 20:08 +0200
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-08-29 19:25 +0100
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-29 22:36 +0200
Re: Help: Ada in NetBSD Stephane Carrez <stephane.carrez@gmail.com> - 2021-08-29 15:08 -0700
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-08-30 08:37 +0100
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-30 10:14 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-30 12:24 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-30 14:15 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-30 20:49 +0200
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-08-30 20:23 +0100
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-01 11:44 +0200
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-09-01 22:41 +0100
Re: Help: Ada in NetBSD "Randy Brukardt" <randy@rrsoftware.com> - 2021-09-02 17:16 -0500
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-09-03 21:18 +0100
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-08-29 18:34 +0100
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-08-29 19:45 +0200
Re: Help: Ada in NetBSD "John R. Marino" <mfl-commissioner@marino.st> - 2021-09-01 06:28 -0700
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-01 16:58 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-17 19:36 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-18 18:39 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-22 22:05 +0200
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-09-22 21:57 +0100
Re: Help: Ada in NetBSD "Luke A. Guest" <laguest@archeia.com> - 2021-09-23 09:04 +0100
Re: Help: Ada in NetBSD Kevin Chadwick <m8il1ists@gmail.com> - 2021-09-23 03:48 -0700
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-23 19:01 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-23 19:04 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-23 21:53 +0200
Re: Help: Ada in NetBSD Simon Wright <simon@pushface.org> - 2021-09-24 08:48 +0100
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-24 11:44 +0200
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-13 20:49 +0200
Re: Help: Ada in NetBSD Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2021-09-13 18:24 -0400
Re: Help: Ada in NetBSD Fernando Oleo Blanco <irvise_ml@irvise.xyz> - 2021-09-17 19:19 +0200
csiph-web