[PATCH] port newlib for or1k/rtems (avoiding GPL licence problem)

Ralf Corsepius ralf.corsepius at rtems.org
Tue Apr 29 05:47:37 UTC 2014


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].

> 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




More information about the devel mailing list