Build FreeBSD: FAILED 7/rtems-powerpc on x86_64-freebsd12.1 (powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Mon Dec 21 16:34:19 UTC 2020


RTEMS Source Builder - Set Builder, 6 (04cda564c9c9)

Host: FreeBSD-12.1-RELEASE-amd64-64bit-ELF
       FreeBSD Build_FreeBSD12 12.1-RELEASE FreeBSD 12.1-RELEASE r354233 GENERIC
       amd64 amd64

Build Time: 0:00:54.368184

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking for memory.h... yes
BSD
checking for O_CLOEXEC... checking for strings.h... yes
yes
checking for inttypes.h... configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking build system type... x86_64-pc-freebsd12.1
checking host system type... x86_64-pc-freebsd12.1
checking target system type... powerpc-unknown-rtems7
checking for dlfcn.h... yes
checking for windows.h... no
checking for library containing dlsym... none required
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking whether /usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include supports C++11 features by default... config.status: creating Makefile
yes
checking dependency style of /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include... config.status: creating config.h
config.status: executing depfiles commands
gcc3
checking whether NLS is requested... no
checking whether makeinfo --split-size=5000000 supports @click... config.status: executing libtool commands
yes
checking for default auto-load directory... $debugdir:$datadir/auto-load
checking for default auto-load safe-path... $debugdir:$datadir/auto-load
checking for x86_64-freebsd12.1-pkg-config... no
checking for pkg-config... /usr/home/user/rtems-source-builder/source-builder/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether to use debuginfod... auto
checking for libdebuginfod >= 0.179... no
configure: WARNING: libdebuginfod is missing or unusable; some features may be unavailable.
checking libunwind-ia64.h usability... no
checking libunwind-ia64.h presence... no
checking for libunwind-ia64.h... no
checking for monstartup... yes
checking for _mcleanup... yes
checking for _etext... yes
checking for etext... yes
checking for gawk... nawk
checking for a BSD-compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking for x86_64-freebsd12.1-ranlib... ranlib
checking for bison... bison -y
checking for x86_64-freebsd12.1-ar... ar
checking for x86_64-freebsd12.1-dlltool... dlltool
checking for x86_64-freebsd12.1-windres... windres
checking for main in -lm... yes
checking for library containing gethostbyname... none required
checking for library containing socketpair... none required
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for shared library run path origin... done
checking for iconv... yes
checking how to link with libiconv... /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib
checking for iconv declaration... 
         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
checking for library containing waddstr... -lncursesw
checking for library containing tgetent... none required
checking size of unsigned long long... 8
checking size of unsigned long... 8
checking size of unsigned __int128... 16
checking for library containing dlopen... none required
checking whether to use expat... yes
checking for libexpat... yes
checking how to link with libexpat... /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/lib/libexpat.a
checking for XML_StopParser... yes
checking for libgmp... yes
checking how to link with libgmp... /usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/lib/libgmp.a
checking whether to use MPFR... auto
checking for libmpfr... no
checking whether to use python... /usr/local/bin/python2
configure: WARNING: MPFR is missing or unusable; some features may be unavailable.
checking for python... yes
checking compiler flags for python code...  -fno-strict-aliasing -fwrapv
checking whether to use guile... no
checking for pkg-config... /usr/home/user/rtems-source-builder/source-builder/pkg-config
configure: WARNING: guile support disabled; some features will be unavailable.
checking for the source-highlight library... no
checking for ANSI C header files... (cached) yes
checking nlist.h usability... yes
checking nlist.h presence... yes
checking for nlist.h... yes
checking machine/reg.h usability... yes
checking machine/reg.h presence... no
checking for machine/reg.h... yes
configure: WARNING: machine/reg.h: accepted by the compiler, rejected by the preprocessor!
configure: WARNING: machine/reg.h: proceeding with the compiler's result
checking thread_db.h usability... yes
checking thread_db.h presence... yes
checking for thread_db.h... yes
checking sys/file.h usability... yes
checking sys/file.h presence... yes
checking for sys/file.h... yes
checking sys/filio.h usability... yes
checking sys/filio.h presence... yes
checking for sys/filio.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
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/ptrace.h usability... yes
checking sys/ptrace.h presence... yes
checking for sys/ptrace.h... yes
checking ptrace.h usability... no
checking ptrace.h presence... no
checking for ptrace.h... no
checking sys/reg.h usability... no
checking sys/reg.h presence... no
checking for sys/reg.h... no
checking sys/debugreg.h usability... no
checking sys/debugreg.h presence... no
checking for sys/debugreg.h... no
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking elf_hp.h usability... no
checking elf_hp.h presence... no
checking for elf_hp.h... no
checking for sys/user.h... yes
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking cursesX.h usability... no
checking cursesX.h presence... no
checking for cursesX.h... no
checking ncurses.h usability... yes
checking ncurses.h presence... yes
checking for ncurses.h... yes
checking ncursesw/ncurses.h usability... no
checking ncursesw/ncurses.h presence... no
checking for ncursesw/ncurses.h... no
checking ncurses/ncurses.h usability... no
checking ncurses/ncurses.h presence... no
checking for ncurses/ncurses.h... no
checking ncurses/term.h usability... no
checking ncurses/term.h presence... no
checking for ncurses/term.h... no
checking for term.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking ws2tcpip.h usability... no
checking ws2tcpip.h presence... no
checking for ws2tcpip.h... no
checking for long long... yes
checking size of long long... 8
checking whether basename is declared... no
checking whether ffs is declared... yes
checking whether asprintf is declared... yes
checking whether vasprintf is declared... yes
checking whether snprintf is declared... yes
checking whether vsnprintf is declared... yes
checking whether strtol is declared... yes
checking whether strtoul is declared... yes
checking whether strtoll is declared... yes
checking whether strtoull is declared... yes
checking whether strverscmp is declared... no
checking whether snprintf is declared... (cached) yes
checking for LC_MESSAGES... yes
checking for socklen_t... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether byte ordering is bigendian... no
checking for getuid... yes
checking for getgid... yes
checking for pipe... yes
checking for pread... yes
checking for pread64... no
checking for pwrite... yes
checking for resize_term... yes
checking for getpgid... yes
checking for setsid... yes
checking for sigaction... yes
checking for sigsetmask... yes
checking for socketpair... yes
checking for ttrace... no
checking for wborder... yes
checking for wresize... yes
checking for setlocale... yes
checking for iconvlist... yes
checking for libiconvlist... no
checking for btowc... yes
checking for setrlimit... yes
checking for getrlimit... yes
checking for posix_madvise... yes
checking for waitpid... yes
checking for use_default_colors... yes
checking for nl_langinfo and CODESET... yes
checking for size_t... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for pid_t... yes
checking for a sed that does not truncate output... /home/user/sed-4.7/bin/sed
checking for ANSI C header files... (cached) yes
checking for working alloca.h... no
checking for alloca... yes
checking for nl_langinfo and CODESET... (cached) yes
checking linux/perf_event.h usability... no
checking linux/perf_event.h presence... no
checking for linux/perf_event.h... no
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for memory.h... (cached) yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking for sys/resource.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking for thread_db.h... (cached) yes
checking wait.h usability... no
checking wait.h presence... no
checking for wait.h... no
checking for termios.h... (cached) yes
checking for dlfcn.h... (cached) yes
checking linux/elf.h usability... no
checking linux/elf.h presence... no
checking for linux/elf.h... no
checking proc_service.h usability... yes
checking proc_service.h presence... yes
checking for proc_service.h... yes
checking poll.h usability... yes
checking poll.h presence... yes
checking for poll.h... yes
checking sys/poll.h usability... yes
checking sys/poll.h presence... yes
checking for sys/poll.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking for getpagesize... yes
checking for working mmap... yes
checking vfork.h usability... no
checking vfork.h presence... no
checking for vfork.h... no
checking for fork... yes
checking for vfork... yes
checking for working fork... yes
checking for working vfork... (cached) yes
checking for fdwalk... no
checking for getrlimit... (cached) yes
checking for pipe... (cached) yes
checking for pipe2... yes
checking for poll... yes
checking for socketpair... (cached) yes
checking for sigaction... (cached) yes
checking for ptrace64... no
checking for sbrk... yes
checking for setns... no
checking for sigaltstack... yes
checking for sigprocmask... yes
checking for setpgid... yes
checking for setpgrp... yes
checking for getrusage... yes
checking for getauxval... no
checking whether ADDR_NO_RANDOMIZE is declared... no
checking whether strstr is declared... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_blksize... yes
checking for library containing kinfo_getfile... -lutil
checking for kinfo_getfile... yes
checking whether /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include is Clang... yes
checking whether Clang needs flag to prevent "argument unused" warning when linking with -pthread... no
checking for joinable pthread attribute... PTHREAD_CREATE_JOINABLE
checking whether more special flags are required for pthreads... no
checking for PTHREAD_PRIO_INHERIT... yes
checking for std::thread... yes
checking for pthread_sigmask... yes
checking for pthread_setname_np... no
checking for sigsetjmp... yes
checking whether to use intel pt... auto
configure: WARNING: linux/perf_event.h missing or too old; some features may be unavailable.
checking for libipt... no
configure: WARNING: libipt is missing or unusable; some features may be unavailable.
checking sys/procfs.h usability... yes
checking sys/procfs.h presence... yes
checking for sys/procfs.h... yes
checking for gregset_t in sys/procfs.h... yes
checking for fpregset_t in sys/procfs.h... yes
checking for prgregset_t in sys/procfs.h... yes
checking for prfpregset_t in sys/procfs.h... yes
checking for prgregset32_t in sys/procfs.h... no
checking for lwpid_t in sys/procfs.h... yes
checking for psaddr_t in sys/procfs.h... yes
checking for elf_fpregset_t in sys/procfs.h... no
checking for sys/ptrace.h... (cached) yes
checking for ptrace.h... (cached) no
checking return type of ptrace... int
checking types of arguments for ptrace... int,pid_t,caddr_t,int
checking whether setpgrp takes no argument... no
checking for GNU regex... no
checking for struct thread.td_pcb... yes
checking for struct lwp... no
checking for struct reg in machine/reg.h... yes
checking for struct reg.r_fs... yes
checking for struct reg.r_gs... yes
checking for PTRACE_GETREGS... no
checking for PTRACE_GETFPXREGS... no
checking for PT_GETDBREGS... yes
checking for PT_GETXMMREGS... no
checking for struct ptrace_lwpinfo.pl_tdname... yes
checking for struct ptrace_lwpinfo.pl_syscall_code... yes
checking for long long support in compiler... yes
checking for long long support in printf... yes
checking for decfloat support in printf... no
checking for long double support in compiler... yes
checking for long double support in printf... yes
checking for long double support in scanf... yes
checking for the dynamic export flag... -rdynamic
checking whether <thread_db.h> has TD_NOTALLOC... no
checking whether <thread_db.h> has TD_VERSION... no
checking whether <thread_db.h> has TD_NOTLS... no
checking compiler warning flags...  -Wall -Wpointer-arith -Wno-unused -Wunused-value -Wunused-function -Wno-switch -Wno-char-subscripts -Wempty-body -Wno-sign-compare -Wno-mismatched-tags -Wno-error=deprecated-register -Wredundant-move -Wmissing-declarations -Wmissing-prototypes -Wformat -Wformat-nonliteral 
checking for cygwin... no
checking for ELF support in BFD... yes
checking for library containing dlopen... (cached) none required
checking for Mach-O support in BFD... no
checking whether to use lzma... auto
checking for liblzma... yes
checking how to link with liblzma... -llzma
checking for X... no
enable_sim = yes
enableval = yes
checking whether to use babeltrace... auto
configure: WARNING: babeltrace is missing or unusable; GDB is unable to read CTF data.
checking for libbabeltrace... no
checking for libxxhash... no
checking whether to use xxhash... no
checking for xsltproc... no
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating jit-reader.h
config.status: creating gcore
config.status: creating Makefile
config.status: creating gdb-gdb.gdb
config.status: creating gdb-gdb.py
config.status: creating doc/Makefile
config.status: creating data-directory/Makefile
config.status: creating config.h
config.status: executing depdir commands
mkdir .deps
=== configuring in testsuite (/usr/home/user/rtems-source-builder/rtems/build/powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1/build/gdb/testsuite)
configure: running /bin/sh ../../../sourceware-mirror-binutils-gdb-e1ff622/gdb/testsuite/configure --disable-option-checking '--prefix=/usr/local/rtems/6'  '--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-libiconv-prefix=/usr/local' '--with-python=/usr/local/bin/python2' '--bindir=/usr/local/rtems/6/bin' '--exec-prefix=/usr/local/rtems/6' '--includedir=/usr/local/rtems/6/include' '--libdir=/usr/local/rtems/6/lib' '--mandir=/usr/local/rtems/6/share/man' '--infodir=/usr/local/rtems/6/share/info' '--program-transform-name=s&^&powerpc-rtems7-&' '--build=x86_64-freebsd12.1' '--host=x86_64-freebsd12.1' '--target=powerpc-rtems7' 'build_alias=x86_64-freebsd12.1' 'host_alias=x86_64-freebsd12.1' 'target_alias=powerpc-rtems7' 'CC=/usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/
 user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include' 'CFLAGS=' 'LDFLAGS= -L/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/lib' 'LIBS=' 'CPPFLAGS=' 'CXX=/usr/bin/c++ -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include' 'CXXFLAGS=' 'MAKEINFO=makeinfo --split-size=5000000' 'YACC=bison -y' --cache-file=.././config.cache --srcdir=../../../sourceware-mirror-binutils-gdb-e1ff622/gdb/testsuite
configure: loading cache .././config.cache
checking build system type... (cached) x86_64-pc-freebsd12.1
checking host system type... (cached) x86_64-pc-freebsd12.1
checking target system type... (cached) powerpc-unknown-rtems7
checking for x86_64-freebsd12.1-gcc... (cached) /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables... 
checking whether we are cross compiling... no
checking for suffix of object files... (cached) o
checking whether we are using the GNU C compiler... (cached) yes
checking whether /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include accepts -g... (cached) yes
checking for /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include option to accept ISO C89... (cached) none needed
checking how to run the C preprocessor... (cached) /usr/bin/cc -O2 -pipe -fbracket-depth=1024 -I/usr/home/user/rtems-source-builder/rtems/build/tmp/sb-1001/7/rtems-powerpc/usr/local/rtems/6/include -E
checking for grep that handles long lines and -e... (cached) /usr/bin/grep
checking for egrep... (cached) /usr/bin/grep -E
checking for ANSI C header files... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for memory.h... (cached) yes
checking for strings.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for unistd.h... (cached) yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
configure: updating cache .././config.cache
configure: creating ./config.status
config.status: creating lib/pdtrace
config.status: creating Makefile
gmake[1]: Leaving directory '/usr/home/user/rtems-source-builder/rtems/build/powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1/build'
gmake: *** [Makefile:853: all] Error 2
shell cmd failed: /bin/sh -ex  /usr/home/user/rtems-source-builder/rtems/build/powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1/do-build
error: building powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1
  See error report: rsb-report-powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 7/rtems-powerpc
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-freebsd12.1-1
building: expat-2.1.0-x86_64-freebsd12.1-1
sizes: expat-2.1.0-x86_64-freebsd12.1-1: 4.775MB (installed: 620.058KB)
cleaning: expat-2.1.0-x86_64-freebsd12.1-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.1-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-freebsd12.1-1.xml
config: devel/gmp-6.1.0.cfg
package: gmp-6.1.0-x86_64-freebsd12.1-1
building: gmp-6.1.0-x86_64-freebsd12.1-1
sizes: gmp-6.1.0-x86_64-freebsd12.1-1: 21.856MB (installed: 1.727MB)
cleaning: gmp-6.1.0-x86_64-freebsd12.1-1
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-freebsd12.1-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-freebsd12.1-1.xml
config: tools/rtems-gdb-head.cfg
package: powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1
building: powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1
error: building powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1
Build FAILED
  See error report: rsb-report-powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1.txt
error: building powerpc-rtems7-gdb-e1ff622-x86_64-freebsd12.1-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Dec 21 17:34:28 2020
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 04cda564c9c9deed302aa5af0989240ed77d9856
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target powerpc-rtems7 on host x86_64-freebsd12.1
 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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/share/info  --disable-shared
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Dec 21 17:34:28 2020
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 04cda564c9c9deed302aa5af0989240ed77d9856
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-freebsd12.1-1
 Config: devel/expat-2.1.0-1.cfg
 Summary:
  Expat XML Parser v2.1.0 for target powerpc-rtems7 on host x86_64-freebsd12.1
 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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/share/info  --disable-shared
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Dec 21 17:34:46 2020
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 04cda564c9c9deed302aa5af0989240ed77d9856
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-freebsd12.1-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target powerpc-rtems7 on host x86_64-freebsd12.1
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/share/info  --disable-shared
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Dec 21 17:34:46 2020
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 04cda564c9c9deed302aa5af0989240ed77d9856
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-freebsd12.1-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target powerpc-rtems7 on host x86_64-freebsd12.1
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.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-freebsd12.1" != "x86_64-freebsd12.1" ; then
    # Cross build
    CC=$(echo "x86_64-freebsd12.1-gcc" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "x86_64-freebsd12.1-g++" | sed -e 's,-std=gnu99 ,,')
    CPPFLAGS="${SB_HOST_CPPFLAGS}"
    CFLAGS="${SB_HOST_CFLAGS}"
    CXXFLAGS="${SB_HOST_CXXFLAGS}"
    LDFLAGS="${SB_HOST_LDFLAGS}"
    LDLIBS="${SB_HOST_LIBS}"
    LIBS="${SB_HOST_LIBS}"
    # 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}"
    LDLIBS_FOR_HOST="${SB_HOST_LIBS}"
    LIBS_FOR_HOST="${SB_HOST_LIBS}"
    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}"
    LDLIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    LIBS_FOR_BUILD="${SB_BUILD_LIBS}"
    CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
    CC_FOR_BUILD=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX_FOR_BUILD=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
  else
    LDFLAGS="${SB_BUILD_LDFLAGS}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    CC=$(echo "/usr/bin/cc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CXX=$(echo "/usr/bin/c++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
    CC_FOR_BUILD=${CC}
    CXX_FOR_BUILD=${CXX}
  fi
  export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS LIBS LDLIBS
  export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST LDLIBS_FOR_HOST LIBS_FOR_HOST
  export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD LDLIBS_FOR_BUILS LIBS_FOR_BUILS
  ./configure  --build=x86_64-freebsd12.1 --host=x86_64-freebsd12.1  --verbose  --prefix=/usr/local/rtems/6 --bindir=/usr/local/rtems/6/bin  --exec-prefix=/usr/local/rtems/6  --includedir=/usr/local/rtems/6/include --libdir=/usr/local/rtems/6/lib  --mandir=/usr/local/rtems/6/share/man --infodir=/usr/local/rtems/6/share/info  --disable-shared
  gmake -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  gmake DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


More information about the build mailing list