comp.lang.ada
 help / color / mirror / Atom feed
From: lutz@iks-jena.de (Lutz Donnerhacke)
Subject: [gnat-3.11p] gnat1 hangs on compiling (long)
Date: 1999/11/26
Date: 1999-11-26T00:00:00+00:00	[thread overview]
Message-ID: <slrn83su4i.im.lutz@taranis.iks-jena.de> (raw)

In ftp.iks-jena.de:/pub/mitarb/lutz/ada/types/ there is a set of mixin libs.

After a change in the (generic) source of double_linked_list_mixin.adb
gnatmake did not return. (Recompiling the Ada Compiler is problematic.)

$ uname -a
Linux taranis 2.2.12 #75 Fri Aug 27 14:39:33 MEST 1999 i586 unknown

$ strace -o /tmp/gnat.log \
    .../gnat1 -dumpbase test_double_linked_list.adb \
              -gnatg -gnatf -gnatn test_double_linked_list.adb \
 	      -o /tmp/cco4dE1Q.s
^C
$ tail -40 /tmp/gnat.log
stat("ADALIB/gnat/gnat-3.11p/s-imgint.ads", 0xbfffe984) = -1 ENOENT
stat("ADAINCLUDE/s-imgint.ads", {...}) = 0
stat("ADAINCLUDE/s-imgint.ads", {...}) = 0
stat("ADAINCLUDE/s-imgint.ads", {...}) = 0
open("ADAINCLUDE/s-imgint.ads", O_RDONLY) = 6
fstat(6, {st_mode=0, st_size=0, ...})   = 0
brk(0x8677000)                          = 0x8677000
read(6, "--------------------------------"..., 3630) = 3630
close(6)                                = 0
stat("s-sopco3.ads", 0xbfffecd0)        = -1 ENOENT
stat("ADALIB/gnat/adainclude/s-sopco3.ads", 0xbfffec78) = -1 ENOENT
stat("ADALIB/gnat/gnat-3.11p/s-sopco3.ads", 0xbfffec78) = -1 ENOENT
stat("ADAINCLUDE/s-sopco3.ads", {st_mode=0, st_size=0, ...}) = 0
stat("ADAINCLUDE/s-sopco3.ads", {st_mode=0, st_size=0, ...}) = 0
stat("ADAINCLUDE/s-sopco3.ads", {st_mode=0, st_size=0, ...}) = 0
open("ADAINCLUDE/s-sopco3.ads", O_RDONLY) = 6
fstat(6, {st_mode=0, st_size=0, ...})   = 0
brk(0x8678000)                          = 0x8678000
read(6, "--------------------------------"..., 2995) = 2995
close(6)                                = 0
brk(0x867c000)                          = 0x867c000
brk(0x867e000)                          = 0x867e000
stat("double_linked_list_mixin.adb", {st_mode=0, st_size=0, ...}) = 0
stat("double_linked_list_mixin.adb", {st_mode=0, st_size=0, ...}) = 0
stat("double_linked_list_mixin.adb", {st_mode=0, st_size=0, ...}) = 0
open("double_linked_list_mixin.adb", O_RDONLY) = 6
fstat(6, {st_mode=0, st_size=0, ...})   = 0
brk(0x8681000)                          = 0x8681000
read(6, "with Generic_List_Implementation"..., 9402) = 9402
close(6)                                = 0
mmap(0, 147456, P_READ|P_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x40325000
stat("generic_list_implementation.ads", {st_mode=0, st_size=0, ...}) = 0
stat("generic_list_implementation.ads", {st_mode=0, st_size=0, ...}) = 0
stat("generic_list_implementation.ads", {st_mode=0, st_size=0, ...}) = 0
open("generic_list_implementation.ads", O_RDONLY) = 6
fstat(6, {st_mode=0, st_size=0, ...})   = 0
read(6, "\nwith Matchs;\n\ngeneric\n   ty"..., 3154) = 3154
close(6)                                = 0
--- SIGINT (Interrupt) ---
+++ killed by SIGINT +++

(slightly shortend to squeeze it into 80 columns)

It's running in user space not in kernel space. (checked)

-gnats (Syntax check only) works.
-gnatt (Output parse tree) hangs.

Any hints?




             reply	other threads:[~1999-11-26  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1999-11-26  0:00 Lutz Donnerhacke [this message]
1999-11-26  0:00 ` [gnat-3.11p] gnat1 hangs on compiling (long) Robert Dewar
1999-11-26  0:00   ` Lutz Donnerhacke
1999-11-26  0:00 ` Lutz Donnerhacke
1999-11-27  0:00   ` Robert Dewar
1999-11-28  0:00     ` Lutz Donnerhacke
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox