comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ann: Generic Image Decoder v.01
Date: Sun, 27 Jun 2010 22:09:43 +0100
Date: 2010-06-27T22:09:43+01:00	[thread overview]
Message-ID: <m2aaqgyyg8.fsf@pushface.org> (raw)
In-Reply-To: 103b6253-5895-4867-8aed-677c7dc5f49b@38g2000prp.googlegroups.com

deadlyhead <deadlyhead@gmail.com> writes:

> Searching comp.lang.ada, I've come to understand that in more recent
> GNAT versions (later than GNAT 2009?), and hopefully more recent GCCs
> (i.e. gcc 4.5.0), GNAT no longer needs libaddr2line[1].  I'm compiling
> a new gcc right now.  Hopefully this will fix the problem.  I'll let
> you know.

On Mac OS X, GCC 4.5.0's GNAT.Traceback.Symbolic says

   --  Version used on unimplemented targets

   --  Run-time symbolic traceback is currently supported on the
   --  following targets:

   --     HP-UX
   --     IRIX
   --     GNU/Linux x86
   --     AIX
   --     Solaris sparc
   --     Tru64
   --     OpenVMS/Alpha
   --     Windows NT/XP/Vista

   --  This version is used on all other targets, it generates a warning
   --  at compile time if it is with'ed, and the bodies generate
   --  messages saying that the functions are not implemented.

The working version (g-trasym.adb) in the 4.5.0 sources includes

   package body GNAT.Traceback.Symbolic is

      pragma Linker_Options ("-laddr2line");
      pragma Linker_Options ("-lbfd");
      pragma Linker_Options ("-liberty");

and hasn't changed on trunk.

Maybe GNAT GPL 2010 will have the promised change ...


Anyway, you should be able to find where GNAT.Traceback.Symbolic is
referenced, usually in the main program, and revert to plain (hex)
tracebacks.



  reply	other threads:[~2010-06-27 21:09 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-26  9:49 Ann: Generic Image Decoder v.01 Gautier write-only
2010-06-26 16:56 ` deadlyhead
2010-06-26 20:47   ` Gautier write-only
2010-06-27 19:29     ` deadlyhead
2010-06-27 21:09       ` Simon Wright [this message]
2010-06-27 22:36       ` Gautier write-only
2010-06-27 23:31         ` deadlyhead
2010-06-27 23:33           ` Ludovic Brenta
2010-06-28  1:13             ` deadlyhead
replies disabled

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