comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: About static libraries and Debian policy
Date: Fri, 14 May 2010 07:57:49 -0700 (PDT)
Date: 2010-05-14T07:57:49-07:00	[thread overview]
Message-ID: <85f51aeb-cac9-4591-921a-a7f50c8ef142@a21g2000yqn.googlegroups.com> (raw)
In-Reply-To: xpapqc7al1kx$.10dcevapcbh68.dlg@40tude.net

On May 14, 2:16 pm, "Dmitry A. Kazakov" <mail...@dmitry-kazakov.de>
wrote:
> http://people.debian.org/~lbrenta/debian-ada-policy.html
>
> requires no static libraries. Is that consistent with GNAT symbolic
> traceback, which for some unclear reasons is not included into GNAT
> relocatable RTL.
>
> BTW, Why there should be no traceback when relocatable libraries are used?

The problem is, I think, that the GNAT RTL (libgnat, libgnarl) isn't
compiled with debug (-g), so there are no symbols available to
interpret the traceback.

This was certainly true with VxWorks static libraries a while back,
while we were compiling our own we used -g which allowed us to use
vxaddr2line and trace into the RTS. Since we changed to using the
standard RTS + changes compiled using powerpc-wrs-vxworks-gnatmake -a
I can't say we've missed the facility.

> What would happen if g-trasym.o (symbolic traceback) were put into a static
> library and then linked together with relocatable RTL?

I don't know whether you can debug into or get traceback from inside a
dynamic library. Probably depends on the target OS.




  reply	other threads:[~2010-05-14 14:57 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-14 13:16 About static libraries and Debian policy Dmitry A. Kazakov
2010-05-14 14:57 ` sjw [this message]
2010-05-14 15:29   ` Dmitry A. Kazakov
2010-05-14 18:43     ` Ludovic Brenta
2010-05-14 19:54       ` Dmitry A. Kazakov
2010-05-14 20:38         ` Ludovic Brenta
2010-05-15  7:46           ` Dmitry A. Kazakov
2010-05-15 10:07             ` Ludovic Brenta
2010-05-15 11:07       ` Simon Wright
2010-05-15 21:48         ` Ludovic Brenta
2010-05-16 10:13           ` Simon Wright
2010-05-16 10:31             ` Ludovic Brenta
2010-05-19 21:59       ` Björn Persson
2010-05-20  7:20         ` Symbolic tracebacks on Debian (Was: About static libraries and Debian policy) Ludovic Brenta
2010-05-20  8:38           ` Alex R. Mosteo
2010-05-21 12:26             ` Ludovic Brenta
2010-05-25  8:39               ` Symbolic tracebacks on Debian Ludovic Brenta
2010-05-20 14:04           ` Symbolic tracebacks on Debian (Was: About static libraries and Debian policy) Dmitry A. Kazakov
2010-05-21  8:52           ` Symbolic tracebacks on Debian Stephen Leake
2010-05-22 11:03             ` (see below)
2010-05-22 11:25               ` Simon Wright
2010-05-22 21:37                 ` (see below)
2010-05-23 13:28                 ` Stephen Leake
2010-05-23 15:52                   ` Simon Wright
2010-05-23 18:35                     ` (see below)
2010-05-23 19:46                       ` Simon Wright
2010-05-24  9:04                         ` Stephen Leake
2010-05-24 19:14                           ` Simon Wright
2010-05-25  2:13                             ` Stephen Leake
2010-05-25  9:02                               ` Alex R. Mosteo
2010-05-25 19:16                               ` Simon Wright
2010-05-26  7:30                                 ` Stephen Leake
2010-05-24  9:03                   ` Stephen Leake
2010-05-22 11:30               ` Yannick Duchêne (Hibou57)
2010-05-22 13:20             ` Björn Persson
2010-05-22 13:56               ` Dmitry A. Kazakov
2010-05-22 12:53           ` Symbolic tracebacks on Debian (Was: About static libraries and Debian policy) Björn Persson
replies disabled

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