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=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e6ea6a59056d4060 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-03-26 06:56:50 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!paloalto-snh1.gtei.net!news.gtei.net!cyclone-sf.pbi.net!151.164.30.35!cyclone.swbell.net!bos-service1.ext.raytheon.com!dfw-service2.ext.raytheon.com.POSTED!not-for-mail Message-ID: <3CA08C15.1E503D1F@raytheon.com> From: Mark Johnson X-Mailer: Mozilla 4.76 [en] (Windows NT 5.0; U) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: GNAT 3.14p and Red Hat 7.2 References: <3C9F40A2.5AF3920D@raytheon.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Date: Tue, 26 Mar 2002 08:56:21 -0600 NNTP-Posting-Host: 192.27.48.39 X-Complaints-To: news@ext.ray.com X-Trace: dfw-service2.ext.raytheon.com 1017154608 192.27.48.39 (Tue, 26 Mar 2002 08:56:48 CST) NNTP-Posting-Date: Tue, 26 Mar 2002 08:56:48 CST Organization: Raytheon Company Xref: archiver1.google.com comp.lang.ada:21683 Date: 2002-03-26T08:56:21-06:00 List-Id: 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