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

joel at rtems.org joel at rtems.org
Wed Jan 23 00:40:16 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:05:37.405674

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking for __atomic_exchange for size 16... no
checking for __atomic_compare_exchange for size 1... yes
checking ctype.h presence... yes
checking tgmath.h presence... no
checking for __atomic_compare_exchange for size 2... yes
checking for ctype.h... yes
yes
checking for tgmath.h... yes
checking printf.h usability... checking complex.h usability... no
checking for __atomic_compare_exchange for size 4... no
checking for __atomic_compare_exchange for size 8... no
checking printf.h presence... no
checking for __atomic_compare_exchange for size 16... yes
checking complex.h presence... no
checking for printf.h... no
checking errno.h usability... no
yes
checking for complex.h... yes
checking for ISO C99 support in <complex.h> for C++98... checking for __atomic_fetch_add for size 1... no
checking for __atomic_fetch_add for size 2... no
checking for ISO C99 support in <stdio.h> for C++98... no
yes
checking errno.h presence... checking for __atomic_fetch_add for size 4... yes
checking for errno.h... yes
no
checking whether the math.h includes POSIX's signgam... checking for __atomic_fetch_add for size 8... no
checking for __atomic_fetch_add for size 16... no
yes
checking for sqrtl in -lm... checking for __atomic_fetch_op for size 1... yes
checking for ISO C99 support in <stdlib.h> for C++98... no
checking for __atomic_fetch_op for size 2... no
yes
checking for cbrtl in -lm... checking for __atomic_fetch_op for size 4... no
checking for __atomic_fetch_op for size 8... yes
checking for ISO C99 support in <wchar.h> for C++98... no
yes
checking for feholdexcept in -lm... checking for __atomic_fetch_op for size 16... no
checking whether byte ordering is bigendian... no
checking for fesetround in -lm... no
checking for feupdateenv in -lm... config.status: creating Makefile
no
checking for the word size... config.status: creating ssp/ssp.h
no
checking for fesetenv in -lm... config.status: creating config.h
config.status: executing default-1 commands
no
checking for fetestexcept in -lm... yes
checking for sin in -lm... (cached) yes
checking for ISO C99 support in <math.h> for C++11... no
checking for strtoull... Adding multilib support to Makefile in ../../../gcc-7.4.0/libssp
multidirs=
with_multisubdir=
config.status: executing depfiles commands
yes
4
checking whether hidden visibility is supported... checking whether the target supports hidden visibility... yes
checking whether symbol versioning is supported... yes
checking whether the target supports dllexport... 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 whether the target supports symbol aliases... config.status: executing libtool commands
no
checking for ISO C99 support in <stdio.h> for C++11... no
checking whether __float128 is supported... no
checking whether printf hooks are supported... yes
checking for ld used by /data/home/joel/rtems-work/rtems-source-builder/rtems/build/epiphany-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/epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/epiphany-rtems5/newlib/ -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/epiphany-rtems5/newlib/targ-include -isystem /data/home/joel/rtems-work/rtems-source-builder/rtems/build/epiphany-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/epiphany-rtem
 s5/bin/ -B/home/joel/rtems-work/tools/5/epiphany-rtems5/lib/ -isystem /home/joel/rtems-work/tools/5/epiphany-rtems5/include -isystem /home/joel/rtems-work/tools/5/epiphany-rtems5/sys-include   ... (cached) /data/home/joel/rtems-work/rtems-source-builder/rtems/build/epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/./gcc/collect-ld) is GNU ld... (cached) yes
configure: versioning on shared library symbols is no
no
checking whether nl_langinfo should be used... configure: updating cache ./config.cache
configure: creating ./config.status
no
checking whether nl_langinfo should be used for wide char locale info... yes
checking for ISO C99 support in <stdlib.h> for C++11... no
checking whether localeconv should be used... yes
checking whether i18n number rewriting support for quadmath_snprintf should be added... yes
checking for ISO C99 support in <wchar.h> for C++11... no
configure: updating cache ./config.cache
checking generated-files-in-srcdir... no
configure: creating ./config.status
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... config.status: creating Makefile
yes
checking for ENOLINK... config.status: creating testsuite/Makefile
config.status: creating auto-config.h
yes
checking for EPROTO... config.status: executing default-1 commands
yes
checking for ENODATA... yes
checking for ENOSR... yes
checking for ENOSTR... Adding multilib support to Makefile in ../../../gcc-7.4.0/libatomic
multidirs=
with_multisubdir=
config.status: executing depfiles commands
yes
checking for ETIME... config.status: creating Makefile
yes
checking for EBADMSG... config.status: executing libtool commands
config.status: creating config.h
config.status: executing default-1 commands
config.status: executing gstdint.h commands
yes
checking for ECANCELED... yes
checking for EOVERFLOW... yes
checking for ENOTSUP... Adding multilib support to Makefile in ../../../gcc-7.4.0/libquadmath
multidirs=
with_multisubdir=
yes
checking for EIDRM... config.status: executing depfiles commands
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... config.status: executing libtool commands
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... no
checking for ptrdiff_t as int... no
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... m
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
multidirs=
with_multisubdir=
config.status: creating libsupc++/Makefile
Adding multilib support to libsupc++/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating src/Makefile
Adding multilib support to src/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating src/c++98/Makefile
Adding multilib support to src/c++98/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating src/c++11/Makefile
Adding multilib support to src/c++11/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating src/filesystem/Makefile
Adding multilib support to src/filesystem/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating doc/Makefile
Adding multilib support to doc/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating po/Makefile
Adding multilib support to po/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating testsuite/Makefile
Adding multilib support to testsuite/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating python/Makefile
Adding multilib support to python/Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
config.status: creating config.h
config.status: executing default-1 commands
Adding multilib support to Makefile in ../../../gcc-7.4.0/libstdc++-v3
multidirs=
with_multisubdir=
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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr.h > epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr-single.h > epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/gthr-posix.h > epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/gcc-7.4.0/libstdc++-v3/../libgcc/config/gthr-rtems.h > epiphany-rtems5/bits/gthr-default.h
make[2]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/epiphany-rtems5/libstdc++-v3/include'
make[1]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/epiphany-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/epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/do-build
error: building epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
  See error report: rsb-report-epiphany-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.805430
Build Set: Time 0:00:25.912182
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.785MB (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-binutils-2.31.1.cfg
package: epiphany-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
building: epiphany-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
sizes: epiphany-rtems5-binutils-2.31.1-x86_64-linux-gnu-1: 489.826MB (installed: 119.305MB)
cleaning: epiphany-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-2.31.1.cfg -> epiphany-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-2.31.1.cfg -> epiphany-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa.cfg
package: epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
building: epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
error: building epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-epiphany-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1.txt
error: building epiphany-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 18:35:09 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 epiphany-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 18:35:09 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 epiphany-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 18:35:49 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: epiphany-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 epiphany-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 "epiphany-rtems5" -o "x86_64-linux-gnu" == "epiphany-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=epiphany-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/epiphany-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/epiphany-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/epiphany-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/epiphany-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 18:35:49 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: epiphany-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 epiphany-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 "epiphany-rtems5" -o "x86_64-linux-gnu" == "epiphany-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=epiphany-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/epiphany-rtems5-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/epiphany-rtems5-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/epiphany-rtems5-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/epiphany-rtems5-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/epiphany-rtems5-windmc*
  fi
  cd ${build_top}


More information about the build mailing list