Build Linux: FAILED 5/rtems-sh on x86_64-linux-gnu (sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1)

joel at rtems.org joel at rtems.org
Wed Jan 23 03:07:32 UTC 2019


RTEMS Source Builder - Set Builder, 5 (0bb29a38fb73)

Host: Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-centos-7.5.1804-Core
       Linux rtbf64c.rtems.com 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14
       21:49:04 UTC 2018 x86_64 x86_64

Build Time: 0:15:48.574583

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking if /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems
 5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 supports -c -o file.o... (cached) yes
checking whether the /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/ -nostdinc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5
 /sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 linker (/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/collect-ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... yes
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking how to run the C++ preprocessor... /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/ho
 me/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 -E
checking for ld used by /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/r
 tems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4... /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/collect-ld
checking if the linker (/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... yes
checking whether the /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtem
 s-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 linker (/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/collect-ld) supports shared libraries... no
checking for /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtems-source
 -builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 option to produce PIC... -fPIC -DPIC
checking if /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtems-source-
 builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 PIC flag -fPIC -DPIC works... yes
checking if /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtems-source-
 builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 static flag -static works... yes
checking if /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtems-source-
 builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 supports -c -o file.o... yes
checking if /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtems-source-
 builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 supports -c -o file.o... (cached) yes
checking whether the /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/xgcc -shared-libgcc -B/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc -nostdinc++ -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/src/.libs -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/libsupc++/.libs -nostdinc -B/data/home/joel/rtems-work/rtem
 s-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/newlib/libc/include -B/home/joel/rtems-work/tools/5/sh-rtems5/bin/ -B/home/joel/rtems-work/tools/5/sh-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/sh-rtems5/include -isystem /home/joel/rtems-work/tools/5/sh-rtems5/sys-include  -ml -m4 linker (/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/collect-ld) supports shared libraries... no
checking dynamic linker characteristics... no
checking how to hardcode library paths into programs... immediate
checking for enabled PCH... no
checking for thread model used by GCC... rtems
checking for atomic builtins for bool... no
checking for atomic builtins for short... no
checking for atomic builtins for int... no
checking for atomic builtins for long long... no
checking for ISO/IEC TR 24733 ... no
checking for __int128... no
checking for __float128... no
checking for g++ that supports -ffunction-sections -fdata-sections... yes
checking for underlying I/O to use... stdio
checking for C locale to use... newlib
checking for std::allocator base class... new
configure: "C" header strategy set to c_global
checking for enabled long long specializations... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking for mbstate_t... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for enabled wchar_t specializations... yes
checking for sin in -lm... yes
checking for ISO C99 support in <math.h> for C++98... yes
checking tgmath.h usability... yes
checking tgmath.h presence... yes
checking for tgmath.h... yes
checking complex.h usability... yes
checking complex.h presence... yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h> for C++98... no
checking for ISO C99 support in <stdio.h> for C++98... yes
checking for ISO C99 support in <stdlib.h> for C++98... yes
checking for ISO C99 support in <wchar.h> for C++98... make[7]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/gcc/ada/rts_m4-single-only'
make[6]: *** [gnatlib] Error 2
make[6]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/gcc/ada'
make[5]: *** [gnatlib-shared] Error 2
make[5]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/gcc/ada'
make[4]: *** [gnatlib-shared] Error 2
make[4]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/m4-single-only/libada'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/libada'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/libada'
make[1]: *** [all-target-libada] Error 2
make[1]: *** Waiting for unfinished jobs....
yes
checking for sin in -lm... (cached) yes
checking for ISO C99 support in <math.h> for C++11... yes
checking for tgmath.h... (cached) yes
checking for complex.h... (cached) yes
checking for ISO C99 support in <complex.h> for C++11... no
checking for ISO C99 support in <stdio.h> for C++11... yes
checking for ISO C99 support in <stdlib.h> for C++11... yes
checking for ISO C99 support in <wchar.h> for C++11... yes
checking for fully enabled ISO C99 support... no
configure: Debug build flags set to -gdwarf-4 -g3 -O0
checking for additional debug build... no
configure: target-libgomp not built
checking for parallel mode support... no
checking for extra compiler flags for building... 
checking for extern template support... yes
checking for custom python install directory... no
checking for -Werror... yes
checking for vtable verify support... no
checking for gets declaration... yes
checking for obsolete isinf function in <math.h>... no
checking for obsolete isnan function in <math.h>... no
checking for EOWNERDEAD... yes
checking for ENOTRECOVERABLE... yes
checking for ENOLINK... yes
checking for EPROTO... yes
checking for ENODATA... yes
checking for ENOSR... yes
checking for ENOSTR... yes
checking for ETIME... yes
checking for EBADMSG... yes
checking for ECANCELED... yes
checking for EOVERFLOW... yes
checking for ENOTSUP... yes
checking for EIDRM... yes
checking for ETXTBSY... yes
checking for ECHILD... yes
checking for ENOSPC... yes
checking for EPERM... yes
checking for ETIMEDOUT... yes
checking for EWOULDBLOCK... yes
checking uchar.h usability... no
checking uchar.h presence... no
checking for uchar.h... no
no
checking for int64_t... yes
checking for int64_t as long... checking for int64_t as long long... yes
checking for LFS support... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking for poll... no
checking for S_ISREG or S_IFREG... S_ISREG
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking for writev... yes
checking fenv.h usability... no
checking fenv.h presence... no
checking for fenv.h... no
checking for complex.h... (cached) yes
checking for complex.h... (cached) yes
checking for ISO C99 support to TR1 in <complex.h>... no
checking for ISO C99 support to TR1 in <ctype.h>... yes
checking for fenv.h... (cached) no
no
checking for ISO C99 support to TR1 in <stdint.h>... yes
checking for ISO C99 support to TR1 in <math.h>... yes
checking for ISO C99 support to TR1 in <inttypes.h>... yes
checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking stdalign.h usability... yes
checking stdalign.h presence... yes
checking for stdalign.h... yes
checking for the value of EOF... -1
checking for the value of SEEK_CUR... 1
checking for the value of SEEK_END... 2
checking for gettimeofday... checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for gettimeofday... yes
checking for sleep... yes
checking for usleep... yes
checking for tmpnam... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking sys/sysinfo.h usability... no
checking sys/sysinfo.h presence... no
checking for sys/sysinfo.h... no
checking for get_nprocs... no
checking for unistd.h... (cached) yes
checking for _SC_NPROCESSORS_ONLN... yes
checking for _SC_NPROC_ONLN... no
checking for pthreads_num_processors_np... no
checking for hw.ncpu sysctl... no
checking for suitable sys/sdt.h... no
checking endian.h usability... no
checking endian.h presence... no
checking for endian.h... no
checking execinfo.h usability... no
checking execinfo.h presence... no
checking for execinfo.h... no
checking float.h usability... yes
checking float.h presence... yes
checking for float.h... yes
checking fp.h usability... no
checking fp.h presence... no
checking for fp.h... no
checking ieeefp.h usability... yes
checking ieeefp.h presence... yes
checking for ieeefp.h... yes
checking for inttypes.h... (cached) yes
checking for locale.h... (cached) yes
checking machine/endian.h usability... yes
checking machine/endian.h presence... yes
checking for machine/endian.h... yes
checking machine/param.h usability... yes
checking machine/param.h presence... yes
checking for machine/param.h... yes
checking nan.h usability... no
checking nan.h presence... no
checking for nan.h... no
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for strings.h... (cached) yes
checking sys/ipc.h usability... no
checking sys/ipc.h presence... no
checking for sys/ipc.h... no
checking sys/isa_defs.h usability... no
checking sys/isa_defs.h presence... no
checking for sys/isa_defs.h... no
checking sys/machine.h usability... no
checking sys/machine.h presence... no
checking for sys/machine.h... no
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/sem.h usability... no
checking sys/sem.h presence... no
checking for sys/sem.h... no
checking for sys/stat.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for unistd.h... (cached) yes
checking for wchar.h... (cached) yes
checking for wctype.h... (cached) yes
looking for a compliant stdint.h in stdint.h, checking for uintmax_t... yes
checking for uintptr_t... yes
checking for int_least32_t... yes
checking for int_fast32_t... yes
checking for uint64_t... yes
checking what to include in include/gstdint.h... stdint.h (already complete)
checking for GNU c++filt... /usr/bin/c++filt
checking whether the target supports .symver directive... yes
configure: versioning on shared library symbols is no
checking for size_t as unsigned int... yes
checking for ptrdiff_t as int... yes
checking whether the target supports hidden visibility... yes
configure: visibility supported: yes
checking for default std::string ABI to use... new
checking for rdrand support in assembler... no
checking for unistd.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for sys/resource.h... (cached) yes
checking for RLIMIT_DATA... no
checking for RLIMIT_RSS... no
checking for RLIMIT_VMEM... no
checking for RLIMIT_AS... no
checking for RLIMIT_FSIZE... no
checking for testsuite resource limits support... no
checking whether it can be safely assumed that mutex_timedlock is available... yes
checking for gthreads library... yes
checking for pthread_rwlock_t... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking dirent.h usability... yes
checking dirent.h presence... yes
checking for dirent.h... yes
checking sys/statvfs.h usability... no
checking sys/statvfs.h presence... no
checking for sys/statvfs.h... no
checking utime.h usability... yes
checking utime.h presence... yes
checking for utime.h... yes
checking whether to build Filesystem TS support... no
checking for struct dirent.d_type... yes
checking for realpath... no
checking for utimensat... no
checking for struct stat.st_mtim.tv_nsec... yes
checking for fchmod... yes
checking for fchmodat... no
checking for sendfile that can copy files... no
checking how size_t is mangled... j
checking for makeinfo... makeinfo --split-size=5000000
checking for modern makeinfo... yes
checking for doxygen... yes
checking for dot... yes
checking for xsltproc... yes
checking for xmllint... yes
checking for docbook stylesheets for documentation creation... no
checking for local stylesheet directory... no
checking for epub3 stylesheets for documentation creation... no
checking for dblatex... no
checking for pdflatex... yes
configure: updating cache ./config.cache
checking for gxx-include-dir... no
checking for --enable-version-specific-runtime-libs... yes
checking for install location... ${libdir}/gcc/${host_alias}/${gcc_version}/include/c++
configure: creating ./config.status
config.status: creating Makefile
config.status: creating scripts/testsuite_flags
config.status: creating scripts/extract_symvers
config.status: creating doc/xsl/customization.xsl
config.status: creating include/Makefile
Adding multilib support to include/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating libsupc++/Makefile
Adding multilib support to libsupc++/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating src/Makefile
Adding multilib support to src/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating src/c++98/Makefile
Adding multilib support to src/c++98/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating src/c++11/Makefile
Adding multilib support to src/c++11/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating src/filesystem/Makefile
Adding multilib support to src/filesystem/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating doc/Makefile
Adding multilib support to doc/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating po/Makefile
Adding multilib support to po/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating testsuite/Makefile
Adding multilib support to testsuite/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating python/Makefile
Adding multilib support to python/Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../../../gcc-7.4.0/libstdc++-v3
with_multisubdir=ml/m4
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[2]: Entering directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
echo 1 > stamp-dual-abi
echo 1 > stamp-cxx11-abi
echo 1 > stamp-allocator-new
echo 'undef _GLIBCXX_USE_FLOAT128' > stamp-float128
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr.h > sh-rtems5/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr-single.h > sh-rtems5/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr-posix.h > sh-rtems5/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/config/gthr-rtems.h > sh-rtems5/bits/gthr-default.h
make[2]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/ml/m4/libstdc++-v3/include'
config.status: executing libtool commands
config.status: executing include/gstdint.h commands
config.status: executing generate-headers commands
make[2]: Entering directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/libstdc++-v3/include'
echo timestamp > stamp-pb
echo timestamp > stamp-host
echo 0 > stamp-namespace-version
echo 1 > stamp-visibility
echo 1 > stamp-extern-template
echo 1 > stamp-dual-abi
echo 1 > stamp-cxx11-abi
echo 1 > stamp-allocator-new
echo 'undef _GLIBCXX_USE_FLOAT128' > stamp-float128
sed -e '/^#pragma/b' \
    -e '/^#/s/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_][ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*\)/_GLIBCXX_\1/g' \
    -e 's/_GLIBCXX_SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/_GLIBCXX___MINGW32_GLIBCXX___/__MINGW32__/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr.h > sh-rtems5/bits/gthr.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr-single.h > sh-rtems5/bits/gthr-single.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr-posix.h > sh-rtems5/bits/gthr-posix.h
sed -e 's/\(UNUSED\)/_GLIBCXX_\1/g' \
    -e 's/\(GCC[ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*_H\)/_GLIBCXX_\1/g' \
    -e 's/SUPPORTS_WEAK/__GXX_WEAK__/g' \
    -e 's/\([ABCDEFGHIJKLMNOPQRSTUVWXYZ_]*USE_WEAK\)/_GLIBCXX_\1/g' \
    -e 's,^#include "\(.*\)",#include <bits/\1>,g' \
    < /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/config/gthr-rtems.h > sh-rtems5/bits/gthr-default.h
make[2]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/sh-rtems5/libstdc++-v3/include'
make[1]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build'
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex  /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/do-build
error: building sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
  See error report: rsb-report-sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 

Sizes
=====

No packages built
Output
======

config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.515MB (installed: 3.019MB)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 10.352MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
installing: autoconf-2.69-x86_64-linux-gnu-1 -> /home/joel/rtems-work/tools/5
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /home/joel/rtems-work/tools/5
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.797MB total: 596.824MB (sources: 591.195MB, patches: 355.154KB, installed 5.282MB)
Build Set: Time 0:00:16.942733
Build Set: Time 0:00:26.754283
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
sizes: expat-2.1.0-x86_64-linux-gnu-1: 7.784MB (installed: 1.510MB)
cleaning: expat-2.1.0-x86_64-linux-gnu-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-8.0.1-1.cfg
package: sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
building: sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
sizes: sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1: 550.486MB (installed: 71.521MB)
cleaning: sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-8.0.1-1.cfg -> sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-8.0.1-1.cfg -> sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-2.31.1.cfg
package: sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
building: sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
sizes: sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1: 512.375MB (installed: 132.701MB)
cleaning: sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-2.31.1.cfg -> sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-2.31.1.cfg -> sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa.cfg
package: sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
building: sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
error: building sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1.txt
error: building sh-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 20:52:15 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sh-rtems5 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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-linux-gnu --host=x86_64-linux-gnu \
  --verbose \
  --prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
  --exec-prefix=/home/joel/rtems-work/tools/5 \
  --includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
  --mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
  make -j 12 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> Tue Jan 22 20:52:15 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-linux-gnu-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target sh-rtems5 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.1.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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-linux-gnu --host=x86_64-linux-gnu \
  --verbose \
  --prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
  --exec-prefix=/home/joel/rtems-work/tools/5 \
  --includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
  --mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
  make -j 12 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> Tue Jan 22 20:54:24 2019
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-8.0.1-1.cfg
 Summary:
  GDB v8.0.1 for target sh-rtems5 on host x86_64-linux-gnu
 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://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
       sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon3-smp.diff
       sha512: 1d086c656e6c240eee721f0f4a5cd43d4bbd29feff2ac22e6e56b6953c6390438976180575c0888c38a000c5ed6c8276479e9620315fdd6a6455214218ecbb78
 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-linux-gnu" != "x86_64-linux-gnu" ; 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 "sh-rtems5" -o "x86_64-linux-gnu" == "sh-rtems5" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu --host=x86_64-linux-gnu \
  --target=sh-rtems5 \
  --verbose --disable-nls \
  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
  \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --enable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-guile=no \
  --with-python=/usr/bin/python2 \
  --prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
  --exec-prefix=/home/joel/rtems-work/tools/5 \
  --includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
  --mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
  make -j 12 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 20:54:24 2019
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-8.0.1-1.cfg
 Summary:
  GDB v8.0.1 for target sh-rtems5 on host x86_64-linux-gnu
 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://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
       sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
    2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon3-smp.diff
       sha512: 1d086c656e6c240eee721f0f4a5cd43d4bbd29feff2ac22e6e56b6953c6390438976180575c0888c38a000c5ed6c8276479e9620315fdd6a6455214218ecbb78
 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-linux-gnu" != "x86_64-linux-gnu" ; 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 "sh-rtems5" -o "x86_64-linux-gnu" == "sh-rtems5" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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-linux-gnu" != "x86_64-linux-gnu" ; 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-linux-gnu --host=x86_64-linux-gnu \
  --target=sh-rtems5 \
  --verbose --disable-nls \
  --disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
  \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --enable-sim \
  \
  --without-zlib \
  --with-expat \
  --with-guile=no \
  --with-python=/usr/bin/python2 \
  --prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
  --exec-prefix=/home/joel/rtems-work/tools/5 \
  --includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
  --mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
  make -j 12 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 20:55:05 2019
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-2.31.1.cfg
 Summary:
  Binutils v2.31.1 for target sh-rtems5 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.31.1
 Release:
  1
  Sources: 1
    1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.bz2
       sha512: b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.31.1"
  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-linux-gnu" != "x86_64-linux-gnu" ; 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 "sh-rtems5" -o "x86_64-linux-gnu" == "sh-rtems5" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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-linux-gnu --host=x86_64-linux-gnu \
  --target=sh-rtems5 \
  --verbose --disable-nls \
  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
  --enable-deterministic-archives \
  --enable-64-bit-bfd \
  \
  --disable-lto \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
  --exec-prefix=/home/joel/rtems-work/tools/5 \
  --includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
  --mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
  make -j 12 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 20:55:05 2019
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
   1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
 Status:
  Clean
 Head:
  Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: sh-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
 Config: tools/rtems-binutils-2.31.1.cfg
 Summary:
  Binutils v2.31.1 for target sh-rtems5 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  2.31.1
 Release:
  1
  Sources: 1
    1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.bz2
       sha512: b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source="binutils-2.31.1"
  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-linux-gnu" != "x86_64-linux-gnu" ; 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 "sh-rtems5" -o "x86_64-linux-gnu" == "sh-rtems5" ; 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-linux-gnu" != "x86_64-linux-gnu" ; then
    # Cross build
    CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-linux-gnu-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 "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "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-linux-gnu --host=x86_64-linux-gnu \
  --target=sh-rtems5 \
  --verbose --disable-nls \
  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
  --enable-deterministic-archives \
  --enable-64-bit-bfd \
  \
  --disable-lto \
  --without-included-gettext \
  --disable-win32-registry \
  --disable-werror \
  --prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
  --exec-prefix=/home/joel/rtems-work/tools/5 \
  --includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
  --mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
  make -j 12 all
  cd ${build_top}
 Install:
  cd ${build_top}
  /bin/rm -rf $SB_BUILD_ROOT
  cd ${build_dir}
  make DESTDIR=$SB_BUILD_ROOT install
  /bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
  mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sh-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sh-rtems5-windmc*
  fi
  cd ${build_top}


More information about the build mailing list