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,WEIRD_PORT 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-7-bit Path: g2news2.google.com!news3.google.com!feeder.news-service.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Ludovic Brenta Newsgroups: comp.lang.ada Subject: Re: About static libraries and Debian policy Date: Sat, 15 May 2010 23:48:05 +0200 Organization: A noiseless patient Spider Message-ID: <87sk5sdega.fsf@ludovic-brenta.org> References: <85f51aeb-cac9-4591-921a-a7f50c8ef142@a21g2000yqn.googlegroups.com> <1pup1z7a4f1pq$.of30sejrqe4m.dlg@40tude.net> <87hbmae33k.fsf@ludovic-brenta.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sat, 15 May 2010 21:48:06 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="nHQ58sdsUWLzBSs89yL2wQ"; logging-data="29028"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19e29fmGYzx0w5ajC2+ZXaO" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (gnu/linux) Cancel-Lock: sha1:giBBxBaGr4HH5zZjGK0cREv+VRA= sha1:g+8wP+xwvCzdWsT7q1duzEeKs0A= Xref: g2news2.google.com comp.lang.ada:11650 Date: 2010-05-15T23:48:05+02:00 List-Id: Simon Wright writes on comp.lang.ada: > Ludovic Brenta writes: > >> That's because GNAT GPL includes a non-standard 'libaddr2line.a' >> produced from binutils (and therefore pure GPL) and calls that to >> produce the symbolic tracebacks. GCC (from the FSF) lacks this >> library. I patched GCC to use an alternate mechanism instead, >> i.e. fork()/exec() and call /usr/bin/addr2line. This restores the >> functionality in the FSF version of GNAT. > > Ludovic, could you point me towards the patch for this? On Mac OS X, we > don't have addr2line, the equivalent is atos. Latest version: http://green.ada-france.org:8081/revision/file/adfe332edf9057b6de622519fd9161421c5c9c76/debian/patches/ada-symbolic-tracebacks.diff HTH -- Ludovic Brenta.