gcc tricore porting

Richard Earnshaw (lists) Richard.Earnshaw@arm.com
Mon Jul 3 14:45:50 GMT 2023


On 03/07/2023 15:34, Joel Sherrill wrote:
> On Mon, Jul 3, 2023, 4:33 AM Claudio Eterno <eterno.claudio@gmail.com>
> wrote:
> 
>> Hi Joel, I'll give an answer ASAP on the newlib and libgloss...
>> I supposed your question were about the licences question on newlib,
>> instead you were really asking what changed on the repo libs...
>>
> 
> It was a bit of both. If they put the right licenses on the newlib and
> libgloss ports, you should be able to use them and eventually submit them.
> But GCC, binutils, and gdb would be gpl and require an assignment to the
> FSF. That is all I meant.

It's not quite as restricted as that.  For GCC, I suggest reading 
https://gcc.gnu.org/contribute.html#legal for more details.

I think there are similar processes in place for binutils as well.  (I'm 
not quite so sure for GDB).

R.

> 
> An option here is to reach out to the authors and ask if they are willing
> to do the FSF assignment. If they are, then any GPL licensed code from them
> might be a baseline.
> 
> It looks like their current products may be based on LLVM.
> 
> --joel
> 
> 
> C.
>>
>>
>> Il giorno dom 2 lug 2023 alle ore 19:53 Claudio Eterno <
>> eterno.claudio@gmail.com> ha scritto:
>>
>>> Hi Joel, can you give me more info regarding newlib or libgloss cases?
>>> Unfortunately I'm a newbie on th9is world...
>>> Thank you,
>>> Claudio
>>>
>>> Il giorno dom 2 lug 2023 alle ore 17:38 Joel Sherrill <joel@rtems.org>
>>> ha scritto:
>>>
>>>>
>>>>
>>>> On Sun, Jul 2, 2023, 3:29 AM Claudio Eterno <eterno.claudio@gmail.com>
>>>> wrote:
>>>>
>>>>> Hi, Joel and Mikael
>>>>> taking a look at the code it seems that the repo owner is higtech
>>>>> <https://hightec-rt.com/> but we have no confirmations.
>>>>> In fact, after a comparison with gcc 9.4.0 original files i see this on
>>>>> a lot of ("WITH_HIGHTEC") [intl.c]:
>>>>> [image: image.png]
>>>>> Probably this version of gcc is a basic version of their tricore-gcc
>>>>> and probably works fine but that repo doesn't show any extra info.
>>>>> Seems also impossible to contact the owner (that account doesn't show
>>>>> any email or other info)..
>>>>> Honestly with these conditions, from gcc development point of view,
>>>>> that repo has no value.
>>>>>
>>>>
>>>> Without an assignment, you can't submit that code. That's a blocker on
>>>> using it if there isn't one.
>>>>
>>>> But you can file an issue against the repo asking questions.
>>>>
>>>>
>>>> Anyway this is a good starting point...
>>>>>
>>>>
>>>> Maybe not if you can't submit it. Anything that needs to be GOL licensed
>>>> and owned by the FSF is off limits.
>>>>
>>>> But areas with permissive licenses might be ok if they stuck with those.
>>>> Look at what they did with newlib and libgloss.
>>>>
>>>> --joel
>>>>
>>>>
>>>>> C.
>>>>>
>>>>>
>>>>>
>>>>> Il giorno lun 19 giu 2023 alle ore 18:55 Joel Sherrill <joel@rtems.org>
>>>>> ha scritto:
>>>>>
>>>>>>
>>>>>>
>>>>>> On Mon, Jun 19, 2023, 10:36 AM Mikael Pettersson via Gcc <
>>>>>> gcc@gcc.gnu.org> wrote:
>>>>>>
>>>>>>> (Note I'm reading the gcc mailing list via the Web archives, which
>>>>>>> doesn't let me
>>>>>>> create "proper" replies. Oh well.)
>>>>>>>
>>>>>>> On Sun Jun 18 09:58:56 GMT 2023, <eterno.claudio@gmail.com> wrote:
>>>>>>>> Hi, this is my first time with open source development. I worked in
>>>>>>>> automotive for 22 years and we (generally) were using tricore
>>>>>>> series for
>>>>>>>> these products. GCC doesn't compile on that platform. I left my
>>>>>>> work some
>>>>>>>> days ago and so I'll have some spare time in the next few months. I
>>>>>>> would
>>>>>>>> like to know how difficult it is to port the tricore platform on
>>>>>>> gcc and if
>>>>>>>> during this process somebody can support me as tutor and... also if
>>>>>>> the gcc
>>>>>>>> team is interested in this item...
>>>>>>>
>>>>>>> https://github.com/volumit has a port of gcc + binutils + newlib +
>>>>>>> gdb
>>>>>>> to Tricore,
>>>>>>> and it's not _that_ ancient. I have no idea where it originates from
>>>>>>> or how complete
>>>>>>> it is, but I do know the gcc-4.9.4 based one builds with some tweaks.
>>>>>>>
>>>>>>
>>>>>>
>>>>>> https://github.com/volumit/package_494 says there is a port in
>>>>>>> process to gcc 9. Perhaps digging in and assessing that would be a good
>>>>>>> start.
>>>>>>>
>>>>>>
>>>>>> One question is whether that code has proper assignments on file for
>>>>>> ultimate inclusion. That should be part of your assessment.
>>>>>>
>>>>>> --joel
>>>>>>
>>>>>>>
>>>>>>
>>>>>> I don't know anything more about it, I'm just a collector of
>>>>>>> cross-compilers for
>>>>>>> obscure / lost / forgotten / abandoned targets.
>>>>>>>
>>>>>>> /Mikael
>>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>> Claudio Eterno
>>>>> via colle dell'Assietta 17
>>>>> 10036 Settimo Torinese (TO)
>>>>>
>>>>
>>>
>>> --
>>> Claudio Eterno
>>> via colle dell'Assietta 17
>>> 10036 Settimo Torinese (TO)
>>>
>>
>>
>> --
>> Claudio Eterno
>> via colle dell'Assietta 17
>> 10036 Settimo Torinese (TO)
>>
> 



More information about the Gcc mailing list