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,48e1a3c594fb62e8 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,UTF8 Path: g2news2.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: SPARK Date: Thu, 20 May 2010 07:21:43 +0100 Organization: A noiseless patient Spider Message-ID: References: <42a7e70b-b780-4f86-83ca-6cf79ff81dd1@f14g2000vbn.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Date: Thu, 20 May 2010 06:21:44 +0000 (UTC) Injection-Info: mx01.eternal-september.org; posting-host="KCXegvZb5vh43D+f3BR6Ew"; logging-data="26376"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/dWfSUBWtfn23NjKCAYlXueBX5lR5nh5c=" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (darwin) Cancel-Lock: sha1:qZpJmgPGiRYd60p9KZDwXPAO0vM= sha1:is6pZSJAt3X5jkH2DR8O2RGn3A0= Xref: g2news2.google.com comp.lang.ada:11786 Date: 2010-05-20T07:21:43+01:00 List-Id: "Yannick DuchĂȘne (Hibou57)" writes: >> The GPL SPARK 8.1.1 binary release doesn't run well under Mac OS X Snow >> Leopard (problems with exception handling in 64-bit executables). > Where does the SPARK executable makes use of exceptions ? I have read > something asserting the SPARK system is it-self checked to be runtime > exceptions free. Perhaps this is in an external dependency part. Yes; the traceback is #0 0x00007fff82610886 in __kill () #1 0x00007fff826b0eae in abort () #2 0x00000001000837ce in uw_init_context_1 () #3 0x00000001000838e8 in _Unwind_Backtrace () #4 0x00000001000c8279 in __gnat_backtrace () #5 0x00000001000c42dd in system__traceback__call_chain () #6 0x0000000100088259 in ada__exceptions__call_chain () #7 0x0000000100087a61 in ada__exceptions__exception_propagation__propagate_exceptionXn () #8 0x0000000100088548 in __gnat_raise_nodefer_with_msg () #9 0x00000001000885aa in __gnat_raise_exception () #10 0x00000001000b5b87 in system__file_io__open () #11 0x000000010009744e in ada__text_io__open () #12 0x0000000100023f2f in spark_io__open () #13 0x000000010002b7be in sparkmake__openorcreatefile.1909 () #14 0x000000010002c083 in _ada_sparkmake () so I probaby had some missing file. If the SPARK system itself s excetion-free, and the RTS makes no use of exceptions internally, maybe this is worth pursuing .. adds to the difficulties, though.