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=unavailable autolearn_force=no version=3.4.4 Path: buffer2.nntp.dca1.giganews.com!border2.nntp.dca1.giganews.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!eu.feeder.erje.net!news.swapon.de!eternal-september.org!feeder.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Natasha Kerensikova Newsgroups: comp.lang.ada Subject: GNAT stuck, any idea on how to diagnose it? Date: Sun, 14 Sep 2014 09:21:18 +0000 (UTC) Organization: A noiseless patient Spider Message-ID: Injection-Date: Sun, 14 Sep 2014 09:21:18 +0000 (UTC) Injection-Info: mx05.eternal-september.org; posting-host="76a49b86bc3e16725b7cfca3d85cb4c8"; logging-data="24919"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/bZQK+rLLVigq8gd/7wUFQ" User-Agent: slrn/1.0.1 (FreeBSD) Cancel-Lock: sha1:eq+xtYla1QOSAaf1neTGIBZ34/E= Xref: number.nntp.dca.giganews.com comp.lang.ada:188997 Date: 2014-09-14T09:21:18+00:00 List-Id: Hello, I have a library project, called Natools, where I accumulate miscellaneous small stuff. I also have a test suite, and a binary called `test_all` that runs all the test suites. Since I'm accumulating stuff, and test_all is accessing everything, it's getting larger and larger, and takes more and more time to build. So far so good. However a few days ago it seems I've reached a threshold where gnatmake takes a much longer time to finish. I've tried letting it run, and so far it has taken 41 CPU hours without any sign of progress, while without my latest package test it doesn't take more than a few wallclock minutes. Moreover, the memory usage reported by the operating system hasn't changed between a few minutes after start and now. Here is the command line, word-wrapped to make it easier to read: /usr/local/gcc-aux/libexec/gcc/x86_64-aux-freebsd9.2/4.9.0/gnat1 -I --quiet -dumpbase natools-s_expressions-templates-integers.ads -auxbase natools-s_expressions-templates-integers -O3 -fstack-check=specific -gnatez -gnatea -gnatec=/home/nat/code/natools/obj/GNAT-TEMP-000004.TMP -gnatafnovy -gnateE -gnatwae -gnatA -gnatem=/home/nat/code/natools/obj/GNAT-TEMP-000005.TMP -gnatez -mtune=generic -march=x86-64 /home/nat/code/natools/src/natools-s_expressions-templates-integers.ads -o /tmp//ccd4TDPm.s Would you know what is this `gnat1`? What part of the build process is it? What is the command above supposed to perform? Is it known to occasionally take a lot of time? Can I consider it eternally stuck, or am I just too impatient? What kind of tool can I used to help answer those questions? Thanks in advance for your help, Natasha