comp.lang.ada
 help / color / mirror / Atom feed
From: Ludovic Brenta <ludovic.brenta@insalien.org>
Subject: Re: Using Gnat.Traceback.Symbolic with gcc-3.4.3
Date: Sun, 06 Mar 2005 14:39:13 +0100
Date: 2005-03-06T14:38:48+01:00	[thread overview]
Message-ID: <87hdjo7v26.fsf@insalien.org> (raw)
In-Reply-To: cbdd91ae.0503060435.1e52a8aa@posting.google.com

 (Bernd Trog) writes:
> Hi,
> whats the story about this addr2line problem?
>
> With gcc-3.4.3 I get:
>
> $ gnatmake -O3 -gnatf -gnatwu -gnato -funwind-tables \
>   testexception.adb -g -f -largs -g -i -laddr2line -bargs -E
> gcc -c -O3 -gnatf -gnatwu -gnato -funwind-tables -g testexception.adb
> gnatbind -x testexception.ali
> gnatlink testexception.ali -g -g -i -laddr2line
> /usr/local/bin/ld: cannot find -laddr2line
>
> I'm using binutils-2.15 (on i686 Linux).
>
> How do I tell binutils to generate a 'libaddr2line.a' for me, that 
> works with gcc-3.4.3?

libaddr2line.a is a library normally built from the binutils source
distribution.  GNAT relies on it for sumbolic traceback of exceptions.
Unfortunately, I am not aware of any binary distribution of GNU/Linux
that ships libaddr2line.a.  I am not even sure that recent versions of
binutils (as required by recent versions of GCC) support building
libaddr2line.a.

If you're interested, AdaCore's binary distribution of GNAT 3.15p does
include this library (from binutils-2.9.1), and does support symbolic
tracebacks.

-- 
Ludovic Brenta.



  reply	other threads:[~2005-03-06 13:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-03-06 12:35 Using Gnat.Traceback.Symbolic with gcc-3.4.3 Bernd Trog
2005-03-06 13:39 ` Ludovic Brenta [this message]
2005-03-06 21:56   ` Florian Weimer
replies disabled

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