comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada on Apple's new procesors
Date: Wed, 01 Jul 2020 12:47:38 +0100	[thread overview]
Message-ID: <lyftabe9t1.fsf@pushface.org> (raw)
In-Reply-To: rdghr5$g1$2@gioia.aioe.org

"Luke A. Guest" <laguest@archeia.com> writes:

> On 30/06/2020 22:57, Simon Wright wrote:

>>            The RTS released to customers is 99.99% the same, but it
>> hasn't had the runtime exception removed. Likewise the FSF GCC RTS. So
>
> Nope. The FSF GCC has the LE in the COPYING.RUNTIME file.

I don't understand your point.The preamble in COPYING.RUNTIME says

   This GCC Runtime Library Exception ("Exception") is an additional
   permission under section 7 of the GNU General Public License, version
   3 ("GPLv3"). It applies to a given file (the "Runtime Library") that
   bears a notice placed by the copyright holder of the file stating
   that the file is governed by GPLv3 along with this Exception.

   When you use GCC to compile a program, GCC may combine portions of
   certain GCC header files and runtime libraries with the compiled
   program. The purpose of this Exception is to allow compilation of
   non-GPL (including proprietary) programs to use, in this way, the
   header files and runtime libraries covered by this Exception.

If GNAT CE was inadvertently released with COPYING.RUNTIME there would
be no effect because none of the RTS files "bears a notice placed by the
copyright holder of the file stating that the file is governed by GPLv3
along with this Exception".

>> The only reason that the GPL and the runtime exception are involved
>> at all is because the RTS is released under those terms. If I write
>> my own (clean-room) runtime under say the MIT license then the fact
>> that a developer uses the GCC compiler (or GNAT-LLVM) has no effect
>> on how they propagate the product; and since the GPL and the runtime
>> exception aren't involved in the first place, using LLVM IR can't
>> make any difference.
>
> Again, you're missing the whole point of this thread, it's the IR not
> the runtime, that's the issue.

If you want to use the FSF Ada RTS, you run up against this in the LE:

   "Target Code" refers to output from any compiler for a real or
   virtual target processor architecture, in executable form or suitable
   for input to an assembler, loader, linker and/or execution
   phase. Notwithstanding that, Target Code does not include data in any
   format that is used as a compiler intermediate representation, or
   used for producing a compiler intermediate representation.

One would expect you'll have a difficult time persuading anyone that
something called "LLVM Intermediate Representation" isn't an
intermediate representation.

[1] says "The LLVM code representation is designed to be used in three
different forms: as an in-memory compiler IR, as an on-disk bitcode
representation (suitable for fast loading by a Just-In-Time compiler),
and as a human readable assembly language representation", which to me
precisely matches "data in any format that is used as a compiler
intermediate representation, or used for producing a compiler
intermediate representation".

[1] https://llvm.org/docs/LangRef.html#introduction

  reply	other threads:[~2020-07-01 11:47 UTC|newest]

Thread overview: 71+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-22 22:53 Ada on Apple's new procesors Jerry
2020-06-23 10:42 ` Vadim Godunko
2020-06-23 10:43 ` Luke A. Guest
2020-06-23 16:16   ` Optikos
2020-06-23 17:52     ` Luke A. Guest
2020-06-23 20:25       ` Optikos
2020-06-23 23:07         ` Luke A. Guest
2020-06-24  1:02           ` Optikos
2020-06-24 10:48             ` Luke A. Guest
2020-06-24 15:12               ` Optikos
2020-06-24 15:38                 ` Luke A. Guest
2020-06-24 16:35                   ` Simon Wright
2020-06-24 17:58                     ` Luke A. Guest
2020-06-24 18:18                       ` Stephen Leake
2020-06-24 18:30                         ` Luke A. Guest
2020-06-24 18:37                         ` Wesley Pan
2020-06-24 18:55                         ` Optikos
2020-06-24 19:58                           ` Luke A. Guest
2020-06-24 19:06                     ` Optikos
2020-06-24 19:26                       ` Simon Wright
2020-06-24 20:03                         ` Luke A. Guest
2020-06-25 10:25                           ` Simon Wright
2020-06-25 10:49                             ` Luke A. Guest
2020-06-25 11:08                               ` Simon Wright
2020-06-24 20:02                       ` Luke A. Guest
2020-06-25  7:21           ` charlet
2020-06-25  9:55             ` Luke A. Guest
2020-06-25 10:14               ` charlet
2020-06-25 11:03                 ` Simon Wright
2020-06-25 11:25                   ` Luke A. Guest
2020-06-25 12:50                     ` Luke A. Guest
2020-06-29 10:33                       ` Luke A. Guest
2020-06-25 16:15                 ` Optikos
2020-06-30 11:16                   ` Fabien Chouteau
2020-06-30 12:28                     ` Optikos
2020-06-30 13:28                       ` Luke A. Guest
2020-06-30 13:26                     ` Luke A. Guest
2020-06-30 14:35                       ` charlet
2020-06-30 14:46                         ` Luke A. Guest
2020-06-30 14:59                           ` charlet
2020-06-30 15:15                             ` Luke A. Guest
2020-06-30 19:12                             ` Optikos
2020-06-30 20:15                               ` Simon Wright
2020-06-30 20:20                                 ` Dennis Lee Bieber
2020-06-30 20:20                                 ` Luke A. Guest
2020-06-30 22:07                                   ` Wesley Pan
2020-06-30 23:25                                     ` Luke A. Guest
2020-07-01  4:46                                 ` Optikos
2020-07-01  9:23                                   ` Fabien Chouteau
2020-07-01 11:03                                     ` Simon Wright
2020-07-01 12:55                                     ` Optikos
2020-07-03  0:51                                     ` Wesley Pan
2020-07-03 11:08                                     ` gautier_niouzes
2020-06-30 20:01                         ` Simon Wright
2020-06-30 20:23                           ` Luke A. Guest
2020-06-30 21:57                             ` Simon Wright
2020-06-30 23:27                               ` Luke A. Guest
2020-07-01 11:47                                 ` Simon Wright [this message]
2020-07-02  9:54                                   ` Simon Wright
2020-07-02 19:56                                     ` Optikos
2020-07-03 17:18                                     ` antispam
2020-07-03 18:31                                       ` Optikos
2020-06-24 19:18     ` Simon Wright
2020-06-24 20:06       ` Luke A. Guest
2020-06-24 20:09         ` Luke A. Guest
2020-06-25  0:33       ` Optikos
2021-02-09  4:51 ` Jerry
2021-02-09  7:07   ` Luke A. Guest
2021-02-09 12:24     ` Simon Wright
2021-02-09 18:21   ` Brian Drummond
2021-02-12 19:14     ` Andreas ZEURCHER
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox