Build Linux: FAILED 6/rtems-microblaze on x86_64-linux-gnu (microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1)

sebastian.huber at embedded-brains.de sebastian.huber at embedded-brains.de
Thu Sep 5 13:11:54 UTC 2024


RTEMS Source Builder - Set Builder, 6 (745ff5f98c8e)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown

Host: Linux-5.14.21-150500.55.68-default-x86_64-with-glibc2.3.4
       Linux lupus 5.14.21-150500.55.68-default #1 SMP PREEMPT_DYNAMIC Wed Jun 5
       21:39:05 UTC 2024 (40e256a) x86_64 x86_64

Build Time: 0:02:44.740507

= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = 
Build FAILED: microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 
checking for __argz_next... configure: creating ./config.status
checking whether abort is declared... stdint.h (shortcircuit)
no
checking for KERN_PROC... yes
make use of stdint.h in include/isl/stdint.h (assuming C99 compatible system)
checking which gmp to use... system
checking gmp.h usability... checking for an ANSI C-conforming const... yes
yes
checking for getpagesize... yes
yes
yes
checking sys/mman.h usability... checking for calloc... no
checking for KERN_PROG_ARGS... checking for __fsetlocking... yes
checking gmp.h presence... checking whether asprintf is declared... yes
checking for gmp.h... yes
checking for main in -lgmp... yes
checking sys/mman.h presence... yes
no
checking for clock_gettime... yes
checking for gettimeofday... yes
yes
checking for sys/mman.h... yes
checking for mmap... checking whether basename is declared... yes
checking for iconv... checking for clock... yes
yes
checking whether -pthread is supported... config.status: creating Makefile
yes
yes
yes
checking whether read-only mmap of a plain file works... yes
checking whether mmap from /dev/zero works... yes
checking for MAP_ANON(YMOUS)... yes
checking whether -gdwarf-5 is supported... checking whether errno is declared... yes
checking for iconv declaration... checking for index... config.status: creating mkheaders.almost
yes
checking for ffs... config.status: creating config.h
checking whether mp_get_memory_functions is declared... yes
checking whether mmap with MAP_ANON(YMOUS) works... yes
checking whether to enable maintainer-specific portions of Makefiles... no
no

         extern size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
yes
checking for compress in -lz... checking for nl_langinfo and CODESET... checking whether getopt is declared... configure: updating cache ./config.cache
yes
yes
configure: creating ./config.status
checking for insque... checking whether ffs is declared... yes
yes
checking for getcwd... yes
checking for LC_MESSAGES... yes
checking whether --compress-debug-sections is supported... checking whether vasprintf is declared... yes
checking whether __builtin_ffs is declared... yes
checking for memchr... yes
yes
yes
checking for bison... bison
checking version of bison... yes
checking for objcopy... objcopy
checking for readelf... readelf
checking whether objcopy supports debuglink... 3.0.4, ok
checking whether NLS is requested... no
checking whether clearerr_unlocked is declared... yes
checking for dsymutil... dsymutil
checking for nm... nm
checking for xz... checking whether to use NLS... no
xz
checking for comm... comm
checking for lzma_auto_decoder in -llzma... yes
checking for aclocal... aclocal
checking for autoconf... autoconf
checking for autoheader... autoheader
checking bison 3 or later... checking for getpagesize... 3.0.4, bison3
checking whether _BitScanForward is declared... yes
yes
no
configure: updating cache ./config.cache
checking whether feof_unlocked is declared... yes
checking whether tests can run... checking for memcmp... checking whether strcasecmp is declared... configure: creating ./config.status
yes
checking for gettimeofday... yes
config.status: creating Makefile
yes
checking whether strncasecmp is declared... yes
checking whether ferror_unlocked is declared... config.status: creating mkheaders.almost
yes
checking for memcpy... yes
yes
configure: updating cache ./config.cache
config.status: creating config.h
checking for index... yes
checking that generated files are newer than configure... done
configure: creating ./config.status
checking whether _stricmp is declared... checking whether fflush_unlocked is declared... yes
no
checking for memmem... checking whether _strnicmp is declared... yes
yes
checking whether fgetc_unlocked is declared... checking for insque... no
config.status: creating Makefile
checking whether snprintf is declared... yes
yes
config.status: creating config.intl
checking whether fgets_unlocked is declared... checking for memmove... yes
yes
checking for memchr... config.status: creating config.h
checking whether _snprintf is declared... config.status: executing default-1 commands
yes
checking whether fileno_unlocked is declared... yes
no
checking which clang to use... no
checking for C compiler vendor... (cached) gnu
checking our pkgconfig libname... isl
checking our pkgconfig version... 0.24
checking our pkgconfig_libdir... checking for mempcpy... yes
${libdir}/pkgconfig
expanded our pkgconfig_libdir... /opt/rtems/6-gcc-10.4/lib/pkgconfig
checking our pkgconfig_libfile... isl.pc
checking our package / suffix... isl / 
checking our pkgconfig description... isl Library
checking our pkgconfig requires... 
checking our pkgconfig ext libs... checking for memcmp... -lisl -lgmp
checking our pkgconfig cppflags... 
checking our pkgconfig ldflags... yes

noninstalled pkgconfig -L /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1/build/isl/.libs
checking whether fprintf_unlocked is declared... noninstalled pkgconfig -I /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1/build/isl/../../gnu-mirror-gcc-87a5641/isl/include
yes
checking for memset... yes
no
configure: updating cache ./config.cache
checking for memcpy... checking whether fputc_unlocked is declared... checking that generated files are newer than configure... done
configure: creating ./config.status
yes
yes
checking for mkstemps... checking whether fputs_unlocked is declared... yes
checking for memmem... yes
yes
checking whether fread_unlocked is declared... checking for putenv... yes
checking for memmove... yes
checking whether fwrite_unlocked is declared... yes
checking for random... yes
yes
checking for mempcpy... checking whether getchar_unlocked is declared... yes
checking for rename... yes
checking whether getc_unlocked is declared... yes
yes
checking for memset... checking for rindex... yes
checking whether putchar_unlocked is declared... yes
yes
yes
checking for mkstemps... checking for setenv... checking whether putc_unlocked is declared... yes
yes
yes
checking for working alloca.h... checking for putenv... checking for snprintf... yes
checking for alloca... yes
yes
checking for random... checking for sigsetmask... yes
checking for ANSI C header files... (cached) yes
checking for nl_langinfo and CODESET... yes
checking for rename... yes
yes
checking whether NLS is requested... no
checking for uchar... checking for stpcpy... 
checking size of ino_t... yes
checking for rindex... yes
checking for stpncpy... config.status: creating Makefile
yes
8
checking size of dev_t... config.status: creating backtrace-supported.h
checking for setenv... yes
config.status: creating install-debuginfo-for-buildid.sh
checking for strcasecmp... config.status: creating config.h
yes
checking for snprintf... 8
checking for ld used by GCC... config.status: executing libtool commands
yes
checking for strchr... config.status: executing gstdint.h commands
/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld
checking if the linker (/usr/lib64/gcc/x86_64-suse-linux/7/../../../../x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for shared library run path origin... yes
config.status: executing default commands
checking for sigsetmask... done
yes
checking for iconv... (cached) no
checking for strdup... checking for CET support... yes
checking for stpcpy... no
yes
checking for strncasecmp... configure: updating cache ./config.cache
configure: creating ./config.status
yes
checking for stpncpy... yes
checking for strndup... yes
checking for strcasecmp... yes
checking for strnlen... yes
config.status: creating Makefile
checking for strchr... yes
config.status: creating config.h
checking for strrchr... config.status: executing depdir commands
mkdir -p -- .deps
yes
checking for strdup... yes
checking for strstr... yes
checking for strncasecmp... yes
checking for strtod... yes
checking for strndup... yes
checking for strtol... config.status: creating isl_srcdir.c
yes
config.status: creating Makefile
yes
checking for strnlen... checking for strtoul... config.status: creating doc/Makefile
yes
config.status: creating bound_test.sh
yes
checking for strrchr... checking for strtoll... config.status: creating codegen_test.sh
config.status: creating pip_test.sh
yes
yes
config.status: creating flow_test.sh
checking for strtoull... checking for strstr... config.status: creating schedule_test.sh
config.status: creating isl_config.h
yes
yes
checking for strverscmp... config.status: executing depfiles commands
checking for strtod... yes
yes
checking for tmpnam... checking for strtol... yes
yes
checking for vasprintf... checking for strtoul... yes
yes
checking for vfprintf... checking for strtoll... yes
yes
checking for vprintf... checking for strtoull... yes
yes
checking for vsnprintf... checking for strverscmp... yes
yes
checking for vsprintf... checking for tmpnam... yes
yes
checking for waitpid... checking for vasprintf... yes
yes
checking for setproctitle... checking for vfprintf... config.status: executing libtool commands
no
checking whether alloca needs Cray hooks... yes
no
checking stack direction for C alloca... config.status: executing include/isl/stdint.h commands
config.status: creating include/isl/stdint.h : _ISL_INCLUDE_ISL_STDINT_H
checking for vprintf... config.status: executing isl.pc commands
config.status: creating isl.pc.in
config.status: creating isl.pc
config.status: creating isl-uninstalled.pc
config.status: creating isl-uninstalled.sh
-1
yes
checking for vfork.h... checking for vsnprintf... no
checking for fork... yes
yes
checking for vsprintf... checking for vfork... yes
yes
checking for working fork... checking for waitpid... yes
yes
checking for working vfork... (cached) yes
checking for _doprnt... checking for setproctitle... no
checking for sys_errlist... no
checking whether alloca needs Cray hooks... no
checking stack direction for C alloca... yes
checking for sys_nerr... -1
checking for vfork.h... no
yes
checking for fork... checking for sys_siglist... yes
checking for external symbol _system_configuration... yes
checking for vfork... no
checking for __fsetlocking... yes
yes
checking for working fork... checking for canonicalize_file_name... yes
checking for dup3... yes
checking for working vfork... (cached) yes
checking for _doprnt... yes
checking for getrlimit... no
checking for sys_errlist... yes
yes
checking for getrusage... checking for sys_nerr... yes
checking for getsysinfo... yes
checking for sys_siglist... no
yes
checking for gettimeofday... (cached) yes
checking for external symbol _system_configuration... checking for on_exit... no
checking for __fsetlocking... yes
checking for pipe2... yes
checking for canonicalize_file_name... yes
checking for psignal... yes
checking for dup3... yes
checking for pstat_getdynamic... yes
checking for getrlimit... no
checking for pstat_getstatic... yes
checking for getrusage... no
checking for realpath... yes
checking for getsysinfo... yes
checking for setrlimit... no
checking for gettimeofday... (cached) yes
yes
checking for on_exit... checking for spawnve... yes
checking for pipe2... no
checking for spawnvpe... yes
no
checking for psignal... checking for strerror... yes
yes
checking for strsignal... checking for pstat_getdynamic... yes
no
checking for sysconf... checking for pstat_getstatic... yes
checking for sysctl... no
checking for realpath... yes
yes
checking for sysmp... checking for setrlimit... no
checking for table... yes
checking for spawnve... no
checking for times... no
checking for spawnvpe... yes
checking for wait3... no
checking for strerror... yes
checking for wait4... yes
checking for strsignal... yes
checking for sbrk... yes
checking for sysconf... yes
checking whether basename is declared... yes
checking for sysctl... yes
checking whether ffs is declared... yes
checking for sysmp... yes
checking whether asprintf is declared... yes
no
checking whether vasprintf is declared... checking for table... yes
checking whether snprintf is declared... no
checking for times... yes
checking whether vsnprintf is declared... yes
checking for wait3... yes
checking whether calloc is declared... yes
yes
checking for wait4... checking whether getenv is declared... yes
yes
checking whether getopt is declared... checking for sbrk... yes
checking whether malloc is declared... yes
checking whether basename is declared... yes
checking whether realloc is declared... yes
yes
checking whether ffs is declared... checking whether sbrk is declared... yes
yes
checking whether asprintf is declared... checking whether strtol is declared... yes
yes
checking whether strtoul is declared... checking whether vasprintf is declared... yes
yes
checking whether strtoll is declared... checking whether snprintf is declared... yes
yes
checking whether strtoull is declared... checking whether vsnprintf is declared... yes
yes
checking whether strverscmp is declared... checking whether calloc is declared... yes
yes
checking whether strnlen is declared... checking whether getenv is declared... yes
yes
checking whether canonicalize_file_name must be declared... checking whether getopt is declared... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
yes
checking whether malloc is declared... checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking whether realloc is declared... yes
checking for working strncmp... yes
checking whether sbrk is declared... yes
yes
checking whether strtol is declared... configure: updating cache ./config.cache
configure: creating ./config.status
yes
checking whether strtoul is declared... yes
checking whether strtoll is declared... yes
checking whether strtoull is declared... config.status: creating Makefile
yes
checking whether strverscmp is declared... config.status: creating testsuite/Makefile
config.status: creating config.h
yes
config.status: executing default commands
checking whether strnlen is declared... yes
checking whether canonicalize_file_name must be declared... no
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... (cached) yes
checking for getpagesize... (cached) yes
checking for working mmap... yes
checking for working strncmp... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating Makefile
config.status: creating testsuite/Makefile
config.status: creating config.h
config.status: executing default commands
make[1]: Leaving directory '/tmp/sh/b-rsb/microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1/build'
make: *** [Makefile:1033: all] Error 2
make: Leaving directory '/tmp/sh/b-rsb/microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1/build'
shell cmd failed: /bin/sh -ex  /home/EB/sebastian_h/src/rtems-source-builder/rtems/build/microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1/do-build
error: building microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1
  See error report: rsb-report-microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1.txt
  Note: In some cases the error appears only in
  the complete build log (see --log option)
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 


Output
======

Build Set: 6/rtems-microblaze
config: devel/expat-2.5.0-1.cfg
package: expat-2.5.0-x86_64-linux-gnu-1
building: expat-2.5.0-x86_64-linux-gnu-1
sizes: expat-2.5.0-x86_64-linux-gnu-1: 9.974MB (installed: 1.425MB)
cleaning: expat-2.5.0-x86_64-linux-gnu-1
reporting: devel/expat-2.5.0-1.cfg -> expat-2.5.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.5.0-1.cfg -> expat-2.5.0-x86_64-linux-gnu-1.xml
config: devel/gmp-6.2.1.cfg
package: gmp-6.2.1-x86_64-linux-gnu-1
building: gmp-6.2.1-x86_64-linux-gnu-1
sizes: gmp-6.2.1-x86_64-linux-gnu-1: 36.654MB (installed: 4.976MB)
cleaning: gmp-6.2.1-x86_64-linux-gnu-1
reporting: devel/gmp-6.2.1.cfg -> gmp-6.2.1-x86_64-linux-gnu-1.txt
reporting: devel/gmp-6.2.1.cfg -> gmp-6.2.1-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-13.2.cfg
package: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1
building: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1
sizes: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1: 889.674MB (installed: 171.076MB)
cleaning: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-13.2.cfg -> microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-13.2.cfg -> microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1.xml
config: tools/rtems-xilinx-binutils-2.36.cfg
package: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
building: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
sizes: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1: 621.399MB (installed: 132.110MB)
cleaning: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
reporting: tools/rtems-xilinx-binutils-2.36.cfg -> microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1.txt
reporting: tools/rtems-xilinx-binutils-2.36.cfg -> microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1.xml
config: tools/rtems-xilinx-gcc-12-newlib-head.cfg
package: microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1
building: microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1
error: building microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1
Build FAILED
  See error report: rsb-report-microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1.txt
  Note: In some cases the error appears only in
  the complete build log (see --log option)
error: building microblaze-rtems6-gcc-87a5641-newlib-1b3dcfd-x86_64-linux-gnu-1
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:09:18 2024
==============================================================================
Report: devel/expat-2.5.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.5.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.5.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.5.0-x86_64-linux-gnu-1
 Config: devel/expat-2.5.0-1.cfg
 Summary:
  Expat XML Parser v2.5.0 for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.5.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
       sha512: 8f99pfr7R9zW4PDYkoJqum3nZQnISXvAA4LxEJq44qk9OWlD27UiFkVwRJk6Odc3KASK32UNjoPigYntx7eEAg==
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.5.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.5.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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.5.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:09:18 2024
==============================================================================
Report: devel/expat-2.5.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.5.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.5.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.5.0-x86_64-linux-gnu-1
 Config: devel/expat-2.5.0-1.cfg
 Summary:
  Expat XML Parser v2.5.0 for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  http://expat.sourceforge.net/
 Version:
  2.5.0
 Release:
  1
  Sources: 1
    1: https://github.com/libexpat/libexpat/releases/download/R_2_5_0/expat-2.5.0.tar.gz
       sha512: 8f99pfr7R9zW4PDYkoJqum3nZQnISXvAA4LxEJq44qk9OWlD27UiFkVwRJk6Odc3KASK32UNjoPigYntx7eEAg==
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source expat -q -n expat-2.5.0
  %setup patch expat -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd expat-2.5.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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd expat-2.5.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:09:42 2024
==============================================================================
Report: devel/gmp-6.2.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.2.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.2.1.cfg
------------------------------------------------------------------------------
Package: gmp-6.2.1-x86_64-linux-gnu-1
 Config: devel/gmp-6.2.1.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.2.1 for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.2.1
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.2.1.tar.bz2
       sha512: iQQzSjvMXIluzsq8dc2p3sZC5AH7U5fEmSxPq+peliyc6L1E6OQjPDTlXIAQzCjbBUX191DL27XwCvU43HY76Q==
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.2.1
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.2.1
  # 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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.2.1
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:09:43 2024
==============================================================================
Report: devel/gmp-6.2.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.2.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.2.1.cfg
------------------------------------------------------------------------------
Package: gmp-6.2.1-x86_64-linux-gnu-1
 Config: devel/gmp-6.2.1.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.2.1 for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.2.1
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.2.1.tar.bz2
       sha512: iQQzSjvMXIluzsq8dc2p3sZC5AH7U5fEmSxPq+peliyc6L1E6OQjPDTlXIAQzCjbBUX191DL27XwCvU43HY76Q==
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.2.1
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.2.1
  # 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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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-linux-gnu --host=x86_64-linux-gnu  --verbose  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info  --disable-shared
  make -j 48 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.2.1
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:10:58 2024
==============================================================================
Report: tools/rtems-gdb-13.2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-13.2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-13.2.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-13.2.cfg
 Summary:
  GDB v13.2 for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  13.2
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/gdb/gdb-13.2.tar.xz
       sha512: gYXT4Rq2Da//WGClAWV3v+fddUfvAevIZ7wkdgPYK3T/dMTylJLH0q7lcHb1K+M+KJ9Ma0FKS4cNSzAEkJ9MNA==
  Patches: 1
    1: https://sourceware.org/bugzilla/attachment.cgi?id=14783&format=raw
       No checksum
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-13.2"
  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 "microblaze-rtems6" -o "x86_64-linux-gnu" == "microblaze-rtems6" ; 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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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
  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=microblaze-rtems6  --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/python3  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info
  make -j 48 all V=1
  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/opt/rtems/6-gcc-10.4/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:10:59 2024
==============================================================================
Report: tools/rtems-gdb-13.2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-13.2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-13.2.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1
 Config: tools/rtems-gdb-13.2.cfg
 Summary:
  GDB v13.2 for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  http://www.gnu.org/software/gdb/
 Version:
  13.2
 Release:
  1
  Sources: 1
    1: https://ftp.gnu.org/gnu/gdb/gdb-13.2.tar.xz
       sha512: gYXT4Rq2Da//WGClAWV3v+fddUfvAevIZ7wkdgPYK3T/dMTylJLH0q7lcHb1K+M+KJ9Ma0FKS4cNSzAEkJ9MNA==
  Patches: 1
    1: https://sourceware.org/bugzilla/attachment.cgi?id=14783&format=raw
       No checksum
 Preparation:
  build_top=$(pwd)
  gdb_source="gdb-13.2"
  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 "microblaze-rtems6" -o "x86_64-linux-gnu" == "microblaze-rtems6" ; 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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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
  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=microblaze-rtems6  --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/python3  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info
  make -j 48 all V=1
  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/opt/rtems/6-gcc-10.4/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:11:38 2024
==============================================================================
Report: tools/rtems-xilinx-binutils-2.36.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-xilinx-binutils-2.36.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-xilinx-binutils-2.36.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
 Config: tools/rtems-xilinx-binutils-2.36.cfg
 Summary:
  Binutils v7af075d for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  7af075d
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-7af075d.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/7af075d
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-7af075d
  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 "microblaze-rtems6" -o "x86_64-linux-gnu" == "microblaze-rtems6" ; 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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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
  ../${source_dir_binutils}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=microblaze-rtems6  --verbose --disable-nls  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim  --enable-deterministic-archives  --enable-64-bit-bfd    --without-included-gettext  --disable-win32-registry  --disable-werror  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info  --disable-warn-execstack --disable-warn-rwx-segments
  make -j 48 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/opt/rtems/6-gcc-10.4/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  mkdir -p $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-windmc*
  fi
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Sep  5 15:11:38 2024
==============================================================================
Report: tools/rtems-xilinx-binutils-2.36.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: 745ff5f98c8e208e0056331188005debccaf9db6
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-xilinx-binutils-2.36.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-xilinx-binutils-2.36.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
 Config: tools/rtems-xilinx-binutils-2.36.cfg
 Summary:
  Binutils v7af075d for target microblaze-rtems6 on host x86_64-linux-gnu
 URL:
  http://sources.redhat.com/binutils
 Version:
  7af075d
 Release:
  1
  Sources: 1
    1: --rsb-file=sourceware-mirror-binutils-gdb-7af075d.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/7af075d
       No checksum
  Patches: 0
 Preparation:
  build_top=$(pwd)
  binutils_source=sourceware-mirror-binutils-gdb-7af075d
  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 "microblaze-rtems6" -o "x86_64-linux-gnu" == "microblaze-rtems6" ; 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}"
    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 "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}"
    LDLIBS="${SB_BUILD_LIBS}"
    LIBS="${SB_BUILD_LIBS}"
    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 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
  ../${source_dir_binutils}/configure  --build=x86_64-linux-gnu --host=x86_64-linux-gnu  --target=microblaze-rtems6  --verbose --disable-nls  --disable-gdb --disable-libdecnumber --disable-readline --disable-sim  --enable-deterministic-archives  --enable-64-bit-bfd    --without-included-gettext  --disable-win32-registry  --disable-werror  --prefix=/opt/rtems/6-gcc-10.4 --bindir=/opt/rtems/6-gcc-10.4/bin  --exec-prefix=/opt/rtems/6-gcc-10.4  --includedir=/opt/rtems/6-gcc-10.4/include --libdir=/opt/rtems/6-gcc-10.4/lib  --mandir=/opt/rtems/6-gcc-10.4/share/man --infodir=/opt/rtems/6-gcc-10.4/share/info  --disable-warn-execstack --disable-warn-rwx-segments
  make -j 48 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/opt/rtems/6-gcc-10.4/share/info/configure.info*
  /bin/rm -f $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  touch $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/info/dir
  mkdir -p $SB_BUILD_ROOT/opt/rtems/6-gcc-10.4/share/locale
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/lib/libiberty*
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-dlltool; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-dlltool*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-nlmconv; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-nlmconv*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-windres; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-windres*
  fi
  if test ! -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/bin/microblaze-rtems6-windmc; then
  /bin/rm -f ${SB_BUILD_ROOT}/opt/rtems/6-gcc-10.4/share/man/man1/microblaze-rtems6-windmc*
  fi
  cd ${build_top}


More information about the build mailing list