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=-0.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no 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-7-bit Path: g2news2.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!usenet-fr.net!de-l.enfer-du-nord.net!feeder1.enfer-du-nord.net!news.weisnix.org!newsfeed.ision.net!newsfeed2.easynews.net!ision!newsfeed.arcor.de!newsspool3.arcor-online.net!news.arcor.de.POSTED!not-for-mail From: "Dmitry A. Kazakov" Subject: Re: About static libraries and Debian policy Newsgroups: comp.lang.ada User-Agent: 40tude_Dialog/2.0.15.1 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Reply-To: mailbox@dmitry-kazakov.de Organization: cbb software GmbH References: <85f51aeb-cac9-4591-921a-a7f50c8ef142@a21g2000yqn.googlegroups.com> <1pup1z7a4f1pq$.of30sejrqe4m.dlg@40tude.net> <87hbmae33k.fsf@ludovic-brenta.org> <1qlmof1bv2m4t.6suzc7ieyv1j$.dlg@40tude.net> <87d3wydxrt.fsf@ludovic-brenta.org> Date: Sat, 15 May 2010 09:46:58 +0200 Message-ID: <1f90y1bvh08f5.13dh2h2anptwy$.dlg@40tude.net> NNTP-Posting-Date: 15 May 2010 09:46:58 CEST NNTP-Posting-Host: dd7c88a0.newsspool4.arcor-online.net X-Trace: DXC=`13KD_`J@8W\PS5Xo=M[RV4IUK On Fri, 14 May 2010 22:38:30 +0200, Ludovic Brenta wrote: > Dmitry A. Kazakov writes: >> On Fri, 14 May 2010 20:43:27 +0200, Ludovic Brenta wrote: >> >>>>>> BTW, Why there should be no traceback when relocatable libraries are >>>>>> used? >>> >>> Traceback is always available, either in symbolic or numeric form. To >>> get the symbolic form, you need the -dbg package installed. >> >> I meant g-trasym.adb. In Fedora's gcc 4.4 it is in the static library, but >> absent in the shared. I don't understand why. > > Maybe the Fedora maintainers can explain? >From g-trasym.ads: "On all platforms except VMS, this package is not intended to be used within a shared library, symbolic tracebacks are only supported for the main executable and not for shared libraries. You should consider using gdb to obtain symbolic traceback in such cases." This reads to me: don't use in a shared library. Maybe they just followed this advice. I admit, I don't understand the text above. In particular, since any library is dead without the main executable, comparing them makes no sense to me. -- Regards, Dmitry A. Kazakov http://www.dmitry-kazakov.de