RSB Missing Patch?

Joel Sherrill joel.sherrill at oarcorp.com
Wed Jul 2 13:31:39 UTC 2014


Hi

I think the RSB is missing a patch for newlib for 4.11 or the newlib
version needs to be bumped.

I consistently get this in SMP builds:

sparc-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I..
-I../../cpukit/../../../sis/lib/include   -mcpu=cypress -O2 -g
-ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
src/libscore_a-cpuset.o -MD -MP -MF src/.deps/libscore_a-cpuset.Tpo -c
-o src/libscore_a-cpuset.o `test -f 'src/cpuset.c' || echo
'../../../../../../rtems/c/src/../../cpukit/score/'`src/cpuset.c
In file included from
../../cpukit/../../../sis/lib/include/rtems/score/schedulerpriorityimpl.h:26:0,
                 from
../../../../../../rtems/c/src/../../cpukit/score/src/schedulerprioritysmp.c:28:
../../cpukit/../../../sis/lib/include/rtems/score/schedulerimpl.h: In
function '_Scheduler_default_Set_affinity_body':
../../cpukit/../../../sis/lib/include/rtems/score/schedulerimpl.h:451:7:
warning: passing argument 3 of 'CPU_ISSET_S' discards 'const' qualifier
from pointer target type [enabled by default]
       && ( CPU_ISSET_S( (int) cpu_index, cpusetsize, cpuset )
       ^
In file included from
/home/joel/rtems-4.11-work/tools/sparc-rtems4.11/include/sys/types.h:326:0,
                 from
/home/joel/rtems-4.11-work/tools/sparc-rtems4.11/include/sys/time.h:9,
                 from
../../cpukit/../../../sis/lib/include/rtems/score/timestamp.h:43,
                 from
../../cpukit/../../../sis/lib/include/rtems/score/percpu.h:29,
                 from
../../cpukit/../../../sis/lib/include/rtems/score/scheduler.h:22,
                 from
../../cpukit/../../../sis/lib/include/rtems/score/schedulerprioritysmp.h:26,
                 from
../../../../../../rtems/c/src/../../cpukit/score/src/schedulerprioritysmp.c:27:
/home/joel/rtems-4.11-work/tools/sparc-rtems4.11/include/sys/cpuset.h:156:21:
note: expected 'struct cpu_set_t *' but argument is of type 'const
struct cpu_set_t *'
 static __inline int CPU_ISSET_S(int cpu, size_t setsize, cpu_set_t *set)
                     ^

-- 
Joel Sherrill, Ph.D.             Director of Research & Development
joel.sherrill at OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
Support Available                (256) 722-9985



More information about the devel mailing list