Compatibility with upcomming Newlib snapshot and GCC 6

Joel Sherrill joel at rtems.org
Wed May 11 15:52:17 UTC 2016


Is this related to this static assertion failure for all BSPs using gcc and
newlib master?

powerpc-rtems4.12-gcc --pipe -DHAVE_CONFIG_H   -I..
-I../../cpukit/../../../psim/lib/include   -meabi -mcpu=603e -msdata=sysv
-fno-common -Dppc603e -O2 -g -fno-keep-inline-functions -ffunction-sections
-fdata-sections -Wall -Wmissing-prototypes -Wimplicit-function-declaration
-Wstrict-prototypes -Wnested-externs -MT src/libscore_a-threadq.o -MD -MP
-MF src/.deps/libscore_a-threadq.Tpo -c -o src/libscore_a-threadq.o `test
-f 'src/threadq.c' || echo
'../../../../../../rtems/c/src/../../cpukit/score/'`src/threadq.c
In file included from
../../cpukit/../../../psim/lib/include/rtems/score/types.h:39:0,
                 from
../../cpukit/../../../psim/lib/include/rtems/score/cpu.h:38,
                 from
../../cpukit/../../../psim/lib/include/rtems/score/isrlevel.h:22,
                 from
../../cpukit/../../../psim/lib/include/rtems/score/isrlock.h:26,
                 from
../../cpukit/../../../psim/lib/include/rtems/score/threadq.h:23,
                 from
../../cpukit/../../../psim/lib/include/rtems/score/threadqimpl.h:22,
                 from
../../../../../../rtems/c/src/../../cpukit/score/src/threadq.c:21:
../../cpukit/../../../psim/lib/include/rtems/score/basedefs.h:218:5: error:
static assertion failed: "THREAD_QUEUE_SYSLOCK_QUEUE_HEADS"
     _Static_assert(cond, # msg)
     ^
../../../../../../rtems/c/src/../../cpukit/score/src/threadq.c:27:1: note:
in expansion of macro 'RTEMS_STATIC_ASSERT'
 RTEMS_STATIC_ASSERT(
 ^~~~~~~~~~~~~~~~~~~
../../cpukit/../../../psim/lib/include/rtems/score/basedefs.h:218:5: error:
static assertion failed: "THREAD_QUEUE_SYSLOCK_QUEUE_NEXT_TICKET"
     _Static_assert(cond, # msg)
     ^
../../../../../../rtems/c/src/../../cpukit/score/src/threadq.c:33:1: note:
in expansion of macro 'RTEMS_STATIC_ASSERT'
 RTEMS_STATIC_ASSERT(
 ^~~~~~~~~~~~~~~~~~~
../../cpukit/../../../psim/lib/include/rtems/score/basedefs.h:218:5: error:
static assertion failed: "THREAD_QUEUE_SYSLOCK_QUEUE_NOW_SERVING"
     _Static_assert(cond, # msg)
     ^
../../../../../../rtems/c/src/../../cpukit/score/src/threadq.c:43:1: note:
in expansion of macro 'RTEMS_STATIC_ASSERT'
 RTEMS_STATIC_ASSERT(
 ^~~~~~~~~~~~~~~~~~~
../../cpukit/../../../psim/lib/include/rtems/score/basedefs.h:218:5: error:
static assertion failed: "THREAD_QUEUE_SYSLOCK_QUEUE_SIZE"
     _Static_assert(cond, # msg)
     ^
../../../../../../rtems/c/src/../../cpukit/score/src/threadq.c:53:1: note:
in expansion of macro 'RTEMS_STATIC_ASSERT'
 RTEMS_STATIC_ASSERT(
 ^~~~~~~~~~~~~~~~~~~
gmake[6]: *** [src/libscore_a-threadq.o] Error 1


On Wed, May 11, 2016 at 8:19 AM, Sebastian Huber <
sebastian.huber at embedded-brains.de> wrote:

> There should be a Newlib snapshot available in the next days.  I would
> like to
> update the tools to use it and the latest GCC 6 snapshot.  After these
> changes
> a tool update is necessary for the RTEMS master.
>
> _______________________________________________
> devel mailing list
> devel at rtems.org
> http://lists.rtems.org/mailman/listinfo/devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20160511/0406c2ae/attachment-0002.html>


More information about the devel mailing list