[RTEMS Project] #3765: FreeBSD and Newlib qsort_r do not match

RTEMS trac trac at rtems.org
Sun Jul 7 22:21:33 UTC 2019

#3765: FreeBSD and Newlib qsort_r do not match
 Reporter:  Chris Johns     |       Owner:  (none)
     Type:  defect          |      Status:  new
 Priority:  normal          |   Milestone:  5.1
Component:  network/libbsd  |     Version:  5
 Severity:  normal          |  Resolution:
 Keywords:                  |  Blocked By:
 Blocking:                  |

Comment (by Chris Johns):

 Replying to [comment:1 Joel Sherrill]:
 > http://austingroupbugs.net/view.php?id=900
 > Read that. Can we push a but on FreeBSD?

 I am not sure. FreeBSD uses user space labels for calls with different
 signatures in the kernel and that is a pain for us so where we start.

 After a number of hours of playing around with NetSNMP and LibBSD I have
 had to park it. There are other places where things are even harder to
 resolve, for example NetSNMP in mibII's `ip.c` has a line `struct ipstats
 ipstats` where the struct is a kernel one and we have remapped the name in
 a macro.

 I am sure NetSMP can be made to build however I do not have the time at
 the moment.

Ticket URL: <http://devel.rtems.org/ticket/3765#comment:2>
RTEMS Project <http://www.rtems.org/>
RTEMS Project

More information about the bugs mailing list