<div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 21, 2021 at 7:03 AM Matthew Joyce <<a href="mailto:mfjoyce2004@gmail.com">mfjoyce2004@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Sir,<br>
<br>
I think that makes sense. I'll put some time into it and will follow<br>
up in our first meeting next week.</blockquote><div><br></div><div>I sent an email to newlib@ and cc'ed you but you should subscribe.</div><div><br></div><div>Corinna said that winsup/cygwin/strsig.cc could be a good starting point</div><div>or reference. I tend to think providing the historical BSD interfaces and the</div><div>newer POSIX ones is a good thing. </div><div><br></div><div>psignal() and psiginfo() would be good to provide also but the implementation</div><div>there is strictly Cygwin specific in details. It should be possible to add an</div><div>RTEMS implementation to the RTEMS source for these.</div><div><br></div><div>The other thing I forgot to mention is that when you add a prototype to</div><div>a POSIX header, you need to add a corresponding compile-only test to</div><div>testsuites/psxtests/psxhdrs. Lining up all the headers as a starting point</div><div>and picking at the methods you mentioned would be a good first step.</div><div>Hopefully one set of patches to the headers and you don't touch them</div><div>again for the rest of the summer.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Now I'm about to jump on a<br>
transatlantic flight with my four-year-old (Please wish me<br>
luck)...Thank you again and have a great weekend!<br></blockquote><div><br></div><div>Hope the four year old does well. That's younger than when we first</div><div>did a trip to Europe with our four children. I think the youngest was</div><div>about 10 then. I joked that they all had to be self-propelled with their</div><div>own carry on gear, no stroller, and no car seats.</div><div><br></div><div>--joel </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Sincerely,<br>
<br>
Matt<br>
<br>
On Thu, May 20, 2021 at 10:50 AM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br>
><br>
><br>
><br>
> On Thu, May 20, 2021 at 8:21 AM Matthew Joyce <<a href="mailto:mfjoyce2004@gmail.com" target="_blank">mfjoyce2004@gmail.com</a>> wrote:<br>
>><br>
>> Dr. Joel,<br>
>><br>
>> Thanks! I'd definitely like to get one or two easier ones under my<br>
>> belt first. Based on my initial look for what can be ported, I'd plan<br>
>> to start with dladdr. Sig2str and str2sig have to be re-implemented,<br>
>> but I think they should be fairly straightforward. Once I have those<br>
>> done, I'll start to tackle the others. Does that sound reasonable, or<br>
>> would you have a different recommendation?<br>
><br>
><br>
> That sounds reasonable enough. As a work pattern for adding POSIX<br>
> APIs, it has worked best to assume you will have patches outstanding<br>
> for multiple APIs at the same time. While one is being reviewed, you<br>
> should work on the next.Sometimes the newer ones end up getting<br>
> wrapped up before the first ones posted.<br>
><br>
> Also all the new APIs require adding prototypes to newlib POSIX<br>
> headers. This means tool bumps which means it would be a good idea<br>
> to put together a patch to update the POSIX headers which are in<br>
> newlib to add the new APIs in a batch. This will mean a single bump<br>
> of the newlib version in the RSB which has a reasonable chance of working<br>
> for all the additions.<br>
><br>
> Adding methods as needed to the headers would be a fairly easy<br>
> step and is a prerequisite for a number of your planned methods.<br>
><br>
>><br>
>><br>
>> Also, where can I find the master API tracking CSV file? Thanks again!<br>
><br>
><br>
> It is in rtems-docs<br>
><br>
> <a href="https://git.rtems.org/rtems-docs/tree/posix-compliance/RTEMS-Standards-Compliance.csv" rel="noreferrer" target="_blank">https://git.rtems.org/rtems-docs/tree/posix-compliance/RTEMS-Standards-Compliance.csv</a><br>
><br>
> I don't recall adding the new methods yet and someone internal<br>
> spotted a couple of minor mistakes so it looks like I will be updating<br>
> it soon.<br>
>><br>
>><br>
>> Sincerely,<br>
>><br>
>> Matt<br>
>><br>
>> On Wed, May 19, 2021 at 7:11 PM Joel Sherrill <<a href="mailto:joel@rtems.org" target="_blank">joel@rtems.org</a>> wrote:<br>
>> ><br>
>> ><br>
>> ><br>
>> > On Wed, May 19, 2021 at 9:09 AM Matthew Joyce <<a href="mailto:mfjoyce2004@gmail.com" target="_blank">mfjoyce2004@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Hello RTEMS Community,<br>
>> >><br>
>> >> My name is Matt Joyce and it is a great honor for me to join you as a<br>
>> >> 2021 GSoC student developer! I'm a former active-duty US Army infantry<br>
>> >> officer now serving part-time in the reserves. Since 2019 I've been<br>
>> >> back in school pursuing a BS in Computer Science remotely at Oregon<br>
>> >> State while based with my family in Berlin, Germany.<br>
>> >><br>
>> >> I see that there is a large group of RTEMS developers/users in<br>
>> >> Germany, so one day I hope to be able to meet some of you in person,<br>
>> >> too!<br>
>> ><br>
>> ><br>
>> > Hopefully this will be a fun summer for you.<br>
>> >><br>
>> >><br>
>> >> My project focuses on POSIX compliance. I plan to add multiple new<br>
>> >> methods not currently supported by RTEMS with the intent to improve<br>
>> >> application portability.<br>
>> >> (<a href="https://summerofcode.withgoogle.com/projects/?sp-search=Matthew%20Joyce#6686502693634048" rel="noreferrer" target="_blank">https://summerofcode.withgoogle.com/projects/?sp-search=Matthew%20Joyce#6686502693634048</a>)<br>
>> >> With your guidance, I am excited to dive in and put what I've been<br>
>> >> learning to work and make my first real-world contributions to the<br>
>> >> greater good.<br>
>> ><br>
>> ><br>
>> > Any idea which method(s) you want to tackle first?<br>
>> ><br>
>> > --joel<br>
>> >><br>
>> >><br>
>> >> Thank you very much for this opportunity! I look forward to working with you.<br>
>> >><br>
>> >> Sincerely,<br>
>> >><br>
>> >> Matt<br>
>> >> _______________________________________________<br>
>> >> users mailing list<br>
>> >> <a href="mailto:users@rtems.org" target="_blank">users@rtems.org</a><br>
>> >> <a href="http://lists.rtems.org/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.rtems.org/mailman/listinfo/users</a><br>
</blockquote></div></div>