comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: Ada on Apple's new procesors
Date: Tue, 30 Jun 2020 21:01:59 +0100	[thread overview]
Message-ID: <lyzh8ke30o.fsf@pushface.org> (raw)
In-Reply-To: a432e928-3773-424f-84da-6abf5fe430e3o@googlegroups.com

charlet@adacore.com writes:

>> That is for uploading of GPL'd software to the app store, that is not
>> what we are talking about here. This is a completely different
>> matter.
>> 
>> What we are talking about is whether the GNAT-LLVM backend violates
>> the GPL IR clause, enacting it in the final binary.
>> 
>> We need clarification on whether the translation from GCC's IR to
>> LLVM's IR invokes this clause. I'm not sure if GNAT final IR before
>> the GNAT-LLVM backend is GENERIC or GIMPLE.
>
> GNAT LLVM doesn't use nor depend on GCC at all: it goes directly from
> the GNAT tree to LLVM bitcode, there is never any GENERIC nor GIMPLE
> in sight by design and never can be (unlike with the old DraggonEgg
> FWIW).

It seems to me that there's a lot of argument about things which can't
or won't be changed.

AdaCore have produced GNAT-LLVM as a proof of concept, aimed really at
targets not supported by GCC but of interest to AdaCore's customers.

GNAT-LLVM code itself is (C) AdaCore, and is GPLv3. The gcc/ada code is
(C) FSF, and is GPLv3.

No change there.

The current build takes the RTS from FSF GCC, though clearly it could
take it from elsewhere (e.g. some bare metal RTS).

That RTS is (C) FSF, GPLv3 + runtime exception.

Some here have thought, Aha! LLVM, RTS with runtime exception, people
could produce apps for iOS!!!!

Then, cold reality strikes: it looks as though there's a conflict
between the actual terms of the runtime exception and Apple's
requirements for code to be submitted to the App Store (it needs to be
in LLVM IR or equivalent); the code would very likely lose the
protection of the runtime license umbrella.

Now, guys, given that there's Apple on one side standing on a mountain
of money and a prickly attitude to what they'll accept for their app
store, and on the other side a very much smaller developer community,
who's going to risk going to court to put a GNAT app on to the App
Store?

Whether you could make such an app and run it on iPhones privately,
without going through Apple & the App Store, I don't know. I'm sure the
NSA can.

================================

There just might be a way round this: write your own clean-room RTS and
licence it however you please! If you didn't need tasking or most of the
Annexes, it wouldn't be that bad.

  parent reply	other threads:[~2020-06-30 20:01 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 [this message]
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
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