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: 103376,767ac6b96c80c92c X-Google-NewGroupId: yes X-Google-Attributes: gida07f3367d7,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news3.google.com!feeder.news-service.com!85.214.198.2.MISMATCH!eternal-september.org!.POSTED!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: Ann: Generic Image Decoder v.01 Date: Sun, 27 Jun 2010 22:09:43 +0100 Organization: A noiseless patient Spider Message-ID: References: <2ebefa3c-c2b2-4735-afd1-3383188ae01e@x24g2000pro.googlegroups.com> <103b6253-5895-4867-8aed-677c7dc5f49b@38g2000prp.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Date: Sun, 27 Jun 2010 21:09:44 +0000 (UTC) Injection-Info: mx03.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="25806"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+Ky5hXNrcdBI/T4FLN5+WW6z9kClotlH4=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (darwin) Cancel-Lock: sha1:2ze0CvSTh+7soS9QqZoidG+M28o= sha1:73cLr2ll7Na+daZzDeSKIChXSIU= Xref: g2news1.google.com comp.lang.ada:11956 Date: 2010-06-27T22:09:43+01:00 List-Id: deadlyhead writes: > Searching comp.lang.ada, I've come to understand that in more recent > GNAT versions (later than GNAT 2009?), and hopefully more recent GCCs > (i.e. gcc 4.5.0), GNAT no longer needs libaddr2line[1]. I'm compiling > a new gcc right now. Hopefully this will fix the problem. I'll let > you know. On Mac OS X, GCC 4.5.0's GNAT.Traceback.Symbolic says -- Version used on unimplemented targets -- Run-time symbolic traceback is currently supported on the -- following targets: -- HP-UX -- IRIX -- GNU/Linux x86 -- AIX -- Solaris sparc -- Tru64 -- OpenVMS/Alpha -- Windows NT/XP/Vista -- This version is used on all other targets, it generates a warning -- at compile time if it is with'ed, and the bodies generate -- messages saying that the functions are not implemented. The working version (g-trasym.adb) in the 4.5.0 sources includes package body GNAT.Traceback.Symbolic is pragma Linker_Options ("-laddr2line"); pragma Linker_Options ("-lbfd"); pragma Linker_Options ("-liberty"); and hasn't changed on trunk. Maybe GNAT GPL 2010 will have the promised change ... Anyway, you should be able to find where GNAT.Traceback.Symbolic is referenced, usually in the main program, and revert to plain (hex) tracebacks.