[RTEMS Project] #2256: or1k not supported in librpc

RTEMS trac trac at rtems.org
Tue Feb 10 16:54:27 UTC 2015


#2256: or1k not supported in librpc
---------------------------+------------------
 Reporter:  joel.sherrill  |      Owner:
     Type:  defect         |     Status:  new
 Priority:  normal         |  Milestone:  4.11
Component:  networking     |    Version:  4.11
 Severity:  normal         |   Keywords:
---------------------------+------------------
 This is easy to fix if the or1k has IEEE floating point. It just needs to
 be added to the conditional list.

 or1k-rtems4.11-gcc --pipe  -mno-delay --pipe -DHAVE_CONFIG_H   -I..
 -I../../../lib/include   -g -O2 -Wall -Wimplicit-function-declaration
 -Wstrict-prototypes -Wnested-externs  -mno-delay -MT src/xdr/libxdr_a-
 xdr_float.o -MD -MP -MF src/xdr/.deps/libxdr_a-xdr_float.Tpo -c -o src/xdr
 /libxdr_a-xdr_float.o `test -f 'src/xdr/xdr_float.c' || echo
 '../../../../../rtems/cpukit/librpc/'`src/xdr/xdr_float.c
 ../../../../../rtems/cpukit/librpc/src/xdr/xdr_float.c:121:2: error:
 #error "xdr_float.c: unknown CPU"
  #error "xdr_float.c: unknown CPU"
   ^
 ../../../../../rtems/cpukit/librpc/src/xdr/xdr_float.c: In function
 'xdr_float':
 ../../../../../rtems/cpukit/librpc/src/xdr/xdr_float.c:134:21: error:
 storage size of 'is' isn't known
   struct ieee_single is;
                      ^
 ../../../../../rtems/cpukit/librpc/src/xdr/xdr_float.c:135:20: error:
 storage size of 'vs' isn't known
   struct vax_single vs, *vsp;
                     ^
 ../../../../../rtems/cpukit/librpc/src/xdr/xdr_float.c:146:8: error:
 dereferencing pointer to incomplete type
    vs = *((struct vax_single *)fp);

--
Ticket URL: <http://devel.rtems.org/ticket/2256>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list