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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,fea50f781bb229dc X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!a21g2000yqn.googlegroups.com!not-for-mail From: sjw Newsgroups: comp.lang.ada Subject: Re: About static libraries and Debian policy Date: Fri, 14 May 2010 07:57:49 -0700 (PDT) Organization: http://groups.google.com Message-ID: <85f51aeb-cac9-4591-921a-a7f50c8ef142@a21g2000yqn.googlegroups.com> References: NNTP-Posting-Host: 20.133.0.13 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1273849070 8836 127.0.0.1 (14 May 2010 14:57:50 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 14 May 2010 14:57:50 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: a21g2000yqn.googlegroups.com; posting-host=20.133.0.13; posting-account=_RXWmAoAAADQS3ojtLFDmTNJCT0N2R4U User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3,gzip(gfe) Xref: g2news2.google.com comp.lang.ada:11615 Date: 2010-05-14T07:57:49-07:00 List-Id: On May 14, 2:16=A0pm, "Dmitry A. Kazakov" 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 stat= ic > 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.