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 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!news2.google.com!npeer02.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!nntp.club.cc.cmu.edu!feeder.erje.net!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: About static libraries and Debian policy Date: Sat, 15 May 2010 12:07:00 +0100 Organization: A noiseless patient Spider Message-ID: 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 11:07:05 +0000 (UTC) Injection-Info: mx02.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="24888"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19ehf4CbsTHc9jGQn7z0F+uEnEVvBYok0Q=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:8OgD5F8NxYTH6tm1DNSzJ9ReFpI= sha1:xru9P/Ka4b7jAj0E9C49zkFmY1k= Xref: g2news2.google.com comp.lang.ada:11634 Date: 2010-05-15T12:07:00+01:00 List-Id: 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.