<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 9, 2016 at 2:49 PM, Gedare Bloom <span dir="ltr"><<a href="mailto:gedare@rtems.org" target="_blank">gedare@rtems.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Wed, Nov 9, 2016 at 3:12 PM, Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br>
> On Nov 9, 2016 2:05 PM, "Gedare Bloom" <<a href="mailto:gedare@rtems.org">gedare@rtems.org</a>> wrote:<br>
>><br>
>> This is/should be based on the definition of _POSIX_CLOCK_SELECTION<br>
>> and we get this from newlib/libc/include/sys/<wbr>features.h as of commit<br>
>> 9a80679aae9098aa189f7ea8ce7892<wbr>e2c092f3be in newlib.git. If there is a<br>
>> warning, then probably rsb is not getting a new enough newlib for it.<br>
><br>
> Yep. Saw that and thought a POSIX_C_SOURCE define would trip it but it<br>
> didn't.<br>
><br>
> We are at newlib-2.4.0.20160527-1. There is a 20160923.<br>
><br>
> Do we need to upgrade newlib?<br>
><br>
</span>Yes.<br>
<span class=""><br></span></blockquote><div><br></div><div> And I just had to report to newlib a build error. Hopefully we</div><div>can get a newer snapshot that builds. :(</div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
> And .. did we get resolution on my patch to upgrade binutils?<br>
><br>
<br>
</span>Chris asked for testing, and Sebastian said to just make sure it<br>
builds on all targets.<br>
<div class="HOEnZb"><div class="h5"><br></div></div></blockquote><div><br></div><div>OK. I will push it in a little while. I have been using it for a couple</div><div>of months and just forgot to submit it.</div><div><br></div><div>--joel</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">
> --joel<br>
><br>
><br>
>> On Wed, Nov 9, 2016 at 2:10 PM, Joel Sherrill <<a href="mailto:joel@rtems.org">joel@rtems.org</a>> wrote:<br>
>> > Hi<br>
>> ><br>
>> > In a build sweep, I noticed that every use of clock_nanosleep()<br>
>> > has a warning for it not being defined. I don't seem to be able<br>
>> > to find the magic to turn on the prototype in time.h. Does<br>
>> > anyone see what needs to be done?<br>
>> ><br>
>> > ==================<br>
>> > #define _POSIX_C_SOURCE 200112L<br>
>> ><br>
>> > #include <time.h><br>
>> ><br>
>> > void f(void)<br>
>> > {<br>
>> > int rc;<br>
>> ><br>
>> > rc = clock_nanosleep();<br>
>> > }<br>
>> > ==================<br>
>> ><br>
>> > Thanks.<br>
>> ><br>
>> > --joel<br>
>> ><br>
>> > ______________________________<wbr>_________________<br>
>> > devel mailing list<br>
>> > <a href="mailto:devel@rtems.org">devel@rtems.org</a><br>
>> > <a href="http://lists.rtems.org/mailman/listinfo/devel" rel="noreferrer" target="_blank">http://lists.rtems.org/<wbr>mailman/listinfo/devel</a><br>
</div></div></blockquote></div><br></div></div>