[RTEMS Project] #3140: CPU Kit broken with --enable-rtems-debug
RTEMS trac
trac at rtems.org
Mon Sep 18 22:53:25 UTC 2017
#3140: CPU Kit broken with --enable-rtems-debug
-------------------------+-----------------------------
Reporter: Chris Johns | Owner: joel.sherrill@…
Type: defect | Status: new
Priority: highest | Milestone: 4.12.0
Component: cpukit | Version: 4.12
Severity: normal | Keywords:
-------------------------+-----------------------------
Building with:
{{{
..../rtems.git/configure --target=arm-rtems4.12
--prefix=/opt/work/chris/rtems/kernel/4.12 --disable-networking --enable-
rtemsbsp=beagleboneblack --enable-maintainer-mode --enable-rtems-debug
}}}
results in an error:
{{{
gmake[5]: Entering directory
'/opt/work/chris/rtems/kernel/bsps/beagleboneblack/arm-
rtems4.12/c/beagleboneblack/cpukit/score'
arm-rtems4.12-gcc --pipe -DHAVE_CONFIG_H -I..
-I../../cpukit/../../../beagleboneblack/lib/include -mcpu=cortex-a8 -O2
-g -ffunction-sections -fdata-sections -Wall -Wmissing-prototypes
-Wimplicit-function-declaration -Wstrict-prototypes -Wnested-externs -MT
src/libscore_a-semaphore.o -MD -MP -MF src/.deps/libscore_a-semaphore.Tpo
-c -o src/libscore_a-semaphore.o `test -f 'src/semaphore.c' || echo
'/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/score/'`src/semaphore.c
In file included from
/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/score/src/semaphore.c:21:0:
/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/score/src/semaphore.c:
In function '_Semaphore_Post':
/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/score/src/semaphore.c:134:27:
error: 'UINT_MAX' undeclared (first use in this function); did you mean
'UINT8_MAX'?
_Assert( sem->count < UINT_MAX );
^
../../cpukit/../../../beagleboneblack/lib/include/rtems/score/assert.h:67:12:
note: in definition of macro '_Assert'
( ( _e ) ? \
^~
/opt/work/chris/rtems/kernel/rtems.git/c/src/../../cpukit/score/src/semaphore.c:134:27:
note: each undeclared identifier is reported only once for each function
it appears in
_Assert( sem->count < UINT_MAX );
^
../../cpukit/../../../beagleboneblack/lib/include/rtems/score/assert.h:67:12:
note: in definition of macro '_Assert'
( ( _e ) ? \
^~
gmake[5]: *** [Makefile:4571: src/libscore_a-semaphore.o] Error 1
}}}
We need the `rtems-bsp-builder` to be run on a regular basis to catch
these errors.
--
Ticket URL: <http://devel.rtems.org/ticket/3140>
RTEMS Project <http://www.rtems.org/>
RTEMS Project
More information about the bugs
mailing list