Pre-branching Testing Request
Nick Withers
nick.withers at anu.edu.au
Thu May 21 21:19:25 UTC 2015
Hi all,
On Wed, 2015-05-20 at 08:57 -0500, Joel Sherrill wrote:
> Hi
>
> Please test on your local hardware and report success or failures.
>
> We are pushing clean up activities to be able to branch and make
> a 4.11.0 as soon as possible.
Any ideas on this post-timecounter one?
____
powerpc-rtems4.11-gcc --pipe -std=c99 -ggdb3 -Wall -Wextra -Wpedantic -Wconversion -Wwrite-strings -Wuninitialized -Wno-maybe-uninitialized -Werror -Wno-error=unused-function -Wno-error=unused-parameter -Wno-error=unused-variable -mcpu=powerpc -msoft-float -D__ppc_generic -I. -isystem /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include -DVERSION='"SVN 926:927M (svn+ssh://nsw103@nucserver1.anu.edu.au/home/system/svn-repos/daq/branches/dcp/src), built 2015-05-21 21:13:27 UTC"' -DVCS_VERSION='"SVN 926:927M (svn+ssh://nsw103@nucserver1.anu.edu.au/home/system/svn-repos/daq/branches/dcp/src)"' -DDEBUG=0 -DERR_WARN_HTTPD=0 -DSINGLES_SPECTRUM_LITTLE_ENDIAN -DNDEBUG -O2 -c -o collector.o collector.c
In file included from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/percpu.h:29:0,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/system.h:23,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems.h:29,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/endian.h:11,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/sys/endian.h:33,
from collector.c:30:
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Set_to_zero':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:94:8: error: dereferencing pointer to incomplete type
_time->sec = 0;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:95:8: error: dereferencing pointer to incomplete type
_time->frac = 0;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Less_than':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:115:12: error: dereferencing pointer to incomplete type
if ( _lhs->sec < _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:115:24: error: dereferencing pointer to incomplete type
if ( _lhs->sec < _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:118:12: error: dereferencing pointer to incomplete type
if ( _lhs->sec > _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:118:24: error: dereferencing pointer to incomplete type
if ( _lhs->sec > _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:121:14: error: dereferencing pointer to incomplete type
return _lhs->frac < _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:121:27: error: dereferencing pointer to incomplete type
return _lhs->frac < _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Greater_than':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:141:12: error: dereferencing pointer to incomplete type
if ( _lhs->sec > _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:141:24: error: dereferencing pointer to incomplete type
if ( _lhs->sec > _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:144:12: error: dereferencing pointer to incomplete type
if ( _lhs->sec < _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:144:24: error: dereferencing pointer to incomplete type
if ( _lhs->sec < _rhs->sec )
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:147:14: error: dereferencing pointer to incomplete type
return _lhs->frac > _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:147:27: error: dereferencing pointer to incomplete type
return _lhs->frac > _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Equal_to':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:167:14: error: dereferencing pointer to incomplete type
return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:167:27: error: dereferencing pointer to incomplete type
return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:167:40: error: dereferencing pointer to incomplete type
return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:167:54: error: dereferencing pointer to incomplete type
return _lhs->sec == _rhs->sec && _lhs->frac == _rhs->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Add_to':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:186:25: error: dereferencing pointer to incomplete type
time_t seconds = _time->sec;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:190:15: error: dereferencing pointer to incomplete type
return _time->sec - seconds;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Subtract':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:212:10: error: dereferencing pointer to incomplete type
_result->sec = _end->sec;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:212:22: error: dereferencing pointer to incomplete type
_result->sec = _end->sec;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:213:10: error: dereferencing pointer to incomplete type
_result->frac = _end->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:213:23: error: dereferencing pointer to incomplete type
_result->frac = _end->frac;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h: In function '_Timestamp_Get_seconds':
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/timestamp.h:265:15: error: dereferencing pointer to incomplete type
return _time->sec;
^
In file included from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/system.h:23:0,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems.h:29,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/endian.h:11,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/sys/endian.h:33,
from collector.c:30:
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/percpu.h: At top level:
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/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 /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/tasks.h:43:0,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/config.h:25,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/config.h:57,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems.h:33,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/endian.h:11,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/sys/endian.h:33,
from collector.c:30:
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/score/thread.h:778:41: error: field 'cpu_time_used' has incomplete type
Thread_CPU_usage_t cpu_time_used;
^
In file included from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems.h:55:0,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/endian.h:11,
from /home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/sys/endian.h:33,
from collector.c:30:
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:168:40: error: field 'min_cpu_time' has incomplete type
Thread_CPU_usage_t min_cpu_time;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:170:40: error: field 'max_cpu_time' has incomplete type
Thread_CPU_usage_t max_cpu_time;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:172:40: error: field 'total_cpu_time' has incomplete type
Thread_CPU_usage_t total_cpu_time;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:175:40: error: field 'min_wall_time' has incomplete type
Rate_monotonic_Period_time_t min_wall_time;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:177:40: error: field 'max_wall_time' has incomplete type
Rate_monotonic_Period_time_t max_wall_time;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:179:40: error: field 'total_wall_time' has incomplete type
Rate_monotonic_Period_time_t total_wall_time;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:238:43: error: field 'cpu_usage_period_initiated' has incomplete type
Thread_CPU_usage_t cpu_usage_period_initiated;
^
/home/nick/rtems/rtems-4.11/powerpc-rtems4.11/mvme3100/lib/include/rtems/rtems/ratemon.h:244:43: error: field 'time_period_initiated' has incomplete type
Rate_monotonic_Period_time_t time_period_initiated;
____
I'm including sys/endian.h to get at htole16() and co., thusly in
collector.c:
____
#define _POSIX_C_SOURCE 200809L
#include <assert.h>
#include <errno.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdint.h>
#include <stdlib.h>
#include <string.h>
#include <sys/endian.h> // Non-standard hto16le() et al. functions
____
Cheers!
--
Nick Withers
Embedded Systems Programmer
Department of Nuclear Physics, Research School of Physics and Engineering
The Australian National University (CRICOS: 00120C)
More information about the users
mailing list