Current master fails to build for RaspberryPi

Jan Sommer soja-misc at aries.uberspace.de
Sun May 24 14:58:20 UTC 2015


Hi,

rebuilding rtems4.11 from current master for the raspberryPi failed today.
I went back through the history and the last commit which works for me is:      
cc6938455edfa4dff79ce98320292e3a9c2e434b

I always used a fresh build folder and bootstrapped before the build to be 
sure.
My configure is:
../rtems/configure --target=arm-rtems4.11\
    --enable-rtemsbsp="raspberrypi" \
    --enable-networking --enable-cxx --enable-posix \
    --enable-tests=samples --prefix=$INSTALL_DIR

Can someone reproduce this?

Best regards,

   Jan

The error log looks like this:

Making all in arm
make[7]: Entering directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi/cpukit/score/cpu/arm'
arm-rtems4.11-gcc --pipe -DHAVE_CONFIG_H   -I../../.. -
I../../../../cpukit/../../../raspberrypi/lib/include   -mcpu=arm1176jzf-s -O2 
-g -Wall -Wmissing-prototypes -Wimplicit-function-declaration -Wstrict-
prototypes -Wnested-externs -MT libscorecpu_a-__aeabi_read_tp.o -MD -MP -MF 
.deps/libscorecpu_a-__aeabi_read_tp.Tpo -c -o libscorecpu_a-__aeabi_read_tp.o 
`test -f '__aeabi_read_tp.c' || echo 
'../../../../../../../../rtems/c/src/../../cpukit/score/cpu/arm/'`__aeabi_read_tp.c
In file included from 
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/percpu.h:29:0,
                 from 
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/thread.h:31,
                 from 
../../../../../../../../rtems/c/src/../../cpukit/score/cpu/arm/__aeabi_read_tp.c:19:
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Set':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:78:3: 
warning: implicit declaration of function 'timespec2bintime' [-Wimplicit-
function-declaration]
   timespec2bintime( &_ts, _time );
   ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:78:3: 
warning: nested extern declaration of 'timespec2bintime' [-Wnested-externs]
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Set_to_zero':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:94:8: 
error: dereferencing pointer to incomplete type
   _time->sec = 0;
        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:95:8: 
error: dereferencing pointer to incomplete type
   _time->frac = 0;
        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Less_than':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:115:12: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec < _rhs->sec )
            ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:115:24: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec < _rhs->sec )
                        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:118:12: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec > _rhs->sec )
            ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:118:24: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec > _rhs->sec )
                        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:121:14: 
error: dereferencing pointer to incomplete type
   return _lhs->frac < _rhs->frac;
              ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:121:27: 
error: dereferencing pointer to incomplete type
   return _lhs->frac < _rhs->frac;
                           ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Greater_than':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:141:12: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec > _rhs->sec )
            ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:141:24: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec > _rhs->sec )
                        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:144:12: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec < _rhs->sec )
            ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:144:24: 
error: dereferencing pointer to incomplete type
   if ( _lhs->sec < _rhs->sec )
                        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:147:14: 
error: dereferencing pointer to incomplete type
   return _lhs->frac > _rhs->frac;
              ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:147:27: 
error: dereferencing pointer to incomplete type
   return _lhs->frac > _rhs->frac;
                           ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Equal_to':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:167:14: 
error: dereferencing pointer to incomplete type
   return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
              ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:167:27: 
error: dereferencing pointer to incomplete type
   return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
                           ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:167:40: 
error: dereferencing pointer to incomplete type
   return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
                                        ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:167:54: 
error: dereferencing pointer to incomplete type
   return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
                                                      ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Add_to':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:186:25: 
error: dereferencing pointer to incomplete type
   time_t seconds = _time->sec;
                         ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:188:3: 
warning: implicit declaration of function 'bintime_add' [-Wimplicit-function-
declaration]
   bintime_add( _time, _add );
   ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:188:3: 
warning: nested extern declaration of 'bintime_add' [-Wnested-externs]
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:190:15: 
error: dereferencing pointer to incomplete type
   return _time->sec - seconds;
               ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Subtract':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:212:10: 
error: dereferencing pointer to incomplete type
   _result->sec = _end->sec;
          ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:212:22: 
error: dereferencing pointer to incomplete type
   _result->sec = _end->sec;
                      ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:213:10: 
error: dereferencing pointer to incomplete type
   _result->frac = _end->frac;
          ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:213:23: 
error: dereferencing pointer to incomplete type
   _result->frac = _end->frac;
                       ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:215:3: 
warning: implicit declaration of function 'bintime_sub' [-Wimplicit-function-
declaration]
   bintime_sub( _result, _start );
   ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:215:3: 
warning: nested extern declaration of 'bintime_sub' [-Wnested-externs]
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Divide':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:241:3: 
warning: implicit declaration of function 'bintime2timespec' [-Wimplicit-
function-declaration]
   bintime2timespec( _lhs, &_ts_left );
   ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:241:3: 
warning: nested extern declaration of 'bintime2timespec' [-Wnested-externs]
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_Get_seconds':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:265:15: 
error: dereferencing pointer to incomplete type
   return _time->sec;
               ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h: 
In function '_Timestamp_To_timeval':
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:335:3: 
warning: implicit declaration of function 'bintime2timeval' [-Wimplicit-
function-declaration]
   bintime2timeval( _timestamp, _timeval );
   ^
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/timestamp.h:335:3: 
warning: nested extern declaration of 'bintime2timeval' [-Wnested-externs]
In file included from 
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/thread.h:31:0,
                 from 
../../../../../../../../rtems/c/src/../../cpukit/score/cpu/arm/__aeabi_read_tp.c:19:
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/percpu.h: At 
top level:
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/percpu.h:316:21: 
error: field 'time_of_last_context_switch' has incomplete type
   Timestamp_Control time_of_last_context_switch;
                     ^
In file included from 
../../../../../../../../rtems/c/src/../../cpukit/score/cpu/arm/__aeabi_read_tp.c:19:0:
../../../../cpukit/../../../raspberrypi/lib/include/rtems/score/thread.h:778:41: 
error: field 'cpu_time_used' has incomplete type
   Thread_CPU_usage_t                    cpu_time_used;
                                         ^
Makefile:628: recipe for target 'libscorecpu_a-__aeabi_read_tp.o' failed
make[7]: *** [libscorecpu_a-__aeabi_read_tp.o] Error 1
make[7]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi/cpukit/score/cpu/arm'
Makefile:366: recipe for target 'all-recursive' failed
make[6]: *** [all-recursive] Error 1
make[6]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi/cpukit/score/cpu'
Makefile:5038: recipe for target 'all-recursive' failed
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi/cpukit/score'
Makefile:1030: recipe for target 'all-recursive' failed
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi/cpukit'
Makefile:715: recipe for target 'all' failed
make[3]: *** [all] Error 2
make[3]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi/cpukit'
Makefile:487: recipe for target 'all-recursive' failed
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-
rtems4.11/c/raspberrypi'
Makefile:348: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/jan/workspace/rtems-pi/taste-
way/build_rtems-4.11-pi/rtems-4.11-arm/build-rtems-4.11/arm-rtems4.11/c'
Makefile:473: recipe for target 'all-recursive' failed
make: *** [all-recursive] Error 1



More information about the users mailing list