ASIS and gnatelim : Will I make it work ?



Hello
I try to work with gnatelim, and I faced a few problems ...

- With gnat 3.15p on Windows, I get :

gcc -c -I./ -gnatc -gnatt -I- c:/CVS-CO/HEAD/my_package_001.adb
gcc -c -I./ -gnatc -gnatt -I- c:/CVS-CO/HEAD/my_package_002.adb
...
gcc -c -I./ -gnatc -gnatt -I- c:/CVS-CO/HEAD/my_package_125.adb
gcc -c -I./ -gnatc -gnatt -I- c:/CVS-CO/HEAD/my_package_126.adb
gnatmake: "c:/CVS-CO/HEAD/my_package_126.adb" compilation error

- With gnat 3.15p on Debian, I get :

gnatgcc -c -I./ -gnatc -gnatt -I- /home/homes/jerome/CVS-CO/HEAD/my_package_001.adb
gnatgcc -c -I./ -gnatc -gnatt -I- /home/homes/jerome/CVS-CO/HEAD/my_package_002.adb
...
gnatgcc -c -I./ -gnatc -gnatt -I- /home/homes/jerome/CVS-CO/HEAD/my_package_098.adb
+===========================GNAT BUG DETECTED==============================+
| 3.15p (20020523) (i486-pc-linux-gnu) Storage_Error stack overflow (or erroneous memory access)|
| Error detected at /home/homes/jerome/CVS-CO/HEAD/my_package_023.adb:137:7
[/home/homes/jerome/CVS-CO/HEAD/my_package_025.adb:130:7
[/home/homes/jerome/CVS-CO/HEAD/my_package_098:20:4]]|
| Please submit bug report by email to ...
...

- OK. Let's move to a more recent release.
As far as I understood, as gcc-4.0.0 includes some Ada0Y improvments, better
to stay with a Ada95 compiler, let's try with Debian gcc-3.4.4 ...
This time, things are going further ...

gcc-3.4 -c -I./ -gnatc -gnatt -I- /home/homes/CVS-CO/HEAD/my_package_001.adb
gcc-3.4 -c -I./ -gnatc -gnatt -I- /home/homes/CVS-CO/HEAD/my_package_002.adb
...
gcc-3.4 -c -I./ -gnatc -gnatt -I- /home/homes/CVS-CO/HEAD/my_package_199.adb

Now, which gnatelim ?
Should I build it from source ? Should I use a binary ? Which one ?
I try both. Without any success.
With asis-4_0_0-20050203.src, I build it following the instructions and ...

gnatelim license_manager_code_generator

Unexpected bug in -- GNATELIM (built with ASIS 2.0.R for GNAT 3.4.3)
ADA.IO_EXCEPTIONS.END_ERROR was raised: a-textio.adb:631
Please report to ...

Any advice ?

Thank you in advance.


.



Relevant Pages

  • Is the Ada run-time required to detect out-of-memory conditions?
    ... I have received a bug report against GNAT 3.15p and reproduced the ... GNAT, no exception is raised; instead the program receives SIGKILL ... My first impression is that the program exhausts physical memory (RAM ...
    (comp.lang.ada)
  • Re: A bug in Gnat, or in my code?
    ... It is fixed in the latest ACT version of GNAT ... Björn Persson wrote: ... > There is now a bug report in the GCC Bugzilla, ...
    (comp.lang.ada)
  • bug report being ignored
    ... gnat process/effort involved), but I filled a bug report for gnat on ... It is an annoying bug for me as it has an impact on gnatxref that I ...
    (comp.lang.ada)
  • Re: Configuring eclipse for Ada ?
    ... installations - and maybe I should fill a bug report in bugs.gentoo.org ... GNAT compilers. ... GNAT GPL 2006 also works in with gentoo GNAT. ...
    (comp.lang.ada)