comp.lang.ada
 help / color / mirror / Atom feed
From: Mark Johnson <mark_h_johnson@raytheon.com>
Subject: Re: GNAT 3.14p and Red Hat 7.2
Date: Tue, 26 Mar 2002 08:56:21 -0600
Date: 2002-03-26T08:56:21-06:00	[thread overview]
Message-ID: <3CA08C15.1E503D1F@raytheon.com> (raw)
In-Reply-To: a05cdd57.0203251812.6ed165b4@posting.google.com

Ken Nelson wrote:
> [snip]
Oh. Building gnat from source. I don't generally do that, but may still
be able to help...

> a-adaint.o: In function `__gnat_tmp_name':
> a-adaint.o(.text+0x42c): the use of `tmpnam' is dangerous, better use
> `mkstemp'
> g-os_lib.o: In function `gnat__os_lib__create_temp_file':
> g-os_lib.o(.text+0x2f1): the use of `mktemp' is dangerous, better use
> `mkstemp'
I have reported this particular problem to ACT several months ago - and
it was subsequently fixed.

> a-gmem.o: In function `__gnat_gmem_a2l_initialize':
> a-gmem.o(.text+0xc4): undefined reference to `convert_addresses'
> a-gmem.o: In function `__gnat_gmem_read_bt_frame':
> a-gmem.o(.text+0x20d): undefined reference to `convert_addresses'
convert_addresses is referenced by g-trasym.adb to assist in the
generation of the symbolic stack traceback (lookup file name & line
number from debug data). This should have been brought in by linking
libaddr2line.a  (-laddr2line). The copy on my system was in the binary
tar file from ACT (and not part of the binutils RPM) - for versions
3.14a, 3.15w, etc. Since you are building from source, it might not be
built correctly. I haven't looked at the binary for 3.14p, but it should
have the appropriate library you need. If not, use the stub version in
a-adaint.c as an interim fix.

  --Mark



  reply	other threads:[~2002-03-26 14:56 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-24 23:20 GNAT 3.14p and Red Hat 7.2 Ken Nelson
2002-03-25 15:22 ` Mark Johnson
2002-03-26  2:12   ` Ken Nelson
2002-03-26 14:56     ` Mark Johnson [this message]
2002-03-26 19:52       ` Florian Weimer
2002-03-26 17:21     ` Stephen Leake
2002-03-26 19:53       ` Florian Weimer
2002-03-27 10:49         ` David C. Hoos, Sr.
2002-03-27 11:55           ` Florian Weimer
2002-03-28 16:04             ` Georg Bauhaus
2002-03-28 20:34               ` Florian Weimer
2002-03-29 16:02                 ` Georg Bauhaus
2002-03-30 16:18                   ` Georg Bauhaus
2002-03-30 19:17                     ` Florian Weimer
2002-03-30 21:22                       ` David C. Hoos, Sr.
2002-03-30 23:14                         ` Florian Weimer
2002-03-26 10:06 ` Dr. Michael Paus
replies disabled

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