Build : FAILED 4.12/rtems-nios2.bset on x86_64-w64-mingw32 (nios2-rtems4.12-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-w64-mingw32-1)
Chris Johns
chrisj at rtems.org
Fri Oct 27 16:43:28 UTC 2017
RTEMS Source Builder - Set Builder, 4.12 (8cdc8e42e4e2)
Command Line: ../source-builder/sb-set-builder --prefix=D:/opt/rtems/4.12 --log=t4.txt --keep-going --mail --smtp-host=smtp 4.12/rtems-tier-3
Python: 2.7.13 (default, Jan 17 2017, 13:56:44) [GCC 6.3.0 64 bit (AMD64)]
Build Time: 0:23:23.526119
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: nios2-rtems4.12-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-w64-mingw32-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
^
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:243:5: error: unknown type name 'cpu_set_t'
int _EXFUN(pthread_setaffinity_np,
^
/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/./gcc/xgcc -B/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/./gcc/ -nostdinc -B/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/newlib/ -isystem /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/newlib/targ-include -isystem /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include -B/D/opt/rtems/4.12/nios2-rtems4.12/bin/ -B/D/opt/rtems/4.12/nios2-rtems4.12/lib/ -isystem /D/opt/rtems/4.12/nios2-rtems4.12/include -isystem /D/opt/rtems/4.12/nios2-rtems4.12/sys-include -g -O2 -mhw-mul -mhw-mulx -mhw-div -mcustom-fadds=253 -mcustom-fdivs=255 -mcustom-fmuls=252 -mcustom-fsubs=254 -O2 -I../../../../../../../../../../gcc-7.2.0/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc!
-fno-stack-protector -Dinhibit_libc -I. -I. -I../../../../../../../../.././gcc -I../../../../../../../../../../gcc-7.2.0/libgcc -I../../../../../../../../../../gcc-7.2.0/libgcc/. -I../../../../../../../../../../gcc-7.2.0/libgcc/../gcc -I../../../../../../../../../../gcc-7.2.0/libgcc/../include -DHAVE_CC_TLS -o _gcov_merge_single.o -MT _gcov_merge_single.o -MD -MP -MF _gcov_merge_single.dep -DL_gcov_merge_single -c ../../../../../../../../../../gcc-7.2.0/libgcc/libgcov-merge.c
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:245:5: error: unknown type name 'cpu_set_t'; did you mean 'sigset_t'?
int _EXFUN(pthread_getaffinity_np,
^
In file included from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148:0,
from ../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2.c:37:
./gthr-default.h: In function '__gthread_mutex_lock':
./gthr-default.h:135:3: warning: implicit declaration of function '_Mutex_Acquire'; did you mean '__lock_acquire'? [-Wimplicit-function-declaration]
_Mutex_Acquire (__mutex);
^~~~~~~~~~~~~~
__lock_acquire
In file included from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148:0,
from ../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2-fde.c:37:
./gthr-default.h: In function '__gthread_mutex_lock':
./gthr-default.h:135:3: warning: implicit declaration of function '_Mutex_Acquire'; did you mean '__lock_acquire'? [-Wimplicit-function-declaration]
_Mutex_Acquire (__mutex);
^~~~~~~~~~~~~~
__lock_acquire
./gthr-default.h: In function '__gthread_mutex_trylock':
./gthr-default.h:142:10: warning: implicit declaration of function '_Mutex_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~
__lock_try_acquire
./gthr-default.h: In function '__gthread_mutex_trylock':
./gthr-default.h:142:10: warning: implicit declaration of function '_Mutex_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~
__lock_try_acquire
./gthr-default.h: In function '__gthread_mutex_timedlock':
./gthr-default.h:149:10: warning: implicit declaration of function '_Mutex_Acquire_timed' [-Wimplicit-function-declaration]
return _Mutex_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~
/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/./gcc/xgcc -B/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/./gcc/ -nostdinc -B/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/newlib/ -isystem /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/newlib/targ-include -isystem /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include -B/D/opt/rtems/4.12/nios2-rtems4.12/bin/ -B/D/opt/rtems/4.12/nios2-rtems4.12/lib/ -isystem /D/opt/rtems/4.12/nios2-rtems4.12/include -isystem /D/opt/rtems/4.12/nios2-rtems4.12/sys-include -g -O2 -mhw-mul -mhw-mulx -mhw-div -mcustom-fadds=253 -mcustom-fdivs=255 -mcustom-fmuls=252 -mcustom-fsubs=254 -O2 -I../../../../../../../../../../gcc-7.2.0/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc!
-fno-stack-protector -Dinhibit_libc -I. -I. -I../../../../../../../../.././gcc -I../../../../../../../../../../gcc-7.2.0/libgcc -I../../../../../../../../../../gcc-7.2.0/libgcc/. -I../../../../../../../../../../gcc-7.2.0/libgcc/../gcc -I../../../../../../../../../../gcc-7.2.0/libgcc/../include -DHAVE_CC_TLS -o _gcov_merge_ior.o -MT _gcov_merge_ior.o -MD -MP -MF _gcov_merge_ior.dep -DL_gcov_merge_ior -c ../../../../../../../../../../gcc-7.2.0/libgcc/libgcov-merge.c
./gthr-default.h: In function '__gthread_mutex_timedlock':
./gthr-default.h:149:10: warning: implicit declaration of function '_Mutex_Acquire_timed' [-Wimplicit-function-declaration]
return _Mutex_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_mutex_unlock':
./gthr-default.h:155:3: warning: implicit declaration of function '_Mutex_Release'; did you mean '__lock_release'? [-Wimplicit-function-declaration]
_Mutex_Release (__mutex);
^~~~~~~~~~~~~~
__lock_release
./gthr-default.h: In function '__gthread_mutex_unlock':
./gthr-default.h:155:3: warning: implicit declaration of function '_Mutex_Release'; did you mean '__lock_release'? [-Wimplicit-function-declaration]
_Mutex_Release (__mutex);
^~~~~~~~~~~~~~
__lock_release
./gthr-default.h: In function '__gthread_mutex_destroy':
./gthr-default.h:162:3: warning: implicit declaration of function '_Mutex_Destroy'; did you mean 'pthread_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_Destroy (__mutex);
^~~~~~~~~~~~~~
pthread_mutex_destroy
In file included from D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/sys/lock.h:7:0,
from ./gthr-default.h:30,
from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148,
from ../../../../../../../../../../gcc-7.2.0/libgcc/unwind-sjlj.c:31:
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:236:5: error: unknown type name 'cpu_set_t'
int _EXFUN(pthread_attr_setaffinity_np,
^
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:239:6: error: unknown type name 'cpu_set_t'; did you mean 'sigset_t'?
int _EXFUN(pthread_attr_getaffinity_np,
^
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:243:5: error: unknown type name 'cpu_set_t'
int _EXFUN(pthread_setaffinity_np,
^
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:245:5: error: unknown type name 'cpu_set_t'; did you mean 'sigset_t'?
int _EXFUN(pthread_getaffinity_np,
^
./gthr-default.h: In function '__gthread_mutex_destroy':
./gthr-default.h:162:3: warning: implicit declaration of function '_Mutex_Destroy'; did you mean 'pthread_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_Destroy (__mutex);
^~~~~~~~~~~~~~
pthread_mutex_destroy
./gthr-default.h: In function '__gthread_recursive_mutex_lock':
./gthr-default.h:169:3: warning: implicit declaration of function '_Mutex_recursive_Acquire' [-Wimplicit-function-declaration]
_Mutex_recursive_Acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
In file included from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148:0,
from ../../../../../../../../../../gcc-7.2.0/libgcc/unwind-sjlj.c:31:
./gthr-default.h: In function '__gthread_mutex_lock':
./gthr-default.h:135:3: warning: implicit declaration of function '_Mutex_Acquire'; did you mean '__lock_acquire'? [-Wimplicit-function-declaration]
_Mutex_Acquire (__mutex);
^~~~~~~~~~~~~~
__lock_acquire
In file included from D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/sys/lock.h:7:0,
from ./gthr-default.h:30,
from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148,
from ../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:31:
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:236:5: error: unknown type name 'cpu_set_t'
int _EXFUN(pthread_attr_setaffinity_np,
^
./gthr-default.h: In function '__gthread_recursive_mutex_trylock':
./gthr-default.h:176:10: warning: implicit declaration of function '_Mutex_recursive_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
__lock_try_acquire
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:239:6: error: unknown type name 'cpu_set_t'; did you mean 'sigset_t'?
int _EXFUN(pthread_attr_getaffinity_np,
^
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:243:5: error: unknown type name 'cpu_set_t'
int _EXFUN(pthread_setaffinity_np,
^
D:/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include/pthread.h:245:5: error: unknown type name 'cpu_set_t'; did you mean 'sigset_t'?
int _EXFUN(pthread_getaffinity_np,
^
./gthr-default.h: In function '__gthread_recursive_mutex_lock':
./gthr-default.h:169:3: warning: implicit declaration of function '_Mutex_recursive_Acquire' [-Wimplicit-function-declaration]
_Mutex_recursive_Acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_mutex_trylock':
./gthr-default.h:142:10: warning: implicit declaration of function '_Mutex_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~
__lock_try_acquire
In file included from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148:0,
from ../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:31:
./gthr-default.h: In function '__gthread_mutex_lock':
./gthr-default.h:135:3: warning: implicit declaration of function '_Mutex_Acquire'; did you mean '__lock_acquire'? [-Wimplicit-function-declaration]
_Mutex_Acquire (__mutex);
^~~~~~~~~~~~~~
__lock_acquire
./gthr-default.h: In function '__gthread_recursive_mutex_timedlock':
./gthr-default.h:183:10: warning: implicit declaration of function '_Mutex_recursive_Acquire_timed'; did you mean '__gthread_recursive_mutex_timedlock'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_timedlock
./gthr-default.h: In function '__gthread_mutex_timedlock':
./gthr-default.h:149:10: warning: implicit declaration of function '_Mutex_Acquire_timed' [-Wimplicit-function-declaration]
return _Mutex_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_trylock':
./gthr-default.h:176:10: warning: implicit declaration of function '_Mutex_recursive_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
__lock_try_acquire
./gthr-default.h: In function '__gthread_mutex_trylock':
./gthr-default.h:142:10: warning: implicit declaration of function '_Mutex_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~
__lock_try_acquire
./gthr-default.h: In function '__gthread_recursive_mutex_unlock':
./gthr-default.h:189:3: warning: implicit declaration of function '_Mutex_recursive_Release' [-Wimplicit-function-declaration]
_Mutex_recursive_Release (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_mutex_unlock':
./gthr-default.h:155:3: warning: implicit declaration of function '_Mutex_Release'; did you mean '__lock_release'? [-Wimplicit-function-declaration]
_Mutex_Release (__mutex);
^~~~~~~~~~~~~~
__lock_release
./gthr-default.h: In function '__gthread_recursive_mutex_timedlock':
./gthr-default.h:183:10: warning: implicit declaration of function '_Mutex_recursive_Acquire_timed'; did you mean '__gthread_recursive_mutex_timedlock'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_timedlock
./gthr-default.h: In function '__gthread_mutex_timedlock':
./gthr-default.h:149:10: warning: implicit declaration of function '_Mutex_Acquire_timed' [-Wimplicit-function-declaration]
return _Mutex_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_mutex_unlock':
./gthr-default.h:155:3: warning: implicit declaration of function '_Mutex_Release'; did you mean '__lock_release'? [-Wimplicit-function-declaration]
_Mutex_Release (__mutex);
^~~~~~~~~~~~~~
__lock_release
./gthr-default.h: In function '__gthread_recursive_mutex_destroy':
./gthr-default.h:196:3: warning: implicit declaration of function '_Mutex_recursive_Destroy'; did you mean '__gthread_recursive_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_recursive_Destroy (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_destroy
./gthr-default.h: In function '__gthread_mutex_destroy':
./gthr-default.h:162:3: warning: implicit declaration of function '_Mutex_Destroy'; did you mean 'pthread_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_Destroy (__mutex);
^~~~~~~~~~~~~~
pthread_mutex_destroy
./gthr-default.h: In function '__gthread_recursive_mutex_unlock':
./gthr-default.h:189:3: warning: implicit declaration of function '_Mutex_recursive_Release' [-Wimplicit-function-declaration]
_Mutex_recursive_Release (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_mutex_destroy':
./gthr-default.h:162:3: warning: implicit declaration of function '_Mutex_Destroy'; did you mean 'pthread_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_Destroy (__mutex);
^~~~~~~~~~~~~~
pthread_mutex_destroy
./gthr-default.h: In function '__gthread_cond_broadcast':
./gthr-default.h:203:3: warning: implicit declaration of function '_Condition_Broadcast'; did you mean 'pthread_cond_broadcast'? [-Wimplicit-function-declaration]
_Condition_Broadcast (__cond);
^~~~~~~~~~~~~~~~~~~~
pthread_cond_broadcast
./gthr-default.h: In function '__gthread_recursive_mutex_lock':
./gthr-default.h:169:3: warning: implicit declaration of function '_Mutex_recursive_Acquire' [-Wimplicit-function-declaration]
_Mutex_recursive_Acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_lock':
./gthr-default.h:169:3: warning: implicit declaration of function '_Mutex_recursive_Acquire' [-Wimplicit-function-declaration]
_Mutex_recursive_Acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_destroy':
./gthr-default.h:196:3: warning: implicit declaration of function '_Mutex_recursive_Destroy'; did you mean '__gthread_recursive_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_recursive_Destroy (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_destroy
./gthr-default.h: In function '__gthread_cond_signal':
./gthr-default.h:210:3: warning: implicit declaration of function '_Condition_Signal' [-Wimplicit-function-declaration]
_Condition_Signal (__cond);
^~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_trylock':
./gthr-default.h:176:10: warning: implicit declaration of function '_Mutex_recursive_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
__lock_try_acquire
./gthr-default.h: In function '__gthread_cond_wait':
./gthr-default.h:217:3: warning: implicit declaration of function '_Condition_Wait' [-Wimplicit-function-declaration]
_Condition_Wait (__cond, __mutex);
^~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_broadcast':
./gthr-default.h:203:3: warning: implicit declaration of function '_Condition_Broadcast'; did you mean 'pthread_cond_broadcast'? [-Wimplicit-function-declaration]
_Condition_Broadcast (__cond);
^~~~~~~~~~~~~~~~~~~~
pthread_cond_broadcast
./gthr-default.h: In function '__gthread_recursive_mutex_trylock':
./gthr-default.h:176:10: warning: implicit declaration of function '_Mutex_recursive_Try_acquire'; did you mean '__lock_try_acquire'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Try_acquire (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~
__lock_try_acquire
./gthr-default.h: In function '__gthread_cond_signal':
./gthr-default.h:210:3: warning: implicit declaration of function '_Condition_Signal' [-Wimplicit-function-declaration]
_Condition_Signal (__cond);
^~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_timedwait':
./gthr-default.h:225:10: warning: implicit declaration of function '_Condition_Wait_timed' [-Wimplicit-function-declaration]
return _Condition_Wait_timed (__cond, __mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_timedlock':
./gthr-default.h:183:10: warning: implicit declaration of function '_Mutex_recursive_Acquire_timed'; did you mean '__gthread_recursive_mutex_timedlock'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_timedlock
./gthr-default.h: In function '__gthread_recursive_mutex_timedlock':
./gthr-default.h: In function '__gthread_cond_wait':
./gthr-default.h:183:10: warning: implicit declaration of function '_Mutex_recursive_Acquire_timed'; did you mean '__gthread_recursive_mutex_timedlock'? [-Wimplicit-function-declaration]
return _Mutex_recursive_Acquire_timed (__mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_timedlock
./gthr-default.h:217:3: warning: implicit declaration of function '_Condition_Wait' [-Wimplicit-function-declaration]
_Condition_Wait (__cond, __mutex);
^~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_wait_recursive':
./gthr-default.h:232:3: warning: implicit declaration of function '_Condition_Wait_recursive'; did you mean '__lock_init_recursive'? [-Wimplicit-function-declaration]
_Condition_Wait_recursive (__cond, __mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~
__lock_init_recursive
./gthr-default.h: In function '__gthread_recursive_mutex_unlock':
./gthr-default.h:189:3: warning: implicit declaration of function '_Mutex_recursive_Release' [-Wimplicit-function-declaration]
_Mutex_recursive_Release (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_timedwait':
./gthr-default.h:225:10: warning: implicit declaration of function '_Condition_Wait_timed' [-Wimplicit-function-declaration]
return _Condition_Wait_timed (__cond, __mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_unlock':
./gthr-default.h:189:3: warning: implicit declaration of function '_Mutex_recursive_Release' [-Wimplicit-function-declaration]
_Mutex_recursive_Release (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_destroy':
./gthr-default.h:239:3: warning: implicit declaration of function '_Condition_Destroy' [-Wimplicit-function-declaration]
_Condition_Destroy (__cond);
^~~~~~~~~~~~~~~~~~
../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2-fde.c: At top level:
../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2-fde.c:56:1: error: variable 'object_mutex' has initializer but incomplete type
static __gthread_mutex_t object_mutex = __GTHREAD_MUTEX_INIT;
^~~~~~
./gthr-default.h: In function '__gthread_recursive_mutex_destroy':
./gthr-default.h:196:3: warning: implicit declaration of function '_Mutex_recursive_Destroy'; did you mean '__gthread_recursive_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_recursive_Destroy (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_destroy
./gthr-default.h: In function '__gthread_cond_wait_recursive':
./gthr-default.h:232:3: warning: implicit declaration of function '_Condition_Wait_recursive'; did you mean '__lock_init_recursive'? [-Wimplicit-function-declaration]
_Condition_Wait_recursive (__cond, __mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~
__lock_init_recursive
./gthr-default.h: In function '__gthread_recursive_mutex_destroy':
./gthr-default.h:196:3: warning: implicit declaration of function '_Mutex_recursive_Destroy'; did you mean '__gthread_recursive_mutex_destroy'? [-Wimplicit-function-declaration]
_Mutex_recursive_Destroy (__mutex);
^~~~~~~~~~~~~~~~~~~~~~~~
__gthread_recursive_mutex_destroy
In file included from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148:0,
from ../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2-fde.c:37:
./gthr-default.h:51:30: error: '_MUTEX_INITIALIZER' undeclared here (not in a function); did you mean 'PTHREAD_MUTEX_INITIALIZER'?
#define __GTHREAD_MUTEX_INIT _MUTEX_INITIALIZER
^
../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2-fde.c:56:41: note: in expansion of macro '__GTHREAD_MUTEX_INIT'
static __gthread_mutex_t object_mutex = __GTHREAD_MUTEX_INIT;
^~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_broadcast':
./gthr-default.h:203:3: warning: implicit declaration of function '_Condition_Broadcast'; did you mean 'pthread_cond_broadcast'? [-Wimplicit-function-declaration]
_Condition_Broadcast (__cond);
^~~~~~~~~~~~~~~~~~~~
pthread_cond_broadcast
./gthr-default.h: In function '__gthread_cond_destroy':
./gthr-default.h:239:3: warning: implicit declaration of function '_Condition_Destroy' [-Wimplicit-function-declaration]
_Condition_Destroy (__cond);
^~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_broadcast':
./gthr-default.h:203:3: warning: implicit declaration of function '_Condition_Broadcast'; did you mean 'pthread_cond_broadcast'? [-Wimplicit-function-declaration]
_Condition_Broadcast (__cond);
^~~~~~~~~~~~~~~~~~~~
pthread_cond_broadcast
./gthr-default.h: In function '__gthread_cond_signal':
./gthr-default.h:210:3: warning: implicit declaration of function '_Condition_Signal' [-Wimplicit-function-declaration]
_Condition_Signal (__cond);
^~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_signal':
./gthr-default.h:210:3: warning: implicit declaration of function '_Condition_Signal' [-Wimplicit-function-declaration]
_Condition_Signal (__cond);
^~~~~~~~~~~~~~~~~
../../../../../../../../../../gcc-7.2.0/libgcc/unwind-dw2-fde.c:56:26: error: storage size of 'object_mutex' isn't known
static __gthread_mutex_t object_mutex = __GTHREAD_MUTEX_INIT;
^~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_wait':
./gthr-default.h:217:3: warning: implicit declaration of function '_Condition_Wait' [-Wimplicit-function-declaration]
_Condition_Wait (__cond, __mutex);
^~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_wait':
./gthr-default.h:217:3: warning: implicit declaration of function '_Condition_Wait' [-Wimplicit-function-declaration]
_Condition_Wait (__cond, __mutex);
^~~~~~~~~~~~~~~
/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/./gcc/xgcc -B/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/./gcc/ -nostdinc -B/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/newlib/ -isystem /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/newlib/targ-include -isystem /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/gcc-7.2.0/newlib/libc/include -B/D/opt/rtems/4.12/nios2-rtems4.12/bin/ -B/D/opt/rtems/4.12/nios2-rtems4.12/lib/ -isystem /D/opt/rtems/4.12/nios2-rtems4.12/include -isystem /D/opt/rtems/4.12/nios2-rtems4.12/sys-include -g -O2 -mhw-mul -mhw-mulx -mhw-div -mcustom-fadds=253 -mcustom-fdivs=255 -mcustom-fmuls=252 -mcustom-fsubs=254 -O2 -I../../../../../../../../../../gcc-7.2.0/libgcc/../newlib/libc/sys/rtems/include -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -fbuilding-libgcc!
-fno-stack-protector -Dinhibit_libc -I. -I. -I../../../../../../../../.././gcc -I../../../../../../../../../../gcc-7.2.0/libgcc -I../../../../../../../../../../gcc-7.2.0/libgcc/. -I../../../../../../../../../../gcc-7.2.0/libgcc/../gcc -I../../../../../../../../../../gcc-7.2.0/libgcc/../include -DHAVE_CC_TLS -o _gcov_merge_time_profile.o -MT _gcov_merge_time_profile.o -MD -MP -MF _gcov_merge_time_profile.dep -DL_gcov_merge_time_profile -c ../../../../../../../../../../gcc-7.2.0/libgcc/libgcov-merge.c
./gthr-default.h: In function '__gthread_cond_timedwait':
./gthr-default.h:225:10: warning: implicit declaration of function '_Condition_Wait_timed' [-Wimplicit-function-declaration]
return _Condition_Wait_timed (__cond, __mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_timedwait':
./gthr-default.h:225:10: warning: implicit declaration of function '_Condition_Wait_timed' [-Wimplicit-function-declaration]
return _Condition_Wait_timed (__cond, __mutex, __abs_timeout);
^~~~~~~~~~~~~~~~~~~~~
./gthr-default.h: In function '__gthread_cond_wait_recursive':
./gthr-default.h:232:3: warning: implicit declaration of function '_Condition_Wait_recursive'; did you mean '__lock_init_recursive'? [-Wimplicit-function-declaration]
_Condition_Wait_recursive (__cond, __mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~
__lock_init_recursive
./gthr-default.h: In function '__gthread_cond_wait_recursive':
./gthr-default.h:232:3: warning: implicit declaration of function '_Condition_Wait_recursive'; did you mean '__lock_init_recursive'? [-Wimplicit-function-declaration]
_Condition_Wait_recursive (__cond, __mutex);
^~~~~~~~~~~~~~~~~~~~~~~~~
__lock_init_recursive
make[4]: *** [../../../../../../../../../../gcc-7.2.0/libgcc/static-object.mk:17: unwind-dw2-fde.o] Error 1
make[4]: *** Waiting for unfinished jobs....
./gthr-default.h: In function '__gthread_cond_destroy':
./gthr-default.h:239:3: warning: implicit declaration of function '_Condition_Destroy' [-Wimplicit-function-declaration]
_Condition_Destroy (__cond);
^~~~~~~~~~~~~~~~~~
make[4]: *** [../../../../../../../../../../gcc-7.2.0/libgcc/static-object.mk:17: unwind-dw2.o] Error 1
./gthr-default.h: In function '__gthread_cond_destroy':
./gthr-default.h:239:3: warning: implicit declaration of function '_Condition_Destroy' [-Wimplicit-function-declaration]
_Condition_Destroy (__cond);
^~~~~~~~~~~~~~~~~~
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c: At top level:
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:58:1: error: variable 'emutls_mutex' has initializer but incomplete type
static __gthread_mutex_t emutls_mutex = __GTHREAD_MUTEX_INIT;
^~~~~~
make[4]: *** [../../../../../../../../../../gcc-7.2.0/libgcc/static-object.mk:17: unwind-sjlj.o] Error 1
In file included from ../../../../../../../../../../gcc-7.2.0/libgcc/gthr.h:148:0,
from ../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:31:
./gthr-default.h:51:30: error: '_MUTEX_INITIALIZER' undeclared here (not in a function); did you mean 'PTHREAD_MUTEX_INITIALIZER'?
#define __GTHREAD_MUTEX_INIT _MUTEX_INITIALIZER
^
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:58:41: note: in expansion of macro '__GTHREAD_MUTEX_INIT'
static __gthread_mutex_t emutls_mutex = __GTHREAD_MUTEX_INIT;
^~~~~~~~~~~~~~~~~~~~
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c: In function '__emutls_get_address':
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:159:13: warning: implicit declaration of function 'calloc' [-Wimplicit-function-declaration]
arr = calloc (size + 1, sizeof (void *));
^~~~~~
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:159:13: warning: incompatible implicit declaration of built-in function 'calloc'
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:159:13: note: include '<stdlib.h>' or provide a declaration of 'calloc'
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:171:13: warning: implicit declaration of function 'realloc' [-Wimplicit-function-declaration]
arr = realloc (arr, (size + 1) * sizeof (void *));
^~~~~~~
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:171:13: warning: incompatible implicit declaration of built-in function 'realloc'
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:171:13: note: include '<stdlib.h>' or provide a declaration of 'realloc'
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c: At top level:
../../../../../../../../../../gcc-7.2.0/libgcc/emutls.c:58:26: error: storage size of 'emutls_mutex' isn't known
static __gthread_mutex_t emutls_mutex = __GTHREAD_MUTEX_INIT;
^~~~~~~~~~~~
make[4]: *** [../../../../../../../../../../gcc-7.2.0/libgcc/static-object.mk:17: emutls.o] Error 1
make[4]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/mhw-mul/mhw-mulx/mhw-div/mcustom-fadds-253/mcustom-fdivs-255/mcustom-fmuls-252/mcustom-fsubs-254/libgcc'
make[3]: *** [Makefile:1198: multi-do] Error 1
make[3]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/libgcc'
make[2]: *** [Makefile:125: all-multi] Error 2
make[2]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build/nios2-rtems4.12/libgcc'
make[1]: *** [Makefile:13187: all-target-libgcc] Error 2
make[1]: Leaving directory '/D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/build'
make: *** [Makefile:905: all] Error 2
shell cmd failed: sh -ex /D/opt/rtems/rsb.git/rtems/build/nrg7n2xwm1/doit
error: building nrg7n2xwm1
See error report: rsb-report-nios2-rtems4.12-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-w64-mingw32-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Output
======
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-w64-mingw32-1
building: autoconf-2.69-x86_64-w64-mingw32-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-w64-mingw32-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-w64-mingw32-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-w64-mingw32-1
building: automake-1.12.6-x86_64-w64-mingw32-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-w64-mingw32-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-w64-mingw32-1.xml
installing: autoconf-2.69-x86_64-w64-mingw32-1 -> D:\opt\rtems\4.12
installing: automake-1.12.6-x86_64-w64-mingw32-1 -> D:\opt\rtems\4.12
cleaning: autoconf-2.69-x86_64-w64-mingw32-1
cleaning: automake-1.12.6-x86_64-w64-mingw32-1
Build Set: Time 0:00:30.501575
Build Set: Time 0:00:54.877834
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-w64-mingw32-1
building: expat-2.1.0-x86_64-w64-mingw32-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-w64-mingw32-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-w64-mingw32-1.xml
config: tools/rtems-binutils-2.29-1.cfg
package: nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1
building: nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1
reporting: tools/rtems-binutils-2.29-1.cfg -> nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1.txt
reporting: tools/rtems-binutils-2.29-1.cfg -> nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1.xml
config: tools/rtems-gcc-7.2.0-newlib-2.5.0.20170922-1.cfg
package: nios2-rtems4.12-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-w64-mingw32-1
building: nios2-rtems4.12-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-w64-mingw32-1
error: building nrg7n2xwm1
Build FAILED
See error report: rsb-report-nios2-rtems4.12-gcc-7.2.0-newlib-2.5.0.20170922-x86_64-w64-mingw32-1.txt
error: building nrg7n2xwm1
config: tools/rtems-gdb-8.0.1-1.cfg
package: nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1
building: nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1
reporting: tools/rtems-gdb-8.0.1-1.cfg -> nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1.txt
reporting: tools/rtems-gdb-8.0.1-1.cfg -> nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1.xml
config: tools/rtems-tools-4.12-1.cfg
package: rtems-tools-HEAD-1
git: reset: git://git.rtems.org/rtems-tools.git
git: fetch: git://git.rtems.org/rtems-tools.git -> sources/git/rtems-tools.git
git: checkout: git://git.rtems.org/rtems-tools.git => HEAD
git: pull: git://git.rtems.org/rtems-tools.git
building: rtems-tools-HEAD-1
reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.txt
reporting: tools/rtems-tools-4.12-1.cfg -> rtems-tools-HEAD-1.xml
config: tools/rtems-kernel-4.12.cfg
package: nios2-rtems4.12-kernel-4.12-1
building: nios2-rtems4.12-kernel-4.12-1
reporting: tools/rtems-kernel-4.12.cfg -> nios2-rtems4.12-kernel-4.12-1.txt
reporting: tools/rtems-kernel-4.12.cfg -> nios2-rtems4.12-kernel-4.12-1.xml
cleaning: expat-2.1.0-x86_64-w64-mingw32-1
cleaning: nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1
cleaning: nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1
cleaning: rtems-tools-HEAD-1
cleaning: nios2-rtems4.12-kernel-4.12-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:21:14 2017
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-w64-mingw32-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross build
CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
./configure \
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
--verbose \
--prefix=/D/opt/rtems/4.12 --bindir=/D/opt/rtems/4.12/bin \
--exec-prefix=/D/opt/rtems/4.12 \
--includedir=/D/opt/rtems/4.12/include --libdir=/D/opt/rtems/4.12/lib \
--mandir=/D/opt/rtems/4.12/share/man --infodir=/D/opt/rtems/4.12/share/info
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:21:14 2017
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-w64-mingw32-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross build
CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
./configure \
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
--verbose \
--prefix=/D/opt/rtems/4.12 --bindir=/D/opt/rtems/4.12/bin \
--exec-prefix=/D/opt/rtems/4.12 \
--includedir=/D/opt/rtems/4.12/include --libdir=/D/opt/rtems/4.12/lib \
--mandir=/D/opt/rtems/4.12/share/man --infodir=/D/opt/rtems/4.12/share/info
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:23:54 2017
==============================================================================
Report: tools/rtems-binutils-2.29-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.29-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.29-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1
Config: tools/rtems-binutils-2.29-1.cfg
Summary:
Binutils v2.29 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://sources.redhat.com/binutils
Version:
2.29
Release:
1
Sources: 1
1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.bz2
sha512: 8148587d7e4f14ebcbcb3f984b116deaae5d4008228628acde14bc242a64a4b53faf1f6077a2c4ca4750e2f254b698ba506bd657f79e1202e87e7029b0069337
Patches: 1
1: https://devel.rtems.org/raw-attachment/ticket/3091/0001-Fix-Binutils-2.29-PR21884.patch
sha512: 19f31152c3d5df4e1d0bd05316c8418a12790ca75e76d9188ad55aca5cb601a37396132283611ec2843630bdcb82eaeca727faa0a78fd9fd4f752fc0c3b0d3d2
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.29"
source_dir_binutils=${binutils_source}
%setup source binutils -q -n ${binutils_source}
%setup patch binutils -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "nios2-rtems4.12" -o "x86_64-w64-mingw32" == "nios2-rtems4.12" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross build
CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
../${source_dir_binutils}/configure \
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
--target=nios2-rtems4.12 \
--verbose --disable-nls \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/D/opt/rtems/4.12 --bindir=/D/opt/rtems/4.12/bin \
--exec-prefix=/D/opt/rtems/4.12 \
--includedir=/D/opt/rtems/4.12/include --libdir=/D/opt/rtems/4.12/lib \
--mandir=/D/opt/rtems/4.12/share/man --infodir=/D/opt/rtems/4.12/share/info
make -j 8 all
cd ${build_top}
Install:
cd ${build_top}
rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
rm -rf $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/configure.info*
rm -f $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
touch $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
mkdir -p $SB_BUILD_ROOT/D/opt/rtems/4.12/share/locale
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-dlltool; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-nlmconv; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-windres; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-windmc; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:23:55 2017
==============================================================================
Report: tools/rtems-binutils-2.29-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.29-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.29-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.12-binutils-2.29-x86_64-w64-mingw32-1
Config: tools/rtems-binutils-2.29-1.cfg
Summary:
Binutils v2.29 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://sources.redhat.com/binutils
Version:
2.29
Release:
1
Sources: 1
1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.29.tar.bz2
sha512: 8148587d7e4f14ebcbcb3f984b116deaae5d4008228628acde14bc242a64a4b53faf1f6077a2c4ca4750e2f254b698ba506bd657f79e1202e87e7029b0069337
Patches: 1
1: https://devel.rtems.org/raw-attachment/ticket/3091/0001-Fix-Binutils-2.29-PR21884.patch
sha512: 19f31152c3d5df4e1d0bd05316c8418a12790ca75e76d9188ad55aca5cb601a37396132283611ec2843630bdcb82eaeca727faa0a78fd9fd4f752fc0c3b0d3d2
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.29"
source_dir_binutils=${binutils_source}
%setup source binutils -q -n ${binutils_source}
%setup patch binutils -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "nios2-rtems4.12" -o "x86_64-w64-mingw32" == "nios2-rtems4.12" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross build
CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
../${source_dir_binutils}/configure \
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
--target=nios2-rtems4.12 \
--verbose --disable-nls \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/D/opt/rtems/4.12 --bindir=/D/opt/rtems/4.12/bin \
--exec-prefix=/D/opt/rtems/4.12 \
--includedir=/D/opt/rtems/4.12/include --libdir=/D/opt/rtems/4.12/lib \
--mandir=/D/opt/rtems/4.12/share/man --infodir=/D/opt/rtems/4.12/share/info
make -j 8 all
cd ${build_top}
Install:
cd ${build_top}
rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
rm -rf $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/configure.info*
rm -f $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
touch $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
mkdir -p $SB_BUILD_ROOT/D/opt/rtems/4.12/share/locale
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-dlltool; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-nlmconv; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-windres; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/bin/nios2-rtems4.12-windmc; then
rm -f ${SB_BUILD_ROOT}/D/opt/rtems/4.12/share/man/man1/nios2-rtems4.12-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:41:46 2017
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1
Config: tools/rtems-gdb-8.0.1-1.cfg
Summary:
GDB v8.0.1 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://www.gnu.org/software/gdb/
Version:
8.0.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
Patches: 1
1: https://gaisler.org/gdb/gdb-8.0.1-sis-leon2-leon3.diff
sha512: f8aa851f50feb063dd63fc10018ed638c5bd1708b6b9f5d1c1e1030c8d30a24de3506bb233cc5e7e4392ed400448b59f4c71584a22ea28878295d6d87ff79342
Preparation:
build_top=$(pwd)
gdb_source="gdb-8.0.1"
source_dir_gdb=${gdb_source}
%setup source gdb -q -n ${gdb_source}
%setup patch gdb -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "nios2-rtems4.12" -o "x86_64-w64-mingw32" == "nios2-rtems4.12" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross build
CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
--target=nios2-rtems4.12 \
--verbose --disable-nls \
--with-system-readline \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python \
--prefix=/D/opt/rtems/4.12 --bindir=/D/opt/rtems/4.12/bin \
--exec-prefix=/D/opt/rtems/4.12 \
--includedir=/D/opt/rtems/4.12/include --libdir=/D/opt/rtems/4.12/lib \
--mandir=/D/opt/rtems/4.12/share/man --infodir=/D/opt/rtems/4.12/share/info
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
rm -rf $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/configure.info*
rm -f $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
touch $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:41:46 2017
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.12-gdb-8.0.1-x86_64-w64-mingw32-1
Config: tools/rtems-gdb-8.0.1-1.cfg
Summary:
GDB v8.0.1 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://www.gnu.org/software/gdb/
Version:
8.0.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
Patches: 1
1: https://gaisler.org/gdb/gdb-8.0.1-sis-leon2-leon3.diff
sha512: f8aa851f50feb063dd63fc10018ed638c5bd1708b6b9f5d1c1e1030c8d30a24de3506bb233cc5e7e4392ed400448b59f4c71584a22ea28878295d6d87ff79342
Preparation:
build_top=$(pwd)
gdb_source="gdb-8.0.1"
source_dir_gdb=${gdb_source}
%setup source gdb -q -n ${gdb_source}
%setup patch gdb -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross-build (Xc) if no target or the host and target match.
# Canadian-cross (Cxc) if build, host and target are all different.
if test -z "nios2-rtems4.12" -o "x86_64-w64-mingw32" == "nios2-rtems4.12" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
# Cross build
CC=$(echo "x86_64-w64-mingw32-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "x86_64-w64-mingw32-gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-w64-mingw32-g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 \
--target=nios2-rtems4.12 \
--verbose --disable-nls \
--with-system-readline \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python \
--prefix=/D/opt/rtems/4.12 --bindir=/D/opt/rtems/4.12/bin \
--exec-prefix=/D/opt/rtems/4.12 \
--includedir=/D/opt/rtems/4.12/include --libdir=/D/opt/rtems/4.12/lib \
--mandir=/D/opt/rtems/4.12/share/man --infodir=/D/opt/rtems/4.12/share/info
make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
rm -rf $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/configure.info*
rm -f $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
touch $SB_BUILD_ROOT/D/opt/rtems/4.12/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:43:10 2017
==============================================================================
Report: tools/rtems-tools-4.12-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-4.12-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-4.12-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-HEAD-1
Config: tools/rtems-tools-4.12-1.cfg
Summary:
RTEMS Tools HEAD for host x86_64-w64-mingw32
URL:
http://www.rtems.org/
Version:
HEAD
Release:
1
Sources: 1
1: git://git.rtems.org/rtems-tools.git?reset=hard?fetch?branch=HEAD?pull
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source="rtems-tools.git"
source_dir_rtems_tools=${rtems_tools_source}
%setup source rtems-tools -q -n ${rtems_tools_source}
%setup patch rtems-tools -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
RT_HOST="-host=x86_64-w64-mingw32"
else
RT_HOST=
fi
cd ${source_dir_rtems_tools}
./waf distclean configure ${RT_HOST} --prefix=/D/opt/rtems/4.12
./waf
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT$(echo /D/opt/rtems/4.12 | cut -c 1-2)
cd ${source_dir_rtems_tools}
./waf --destdir=$SB_BUILD_ROOT_WAF install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:43:10 2017
==============================================================================
Report: tools/rtems-tools-4.12-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-4.12-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-4.12-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-HEAD-1
Config: tools/rtems-tools-4.12-1.cfg
Summary:
RTEMS Tools HEAD for host x86_64-w64-mingw32
URL:
http://www.rtems.org/
Version:
HEAD
Release:
1
Sources: 1
1: git://git.rtems.org/rtems-tools.git?reset=hard?fetch?branch=HEAD?pull
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source="rtems-tools.git"
source_dir_rtems_tools=${rtems_tools_source}
%setup source rtems-tools -q -n ${rtems_tools_source}
%setup patch rtems-tools -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-w64-mingw32" != "x86_64-w64-mingw32" ; then
RT_HOST="-host=x86_64-w64-mingw32"
else
RT_HOST=
fi
cd ${source_dir_rtems_tools}
./waf distclean configure ${RT_HOST} --prefix=/D/opt/rtems/4.12
./waf
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT$(echo /D/opt/rtems/4.12 | cut -c 1-2)
cd ${source_dir_rtems_tools}
./waf --destdir=$SB_BUILD_ROOT_WAF install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:43:11 2017
==============================================================================
Report: tools/rtems-kernel-4.12.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-kernel-4.12.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-kernel-4.12.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.12-kernel-4.12-1
Config: tools/rtems-kernel-4.12.cfg
Summary:
RTEMS v4.12 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://www.rtems.org/
Version:
4.12
Release:
1
Sources: 0
Patches: 0
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Oct 28 03:43:12 2017
==============================================================================
Report: tools/rtems-kernel-4.12.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 8cdc8e42e4e2ce3b14297d2223f84c8344c1eb18
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-kernel-4.12.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-kernel-4.12.cfg
------------------------------------------------------------------------------
Package: nios2-rtems4.12-kernel-4.12-1
Config: tools/rtems-kernel-4.12.cfg
Summary:
RTEMS v4.12 for target nios2-rtems4.12 on host x86_64-w64-mingw32
URL:
http://www.rtems.org/
Version:
4.12
Release:
1
Sources: 0
Patches: 0
More information about the build
mailing list