<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Apr 15, 2016 at 4:18 AM, Chris Johns <span dir="ltr"><<a href="mailto:chrisj@rtems.org" target="_blank">chrisj@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=""><br>
> On 15 Apr 2016, at 7:13 PM, Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br>
><br>
><br>
><br>
>> On 15/04/16 10:28, Chris Johns wrote:<br>
>>> On 15/04/2016 18:22, Sebastian Huber wrote:<br>
>>><br>
>>>> On 15/04/16 09:53, Chris Johns wrote:<br>
>>>> The following is just a small sample of the errors I am seeing with<br>
>>>> the latest tools building libbsd. Anyone else seeing these?<br>
>>><br>
>>> What are the latest tools for you in this case?<br>
>><br>
>> tools/rtems-gcc-6-20160327-newlib-2.4.0-1<br>
><br>
> Ok, I didn't use this tool set up. I work currently with the latest Newlib to sort out the <sys/types.h> incompatibilities.<br>
><br>
> I do a RSB build now and have a look at this next week.<br>
><br>
<br>
</span>Thanks. Joel will be about sometime soon. I am off and out for the weekend ... my week does start before yours. :)<br>
<div class="HOEnZb"><div class="h5"><br>
>><br>
>> Reverting to tools/rtems-gcc-6-20160228-newlib-2.3.0.20160226-1 get further not breaks with a different error ...<br>
>><br>
>> In file included from /opt/work/rtems/4.12/i386-rtems4.12/include/sys/time.h:47:0,<br>
>>                 from /opt/work/chris/rtems/libbsd/rtems-libbsd.master/rtemsbsd/include/rtems/bsd/sys/time.h:34,<br>
>>                 from /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/contrib/libpcap/pcap/pcap.h:47,<br>
>>                 from ../../freebsd/contrib/libpcap/pcap-int.h:39,<br>
>>                 from ../../freebsd/contrib/libpcap/scanner.l:51:<br>
>> /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:104:18: error: unknown type name 'fd_set'<br>
>> int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,<br>
>>                  ^~~~~~<br>
>> /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:104:38: error: unknown type name 'fd_set'<br>
>> int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,<br>
>>                                      ^~~~~~<br>
>> /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:104:58: error: unknown type name 'fd_set'<br>
>> int pselect(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,<br>
>>                                                          ^~~~~~<br>
>> /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:109:17: error: unknown type name 'fd_set'<br>
>> int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);<br>
>>                 ^~~~~~<br>
>> /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:109:27: error: unknown type name 'fd_set'<br>
>> int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);<br>
>>                           ^~~~~~<br>
>> /opt/work/chris/rtems/libbsd/rtems-libbsd.master/freebsd/sys/sys/select.h:109:37: error: unknown type name 'fd_set'<br>
>> int select(int, fd_set *, fd_set *, fd_set *, struct timeval *);<br>
>>                                     ^~~~~~<br>
>> Chris<br>
><br>
> Yes, this is due to a bug in Newlib fixed with a later snapshot.<br><br></div></div></blockquote><div><br></div><div>Jeff and I both have built rtems-libbsd with the latest RSB tools for i386 and</div><div>didn't see any issues.  Chris.. you got me through a waf submodule update</div><div>yesterday and it built fine after that.</div><div><br></div><div>All I can say that I expected issues due to the feature guard changes and</div><div>as soon as Sebastian's patch set is in and there is a newlib snapshot, we</div><div>need to bump the tools again.</div><div><br></div><div>In the mean time, do we want the RSB to apply that patch? We also have</div><div>the crt0.c one.</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">
> --<br>
> Sebastian Huber, embedded brains GmbH<br>
><br>
> Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
> Phone   : +49 89 189 47 41-16<br>
> Fax     : +49 89 189 47 41-09<br>
> E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a><br>
> PGP     : Public key available on request.<br>
><br>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
><br>
<br>
_______________________________________________<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/mailman/listinfo/devel</a></div></div></blockquote></div><br></div></div>