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,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,3e070dca458e63a6 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.224.190.193 with SMTP id dj1mr10760526qab.6.1358783550355; Mon, 21 Jan 2013 07:52:30 -0800 (PST) X-Received: by 10.49.75.9 with SMTP id y9mr3919786qev.9.1358783550310; Mon, 21 Jan 2013 07:52:30 -0800 (PST) Path: k2ni1457qap.0!nntp.google.com!p13no3933913qai.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Mon, 21 Jan 2013 07:52:30 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=90.194.162.175; posting-account=L2-UcQkAAAAfd_BqbeNHs3XeM0jTXloS NNTP-Posting-Host: 90.194.162.175 References: <90d941f8-4e9f-485d-b2f6-89627d69ac79@googlegroups.com> <50fd3543$0$6548$9b4e6d93@newsspool4.arcor-online.net> <263569d4-2e54-4c2f-886e-e01c8a9d03ae@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <8c72fc78-46f3-4865-81c5-433dd6d61633@googlegroups.com> Subject: Re: More Ganssle on Ada From: Lucretia Injection-Date: Mon, 21 Jan 2013 15:52:30 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Date: 2013-01-21T07:52:30-08:00 List-Id: Ok, let's sort this once and for all. Building an ARM Linux compiler is doable now. The only problem with it is t= hat it doesn't use the unwind-arm.[ch] files in gcc/config/arm but does imp= lement exceptions with setjmp/longjmp. I ave tried to sort this out, it requires someone with more knowledge of th= e RTS than me. Basically, what needs to be done to sort this out is to move= the current DWARF EH code into a new package, and create an ARM equivalent= , this is because the standard unwind and the unwind-arm stuff is very diff= erent and the data would be wrong on the Ada side. I submitted a patch to the GCC ML which does the first part and kind of wor= ks, but fails in the end. The response from AdaCore was something along the= lines "you need to construct and ARM specific exception object," thanks, v= ery helpful. I have built the meta-ada layer for Yocto also, but this doesn't build shar= ed libs at this time as the compiler just won't do it, not sure why at this= time. I have built arm-eabi-none-elf compilers as well and used it for bare metal= programming. So, it's doable, but limited. Luke.