comp.lang.ada
 help / color / mirror / Atom feed
From: "Dan'l Miller" <optikos@verizon.net>
Subject: Re: DragonEgg has been revived
Date: Thu, 24 May 2018 09:44:21 -0700 (PDT)
Date: 2018-05-24T09:44:21-07:00	[thread overview]
Message-ID: <f2140d60-f255-4c79-a5f1-247b881912ba@googlegroups.com> (raw)
In-Reply-To: <294fa0cd-ec72-4f0f-8065-0a3d5e1087fa@googlegroups.com>

On Thursday, May 24, 2018 at 10:38:10 AM UTC-5, Dan'l Miller wrote:
> Here is where the fallacious theorem was postulated.  Shark8 years for “generat[ing] code for … targets
> without ••••••••••any•••••••••• GPL restrictions on the generated code”.  

Btw, I meant:
Shark8 yearns for, not years for (although I am pretty sure that he has been yearning for that for years).

> Btw, while we are on the topic of re-compiling Target Code, it seems that another act on the Target Code
> written by FSF GCC as licensed by GPLv3-with-RLEv3.1 might be dodgy/sketchy/perhaps-not-permitted
> without-providing-original-source-code-as-per-GPLv3's-terms: 
>
> 4) Imagine a (closed-source EULA-licensed paid-software) machine-code-to-machine-code
> translator/re-compiler that coverts from one ISA-and-ABI to another drastically-different ISA-and-ABI.
> The input Target Code written by FSF GCC could be considered IR to this re-compiler.  The resulting
> output machine-code on the drastically-different ISA and ABI could* revert under the RLEv3.1 to
> full-fledged GPLv3. 
>
> * if someone were to consider the input Target Code as IR, much the same as the McSema line of
> reasoning. 
>
> And then the Installation Information portion of the GPLv3 could come into play, unless the re-compiled
> drastically-different-ISA-&-ABI machine-code was installed on something “industrial” sufficiently
> resembling a fighter-jet cockpit or telephone switch in a central office or metal-stamping machine on a
> factory floor.  So that close-source re-compiler that someone paid money to EULA-license its usage
> must now be provided along with the source code for free to any possessor on any hardware whose
> “significant mode of use” is at least partially non-“industrial”. 

Oh great.  Now I have convinced myself that there is enough sketchiness/dodginess in this vicinity to question whether Apple's forthcoming App-Store LLVM-bitcode-IR recompiler wouldn't satisfy any one or more required terms of any GPLv3-with-RLEv3.1-licensed compiler (FSF or otherwise) in such as way as to cause both:
1) the app to need to provide its Source Code;
and
2) Apple to need to provide the Installation Information and Corresponding Source Code on a “consumer” device that is not-“sufficiently” “industrial”, where that consumer device (e.g., an Apple iDevice) might be a User Product in the terms of GPLv3.
and thus
3) merely compiling the app with GPLv3-with-RLEv3.1-licensed compiler (and the app invoking at least one subroutine in the RLEv3.1-licensed runtime) could conceivably be enough for Apple to reject such apps from the App Store, so that Apple need not satisfy #2 above.

https://thenextweb.com/apple/2015/06/17/apples-biggest-developer-news-at-wwdc-that-nobodys-talking-about-bitcode

Apparently Apple is either working on a McSema-esque technology or would require the app to be (also?) provided in the form of LLVM-bitcode-IR (in addition? to ARM-processor machine-code) at the time of submission to the App Store for approval.

Dang it.  The possibility of sketchiness/dodginess in this vicinity of FSF GCC licensing (regarding IR tools outside of my control, downstream from me complicating my life upstream) erodes part of my motivation for GELI as proposed earlier in a branch of this thread

GELI project:
(i.e., the GPLv3-with-RLEv3.1-licensed GNAT-with-LLVM-&-Polly-backend), where GELI would be an LSP peer of the GIGI tree-transducer in FSF GNAT.  When an “llvm-”-prefixed target name is on the GNAT command line, GELI would shunt* off to LLVM-world from the point of the Ada iterator/cursor walking GNAT's fully-semantically-adorned Ada-IR tree.  (Non-“llvm-”-prefixed targets on the GNAT command line would utilize the traditional GIGI-GENERIC-highGIMPLE-lowGIMPLE-RTL backend.)

* all within one GCC executable without writing out any IR to files, so as to comply with my stricter interpretation of the terms of RLEv3.1 intertwined with the terms of GPLv3.

One of my prime motivators for GELI and its GPLv3-with-RLEv3.1-licensed LLVM-backended FSF GNAT was to utilize Ada2012 to write iDevice apps for submission to the App Store (since on-nonjailbroken-iDevice debugging by gdb is disallowed nowadays due to gdb's lack of codesigning after Apple's switchover to LLVM-world toolchain).

Dang it.   Hmmmmm.   Must rethink how to help Byron's generation of LLVM bitcode IR arrive sooner.

  reply	other threads:[~2018-05-24 16:44 UTC|newest]

Thread overview: 52+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21 21:37 DragonEgg has been revived Simon Clubley
2018-05-21 22:20 ` Dan'l Miller
2018-05-21 22:26 ` Luke A. Guest
2018-05-22 12:12   ` Simon Clubley
2018-05-22  1:02 ` Dan'l Miller
2018-05-22 12:29   ` Simon Clubley
2018-05-22 12:41     ` Luke A. Guest
2018-05-22 15:25       ` Dan'l Miller
2018-05-22 19:40     ` Shark8
2018-05-22 20:17       ` Dan'l Miller
2018-05-22 21:04         ` Dan'l Miller
2018-05-22 22:33         ` Shark8
2018-05-23  1:58           ` Dan'l Miller
2018-05-23  7:26     ` Simon Wright
2018-05-23  8:11       ` Luke A. Guest
2018-05-23 14:10       ` Dan'l Miller
2018-05-23 15:46       ` Dan'l Miller
2018-05-23 15:51       ` Dan'l Miller
2018-05-23 19:27         ` Chris M Moore
2018-05-23 20:30           ` Dan'l Miller
2018-05-23 22:18             ` Chris M Moore
2018-05-24  0:12               ` Dan'l Miller
2018-05-24  8:00                 ` Simon Wright
2018-05-24  7:19         ` Simon Wright
2018-05-24 15:38           ` Dan'l Miller
2018-05-24 16:44             ` Dan'l Miller [this message]
2018-05-24 18:07               ` Lucretia
2018-05-25  0:09                 ` Dan'l Miller
2018-05-24 17:19             ` Simon Wright
2018-05-24 19:26               ` Dan'l Miller
2018-05-24 21:59                 ` Chris M Moore
2018-05-24 22:15                   ` Dan'l Miller
2018-05-24 22:22                     ` Dan'l Miller
2018-05-25  0:19                   ` Luke A. Guest
2018-05-25 13:16                     ` Simon Clubley
2018-05-25 13:29                       ` Lucretia
2018-05-25 17:08                         ` Simon Wright
2018-05-25 18:09                           ` Dan'l Miller
2018-05-25 16:25                     ` Jeffrey R. Carter
2018-05-25 17:01                       ` Dan'l Miller
2018-05-25  1:54                   ` Dan'l Miller
2018-05-25  2:56                     ` Luke A. Guest
2018-05-25  3:38                       ` Dan'l Miller
2018-05-25 11:12                         ` Brian Drummond
2018-05-24 20:50               ` Dan'l Miller
2018-05-24 20:56               ` Dan'l Miller
2018-05-24 21:00                 ` Dan'l Miller
2018-05-24 20:23             ` G. B.
2018-05-25  7:16             ` Chris M Moore
2018-05-25  8:09               ` Simon Wright
2018-05-25  8:28             ` Simon Wright
2018-05-25 20:02               ` Dan'l Miller
replies disabled

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