[PATCH] port newlib for or1k/rtems (avoiding GPL licence problem)
Hesham Moustafa
heshamelmatary at gmail.com
Tue Apr 29 06:57:31 UTC 2014
On Apr 29, 2014 7:54 AM, "Ralf Corsepius" <ralf.corsepius at rtems.org> wrote:
>
> On 04/29/2014 05:20 AM, Hesham Moustafa wrote:
>>
>> Hi,
>>
>> In the last few days, I have been working on porting newlib for
>> or1k/rtems. Joel and Chris mentioned that the previous newlib port has
>> some GPL code which conflicts with RTEMS;
>
> Which? I could be missing something, but I am not seeing such code in [1].
>
By "previous newlib port" I mean this one
https://github.com/heshamelmatary/or1k-rtems/blob/master/patches/newlib-2.1.0-or1k-rtems.diff
I gave generated that patch against upstream or1k/newlib there
https://github.com/openrisc/or1k-src?files=1
Which Chris and Joel cited about its illegal licence.
>
>> No libgloss stuff is being used.
>
> Correct. libgloss stuff is completely irrelevant wrt RTEMS.
>
>
>> Please take a look, I would
>> appreciate your feedback.
>
>
> I am seeing one issue with newlib/libc/machine/or1k/setjmp.S
>
> It is not properly licensed. All it carries is this:
>
> +/* Simple setjmp/longjmp for the OpenRISC 1000 (OR32 ISA).
> + Damjan Lampret, OpenCores.org, Aug 15 2000. */
>
> You'll have to contact a legal copyright holder of this code (I'd guess
Damjan Lampert or representative of opencores.org) and ask him to (re-)
license this code under legal terms which are suitable to newlib.
>
>
>> [1] http://www.doc.ic.ac.uk/~jab00/or32-newlib/newlib-patch
>> [2]
https://github.com/heshamelmatary/or1k-rtems/blob/master/patches/newlib-cvs-or1k-rtems-29-4-2014.diff
>> [3]
https://github.com/heshamelmatary/or1k-rtems/blob/master/patches/gcc-4.8.2-or1k-rtems-29-4-2014.diff
>
>
> Ralf
>
> _______________________________________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20140429/81c7457e/attachment-0001.html>
More information about the devel
mailing list