From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id 861D23858D28 for ; Mon, 3 Jul 2023 14:45:52 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 861D23858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 0F2EF2F4; Mon, 3 Jul 2023 07:46:35 -0700 (PDT) Received: from [10.2.78.54] (e120077-lin.cambridge.arm.com [10.2.78.54]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 981563F73F; Mon, 3 Jul 2023 07:45:51 -0700 (PDT) Message-ID: Date: Mon, 3 Jul 2023 15:45:50 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0 Subject: Re: gcc tricore porting Content-Language: en-GB To: joel@rtems.org, Claudio Eterno Cc: Mikael Pettersson , GCC Development References: From: "Richard Earnshaw (lists)" In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3492.7 required=5.0 tests=BAYES_00,KAM_DMARC_NONE,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,KAM_SHORT,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,TXREP,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 03/07/2023 15:34, Joel Sherrill wrote: > On Mon, Jul 3, 2023, 4:33 AM Claudio Eterno > 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 >>> ha scritto: >>> >>>> >>>> >>>> On Sun, Jul 2, 2023, 3:29 AM Claudio Eterno >>>> wrote: >>>> >>>>> Hi, Joel and Mikael >>>>> taking a look at the code it seems that the repo owner is higtech >>>>> 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 >>>>> 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, 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) >> >