Build Linux: PASSED 6/rtems-microblaze on x86_64-linux-gnu
Joel Sherrill
joel at rtems.org
Thu Feb 29 01:27:36 UTC 2024
RTEMS Source Builder - Set Builder, 6.1-rc2
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
warning: exe: absolute exe found in path: (__install_info) /usr/bin/install-info
Host: Linux-5.14.0-362.13.1.el9_3.x86_64-x86_64-with-glibc2.34
Linux localhost.localdomain 5.14.0-362.13.1.el9_3.x86_64 #1 SMP
PREEMPT_DYNAMIC Wed Dec 13 14:07:45 UTC 2023 x86_64 x86_64
Build Time: 0:13:39.381414
Sizes
=====
Maximum build usage: 7.378GB
Total size: 2.081GB
Installed : 1.737GB
Sources: 351.786MB
Patches: 273.997KB
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: 10.601MB (installed: 1.574MB)
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
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/gmp-6.2.1.tar.bz2 -> sources/gmp-6.2.1.tar.bz2
building: gmp-6.2.1-x86_64-linux-gnu-1
sizes: gmp-6.2.1-x86_64-linux-gnu-1: 39.186MB (installed: 5.519MB)
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: 1022.860MB (installed: 161.604MB)
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
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/sourceware-mirror-binuti...<see log> -> sources/sourceware-mirror-binutils-gdb-7af075d.tar.gz
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0001-Add-wdc.ext.clear-a...<see log> -> patches/0001-Add-wdc.ext.clear-and-wdc.ext.flush-insns.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0002-Add-mlittle-endian-...<see log> -> patches/0002-Add-mlittle-endian-and-mbig-endian-flags.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0003-Disable-the-warning...<see log> -> patches/0003-Disable-the-warning-message-for-eh_frame_hdr.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0004-LOCAL-Fix-relaxatio...<see log> -> patches/0004-LOCAL-Fix-relaxation-of-assembler-resolved-reference.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0005-upstream-change-to-...<see log> -> patches/0005-upstream-change-to-garbage-collection-sweep-causes-m.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0006-Fix-bug-in-TLSTPREL...<see log> -> patches/0006-Fix-bug-in-TLSTPREL-Relocation.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0007-Added-Address-exten...<see log> -> patches/0007-Added-Address-extension-instructions.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0008-fixing-the-MAX_OPCO...<see log> -> patches/0008-fixing-the-MAX_OPCODES-to-correct-value.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0009-Add-new-bit-field-i...<see log> -> patches/0009-Add-new-bit-field-instructions.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0010-fixing-the-imm-bug.patch -> patches/0010-fixing-the-imm-bug.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0011-Patch-Microblaze-fi...<see log> -> patches/0011-Patch-Microblaze-fixed-bug-in-GCC-so-that-It-will-su.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0012-fixing-the-constant...<see log> -> patches/0012-fixing-the-constant-range-check-issue.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0013-Patch-Microblaze-Co...<see log> -> patches/0013-Patch-Microblaze-Compiler-will-give-error-messages-i.patch
building: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
sizes: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1: 626.742MB (installed: 122.713MB)
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-10-newlib-head.cfg
package: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/gnu-mirror-gcc-d04fe55.tar.gz -> sources/gnu-mirror-gcc-d04fe55.tar.gz
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0001-Back-port-v8-of-gco...<see log> -> patches/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0001-nios2-Remove-custom...<see log> -> patches/0001-nios2-Remove-custom-instruction-warnings.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0001-LOCAL-Testsuite-bui...<see log> -> patches/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0002-LOCAL-Quick-fail-g-...<see log> -> patches/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0003-LOCAL-For-dejagnu-s...<see log> -> patches/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0004-Patch-testsuite-Add...<see log> -> patches/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0005-Patch-testsuite-Upd...<see log> -> patches/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0006-Patch-testsuite-All...<see log> -> patches/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0007-Patch-testsuite-Add...<see log> -> patches/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0008-Patch-microblaze-Fi...<see log> -> patches/0008-Patch-microblaze-Fix-atomic-side-effects.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0009-Patch-microblaze-Fi...<see log> -> patches/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0010-Patch-microblaze-Fi...<see log> -> patches/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0011-Patch-microblaze-Ad...<see log> -> patches/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0012-Patch-microblaze-Us...<see log> -> patches/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0013-Patch-microblaze-Re...<see log> -> patches/0013-Patch-microblaze-Removed-moddi3-routinue.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0001-gcc-config-aarch64-...<see log> -> patches/0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0002-config-microblaze-c...<see log> -> patches/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/0001-microblaze-Define-_...<see log> -> patches/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/isl-0.18.tar.bz2 -> sources/isl-0.18.tar.bz2
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/mpc-1.0.3.tar.gz -> sources/mpc-1.0.3.tar.gz
download: https://ftp.rtems.org/pub/rtems/releases/6/rc/6.1-rc2/sources/mpfr-3.1.6.tar.bz2 -> sources/mpfr-3.1.6.tar.bz2
building: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1
sizes: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1: 5.641GB (installed: 1.373GB)
cleaning: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1
reporting: tools/rtems-xilinx-gcc-10-newlib-head.cfg -> microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1.txt
reporting: tools/rtems-xilinx-gcc-10-newlib-head.cfg -> microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1.xml
config: tools/rtems-tools-6.cfg
package: rtems-tools-6.1-rc2-1
building: rtems-tools-6.1-rc2-1
sizes: rtems-tools-6.1-rc2-1: 295.981MB (installed: 81.174MB)
cleaning: rtems-tools-6.1-rc2-1
reporting: tools/rtems-tools-6.cfg -> rtems-tools-6.1-rc2-1.txt
reporting: tools/rtems-tools-6.cfg -> rtems-tools-6.1-rc2-1.xml
staging: expat-2.5.0-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/rtems-source-builder/rtems/build/tmp/sb-1000-staging
installing: expat-2.5.0-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/tools/6
staging: gmp-6.2.1-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/rtems-source-builder/rtems/build/tmp/sb-1000-staging
installing: gmp-6.2.1-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/tools/6
staging: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/rtems-source-builder/rtems/build/tmp/sb-1000-staging
installing: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/tools/6
staging: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/rtems-source-builder/rtems/build/tmp/sb-1000-staging
installing: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/tools/6
staging: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/rtems-source-builder/rtems/build/tmp/sb-1000-staging
installing: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1 -> /home/joel/rtems-6.1rc2/tools/6
staging: rtems-tools-6.1-rc2-1 -> /home/joel/rtems-6.1rc2/rtems-source-builder/rtems/build/tmp/sb-1000-staging
installing: rtems-tools-6.1-rc2-1 -> /home/joel/rtems-6.1rc2/tools/6
cleaning: expat-2.5.0-x86_64-linux-gnu-1
cleaning: gmp-6.2.1-x86_64-linux-gnu-1
cleaning: microblaze-rtems6-gdb-13.2-x86_64-linux-gnu-1
cleaning: microblaze-rtems6-binutils-7af075d-x86_64-linux-gnu-1
cleaning: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1
cleaning: rtems-tools-6.1-rc2-1
Build Sizes: usage: 7.378GB total: 2.081GB (sources: 351.786MB, patches: 273.997KB, installed 1.737GB)
installing: 6/rtems-microblaze -> /home/joel/rtems-6.1rc2/tools/6
clean staging: 6/rtems-microblaze
Staging Size: 1.737GB
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:14:01 2024
==============================================================================
Report: devel/expat-2.5.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --disable-shared
make -j 28 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> Wed Feb 28 19:14:01 2024
==============================================================================
Report: devel/expat-2.5.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --disable-shared
make -j 28 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> Wed Feb 28 19:14:21 2024
==============================================================================
Report: devel/gmp-6.2.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --disable-shared
make -j 28 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> Wed Feb 28 19:14:21 2024
==============================================================================
Report: devel/gmp-6.2.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --disable-shared
make -j 28 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> Wed Feb 28 19:15:55 2024
==============================================================================
Report: tools/rtems-gdb-13.2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info
make -j 28 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:15:56 2024
==============================================================================
Report: tools/rtems-gdb-13.2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info
make -j 28 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:16:57 2024
==============================================================================
Report: tools/rtems-xilinx-binutils-2.36.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --disable-warn-execstack --disable-warn-rwx-segments
make -j 28 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:16:57 2024
==============================================================================
Report: tools/rtems-xilinx-binutils-2.36.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec-prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --disable-warn-execstack --disable-warn-rwx-segments
make -j 28 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/share/man/man1/microblaze-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:27:15 2024
==============================================================================
Report: tools/rtems-xilinx-gcc-10-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-xilinx-gcc-10-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-xilinx-gcc-10-newlib-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1
Config: tools/rtems-xilinx-gcc-10-newlib-head.cfg
Summary:
GCC vd04fe55 and Newlib v3cacedb for target microblaze-rtems6 on host x86_64-linux-gnu
URL:
http://gcc.gnu.org/
Version:
d04fe55
Release:
1
Sources: 5
1: --rsb-file=gnu-mirror-gcc-d04fe55.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/d04fe55
No checksum
2: --rsb-file=newlib-3cacedb.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/3cacedb
No checksum
3: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
4: https://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
5: https://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.6.tar.bz2
sha512: 0c310dd7956be527884f8059c195a5aca1042b089d0927ac6341e6310b1250a7059bc61aaaab4dfb76c6ab8b67e440878ca203f72674529bbcb46770ed9b6885
Patches: 1
1: https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
sha512: c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
2: https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
sha512: afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
3: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch
sha512: 5373e2a7ea6561263224e8da55318425eee7c91d633c45680183141093c2ea31aa7e7ee11a7ba3bd580a7edb405a162bc8904f48a354b154383fc938036a09c2
4: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch
sha512: 4bf9df22fe7be735deb2ee4353933eadf13fbee1f23254d4c870d8c99749e76eb8010cacb6143fad71c11b72063a774bd7ed050f61f7e75afe4cc3e945b83441
5: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch
sha512: f8b8ae98a02d1aca64e3f91dad62977e006800b5b24112927fcd02a07fe40947f2209625b3b564cffb77dc6ab6e3db072cf93b26e925fed689b8d34b3cc612bf
6: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch
sha512: f7823ba440cb3288fa372c690ffb878269915ee75be2693414338817e3bd8e9fd52545df4012b95c736d0a2fcca927bead86d5d9e70952af10b696299e3b2a4f
7: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch
sha512: 1d63269e9bf6eb92e6a18a371d8c89c5a7d8735f1483d798a1e486e38d98e9b72fb95515374e8f241ddfa43e6eb90ffb876b1f066fcd3fc230d1370c34db778a
8: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch
sha512: bf858501c97890035b05692c028c5f6fb66f1554cff59249e6af3e9882ab9a87d47e3696aa2e7a175bb1bf5dd38ba328e42474922706b5db93d2d5daaac7b620
9: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch
sha512: 5d86cdf759dcf7261ec3d3665fe488a76d1dac47040fa55a9ddd5d7764d6de6ef4848467f3e41aab1ba774d7c59eb1649f7882bd9ef3bfcae84c71fcaba64d81
10: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0008-Patch-microblaze-Fix-atomic-side-effects.patch
sha512: 422a48b95dbc4370ae2a07e90a42b7a5eca1757f5396d8c660f134629fed2cc694e2409e5d5cc835d69526a7c5316c94345acfc193faaa6b1caeab45f726bf7f
11: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch
sha512: 4c0b452cead51332c2987150009e7c41e4609d0ecc9cb2cecc15cc84a5861787a44adc60ecf27d8314af7d164e87a49a370c398298801043a1499f12f720084d
12: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch
sha512: 5a0a0bbc9bcb16b97893f681b18900d37c572deb97eebd9849a06e481db77c37df9d2f67f9614ba02163bf7fde2be10fb7f3b43070e1728da27d52f5a0967bc2
13: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch
sha512: 104f0f80138f277ad8869a7a0261c647ee933bd053f4ce8f7f12675145ecabb1bf3015d16968534910e98cf518377beb9939721cd01de677d2c8f5bc3957373d
14: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch
sha512: ad05cd7b91db89596394d538fd97833e374ae98b666e25ce5d379f16abe23acca106957404316d43e153375dde699fec8f385d1a6c54174f29649eb4d63604cd
15: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Removed-moddi3-routinue.patch
sha512: 07cde4e4f5b7bfb8cd5c89c865cc4e4c36b943b5b24035df4b18c6e9b30b9513089344105d0c05a31f2c4606ab1034c5dcc3541d6792893027ad5e3dbfb04429
16: https://devel.rtems.org/raw-attachment/ticket/4481/0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch
sha512: 84253c3c180fbfc6b640ffda72e8574f95661bdf3132503acc3f1b73a8f78aeb0508c06dbb32d1c8363ff083765194eeff14e46445946969c51a4498d2b3a0e7
17: https://devel.rtems.org/raw-attachment/ticket/4481/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch
sha512: bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779
18: https://devel.rtems.org/raw-attachment/ticket/4589/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch
sha512: 39c0666c2e5c560447f00ed913cd07261e9c0db05b0cc549400667013ccf1d4140c0bd7b012d60dd628235bf7ae27564460a45e969e9cff75d14ed94bfd82632
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-d04fe55
source_dir_gcc=${gcc_source}
%setup source gcc -q -n ${gcc_source}
%setup patch gcc -p1
cd ${build_top}
source_dir_newlib=sourceware-mirror-newlib-cygwin-3cacedb
%setup source newlib -q -D -n ${source_dir_newlib}
%setup patch newlib -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/newlib
ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
source_dir_isl="isl-0.18"
%setup source isl -q -D -n isl-0.18
%setup patch isl -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/isl
ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
source_dir_mpc="mpc-1.0.3"
%setup source mpc -q -D -n mpc-1.0.3
%setup patch mpc -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpc
ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
source_dir_mpfr="mpfr-3.1.6"
%setup source mpfr -q -D -n mpfr-3.1.6
%setup patch mpfr -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpfr
ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
echo "RTEMS 6, RSB no-repo, Newlib 3cacedb" > ${source_dir_gcc}/gcc/DEV-PHASE
cd ${source_dir_gcc}
contrib/gcc_update --touch
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}
languages="c"
languages="$languages,c++"
languages="$languages,lto"
# 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_gcc}/configure --prefix=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec_prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --libexecdir=/home/joel/rtems-6.1rc2/tools/6/libexec --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --datadir=/home/joel/rtems-6.1rc2/tools/6/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=microblaze-rtems6 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls --without-included-gettext --disable-win32-registry --disable-werror --enable-version-specific-runtime-libs --enable-newlib-io-c99-formats --enable-newlib-iconv --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-languages="$languages"
if test "%_host" != "%_build" ; then
mkdir -p gcc/include
cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
fi
make -w -j 28 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/lib/libiberty.a
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-c++filt
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/man/man3/*ffi*
/bin/rm -rf ${source_dir_gcc}/newlib
/bin/rm -rf ${source_dir_gcc}/mpfr
/bin/rm -rf ${source_dir_gcc}/mpc
/bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:27:15 2024
==============================================================================
Report: tools/rtems-xilinx-gcc-10-newlib-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-xilinx-gcc-10-newlib-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-xilinx-gcc-10-newlib-head.cfg
------------------------------------------------------------------------------
Package: microblaze-rtems6-gcc-d04fe55-newlib-3cacedb-x86_64-linux-gnu-1
Config: tools/rtems-xilinx-gcc-10-newlib-head.cfg
Summary:
GCC vd04fe55 and Newlib v3cacedb for target microblaze-rtems6 on host x86_64-linux-gnu
URL:
http://gcc.gnu.org/
Version:
d04fe55
Release:
1
Sources: 5
1: --rsb-file=gnu-mirror-gcc-d04fe55.tar.gz https://codeload.github.com/RTEMS/gnu-mirror-gcc/tar.gz/d04fe55
No checksum
2: --rsb-file=newlib-3cacedb.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-newlib-cygwin/tar.gz/3cacedb
No checksum
3: https://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
sha512: 85d0b40f4dbf14cb99d17aa07048cdcab2dc3eb527d2fbb1e84c41b2de5f351025370e57448b63b2b8a8cf8a0843a089c3263f9baee1542d5c2e1cb37ed39d94
4: https://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz
sha512: 0028b76df130720c1fad7de937a0d041224806ce5ef76589f19c7b49d956071a683e2f20d154c192a231e69756b19e48208f2889b0c13950ceb7b3cfaf059a43
5: https://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.6.tar.bz2
sha512: 0c310dd7956be527884f8059c195a5aca1042b089d0927ac6341e6310b1250a7059bc61aaaab4dfb76c6ab8b67e440878ca203f72674529bbcb46770ed9b6885
Patches: 1
1: https://devel.rtems.org/raw-attachment/ticket/4196/0001-Back-port-v8-of-gcov-improvements-to-GCC-10.patch
sha512: c2d1faed68aa0f60bef917365545cc4cc899df428a5d08f178417c06def4fd3cd3a749c1871c8a22552022c29dfae4a3d21161e2b01291e458ea8d670f01887e
2: https://devel.rtems.org/raw-attachment/ticket/4215/0001-nios2-Remove-custom-instruction-warnings.patch
sha512: afd8a5e6bdcc5b75d5fbbf558bdf56ccac400521a6eec9d88cc95f6be67c481f2dbf8faa0f6ddc1e4ac7c56a84938714d80e46e9cf80ec4b8fcd739986449881
3: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0001-LOCAL-Testsuite-builtins-tests-require-fpic.patch
sha512: 5373e2a7ea6561263224e8da55318425eee7c91d633c45680183141093c2ea31aa7e7ee11a7ba3bd580a7edb405a162bc8904f48a354b154383fc938036a09c2
4: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0002-LOCAL-Quick-fail-g-.dg-opt-memcpy1.C.patch
sha512: 4bf9df22fe7be735deb2ee4353933eadf13fbee1f23254d4c870d8c99749e76eb8010cacb6143fad71c11b72063a774bd7ed050f61f7e75afe4cc3e945b83441
5: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0003-LOCAL-For-dejagnu-static-testing-on-qemu-suppress-wa.patch
sha512: f8b8ae98a02d1aca64e3f91dad62977e006800b5b24112927fcd02a07fe40947f2209625b3b564cffb77dc6ab6e3db072cf93b26e925fed689b8d34b3cc612bf
6: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0004-Patch-testsuite-Add-MicroBlaze-to-target-supports-fo.patch
sha512: f7823ba440cb3288fa372c690ffb878269915ee75be2693414338817e3bd8e9fd52545df4012b95c736d0a2fcca927bead86d5d9e70952af10b696299e3b2a4f
7: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0005-Patch-testsuite-Update-MicroBlaze-strings-test.patch
sha512: 1d63269e9bf6eb92e6a18a371d8c89c5a7d8735f1483d798a1e486e38d98e9b72fb95515374e8f241ddfa43e6eb90ffb876b1f066fcd3fc230d1370c34db778a
8: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0006-Patch-testsuite-Allow-MicroBlaze-.weakext-pattern-in.patch
sha512: bf858501c97890035b05692c028c5f6fb66f1554cff59249e6af3e9882ab9a87d47e3696aa2e7a175bb1bf5dd38ba328e42474922706b5db93d2d5daaac7b620
9: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0007-Patch-testsuite-Add-MicroBlaze-to-check_profiling_av.patch
sha512: 5d86cdf759dcf7261ec3d3665fe488a76d1dac47040fa55a9ddd5d7764d6de6ef4848467f3e41aab1ba774d7c59eb1649f7882bd9ef3bfcae84c71fcaba64d81
10: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0008-Patch-microblaze-Fix-atomic-side-effects.patch
sha512: 422a48b95dbc4370ae2a07e90a42b7a5eca1757f5396d8c660f134629fed2cc694e2409e5d5cc835d69526a7c5316c94345acfc193faaa6b1caeab45f726bf7f
11: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0009-Patch-microblaze-Fix-atomic-boolean-return-value.patch
sha512: 4c0b452cead51332c2987150009e7c41e4609d0ecc9cb2cecc15cc84a5861787a44adc60ecf27d8314af7d164e87a49a370c398298801043a1499f12f720084d
12: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0010-Patch-microblaze-Fix-the-Microblaze-crash-with-msmal.patch
sha512: 5a0a0bbc9bcb16b97893f681b18900d37c572deb97eebd9849a06e481db77c37df9d2f67f9614ba02163bf7fde2be10fb7f3b43070e1728da27d52f5a0967bc2
13: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0011-Patch-microblaze-Added-ashrsi3_with_size_opt.patch
sha512: 104f0f80138f277ad8869a7a0261c647ee933bd053f4ce8f7f12675145ecabb1bf3015d16968534910e98cf518377beb9939721cd01de677d2c8f5bc3957373d
14: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0012-Patch-microblaze-Use-bralid-for-profiler-calls.patch
sha512: ad05cd7b91db89596394d538fd97833e374ae98b666e25ce5d379f16abe23acca106957404316d43e153375dde699fec8f385d1a6c54174f29649eb4d63604cd
15: https://raw.githubusercontent.com/Xilinx/meta-xilinx/rel-v2021.1/meta-microblaze/recipes-devtools/gcc/gcc-10/0013-Patch-microblaze-Removed-moddi3-routinue.patch
sha512: 07cde4e4f5b7bfb8cd5c89c865cc4e4c36b943b5b24035df4b18c6e9b30b9513089344105d0c05a31f2c4606ab1034c5dcc3541d6792893027ad5e3dbfb04429
16: https://devel.rtems.org/raw-attachment/ticket/4481/0001-gcc-config-aarch64-rtems.h-Define-__USE_INIT_FINI__.patch
sha512: 84253c3c180fbfc6b640ffda72e8574f95661bdf3132503acc3f1b73a8f78aeb0508c06dbb32d1c8363ff083765194eeff14e46445946969c51a4498d2b3a0e7
17: https://devel.rtems.org/raw-attachment/ticket/4481/0002-config-microblaze-crti.S-Add-single-underscore-init-.patch
sha512: bf1ec7eff0dd51d154dd0507edb085458c90a000f5a3ccefb1064147cf8fdafe0111d2094372e164976f2193c289bff9ea63dcad43555c90893272a494b7e779
18: https://devel.rtems.org/raw-attachment/ticket/4589/0001-microblaze-Define-__ELF__-for-RTEMS-target.patch
sha512: 39c0666c2e5c560447f00ed913cd07261e9c0db05b0cc549400667013ccf1d4140c0bd7b012d60dd628235bf7ae27564460a45e969e9cff75d14ed94bfd82632
Preparation:
build_top=$(pwd)
gcc_source=gnu-mirror-gcc-d04fe55
source_dir_gcc=${gcc_source}
%setup source gcc -q -n ${gcc_source}
%setup patch gcc -p1
cd ${build_top}
source_dir_newlib=sourceware-mirror-newlib-cygwin-3cacedb
%setup source newlib -q -D -n ${source_dir_newlib}
%setup patch newlib -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/newlib
ln -s $PWD/${source_dir_newlib}/newlib ${source_dir_gcc}/newlib
source_dir_isl="isl-0.18"
%setup source isl -q -D -n isl-0.18
%setup patch isl -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/isl
ln -s $PWD/${source_dir_isl} ${source_dir_gcc}/isl
source_dir_mpc="mpc-1.0.3"
%setup source mpc -q -D -n mpc-1.0.3
%setup patch mpc -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpc
ln -s $PWD/${source_dir_mpc} ${source_dir_gcc}/mpc
source_dir_mpfr="mpfr-3.1.6"
%setup source mpfr -q -D -n mpfr-3.1.6
%setup patch mpfr -p1
cd ${build_top}
/bin/rm -f ${source_dir_gcc}/mpfr
ln -s $PWD/${source_dir_mpfr} ${source_dir_gcc}/mpfr
echo "RTEMS 6, RSB no-repo, Newlib 3cacedb" > ${source_dir_gcc}/gcc/DEV-PHASE
cd ${source_dir_gcc}
contrib/gcc_update --touch
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}
languages="c"
languages="$languages,c++"
languages="$languages,lto"
# 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_gcc}/configure --prefix=/home/joel/rtems-6.1rc2/tools/6 --bindir=/home/joel/rtems-6.1rc2/tools/6/bin --exec_prefix=/home/joel/rtems-6.1rc2/tools/6 --includedir=/home/joel/rtems-6.1rc2/tools/6/include --libdir=/home/joel/rtems-6.1rc2/tools/6/lib --libexecdir=/home/joel/rtems-6.1rc2/tools/6/libexec --mandir=/home/joel/rtems-6.1rc2/tools/6/share/man --infodir=/home/joel/rtems-6.1rc2/tools/6/share/info --datadir=/home/joel/rtems-6.1rc2/tools/6/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=microblaze-rtems6 --disable-libstdcxx-pch --with-gnu-as --with-gnu-ld --verbose --with-newlib --disable-nls --without-included-gettext --disable-win32-registry --disable-werror --enable-version-specific-runtime-libs --enable-newlib-io-c99-formats --enable-newlib-iconv --enable-newlib-iconv-encodings=big5,cp775,cp850,cp852,cp855,\
cp866,euc_jp,euc_kr,euc_tw,iso_8859_1,iso_8859_10,iso_8859_11,\
iso_8859_13,iso_8859_14,iso_8859_15,iso_8859_2,iso_8859_3,\
iso_8859_4,iso_8859_5,iso_8859_6,iso_8859_7,iso_8859_8,iso_8859_9,\
iso_ir_111,koi8_r,koi8_ru,koi8_u,koi8_uni,ucs_2,ucs_2_internal,\
ucs_2be,ucs_2le,ucs_4,ucs_4_internal,ucs_4be,ucs_4le,us_ascii,\
utf_16,utf_16be,utf_16le,utf_8,win_1250,win_1251,win_1252,\
win_1253,win_1254,win_1255,win_1256,win_1257,win_1258 --enable-threads --disable-plugin --enable-languages="$languages"
if test "%_host" != "%_build" ; then
mkdir -p gcc/include
cp ../${source_dir_gcc}/gcc/gsyslimits.h gcc/include/syslimits.h
fi
make -w -j 28 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-6.1rc2/tools/6/lib/libiberty.a
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/bin/microblaze-rtems6-c++filt
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/info/dir
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-6.1rc2/tools/6/share/man/man3/*ffi*
/bin/rm -rf ${source_dir_gcc}/newlib
/bin/rm -rf ${source_dir_gcc}/mpfr
/bin/rm -rf ${source_dir_gcc}/mpc
/bin/rm -rf ${source_dir_gcc}/gmp
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:27:26 2024
==============================================================================
Report: tools/rtems-tools-6.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-6.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-6.cfg
------------------------------------------------------------------------------
Package: rtems-tools-6.1-rc2-1
Config: tools/rtems-tools-6.cfg
Summary:
RTEMS Tools 6.1-rc2 for host x86_64-linux-gnu
URL:
http://www.rtems.org/
Version:
6.1-rc2
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-6.1-rc2.tar.xz
sha512: c0d93e28932f50f19a51b37907a5291e662aef1e8f193e9192d14c838b1678880e11e0112640c1126754a0ad2ecf69bfea75e558738fa9973e5585174f628a1b
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-6.1-rc2
source_dir_rtems_tools=${rtems_tools_source}
%setup source rtems-tools -q -n ${rtems_tools_source}
%setup patch rtems-tools -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
RT_HOST="--host=x86_64-linux-gnu"
else
RT_HOST=
fi
cd ${source_dir_rtems_tools}
./waf distclean configure ${RT_HOST} --prefix=/home/joel/rtems-6.1rc2/tools/6
./waf
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${source_dir_rtems_tools}
./waf --destdir=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Wed Feb 28 19:27:26 2024
==============================================================================
Report: tools/rtems-tools-6.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 6.1-rc2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-6.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-6.cfg
------------------------------------------------------------------------------
Package: rtems-tools-6.1-rc2-1
Config: tools/rtems-tools-6.cfg
Summary:
RTEMS Tools 6.1-rc2 for host x86_64-linux-gnu
URL:
http://www.rtems.org/
Version:
6.1-rc2
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-6.1-rc2.tar.xz
sha512: c0d93e28932f50f19a51b37907a5291e662aef1e8f193e9192d14c838b1678880e11e0112640c1126754a0ad2ecf69bfea75e558738fa9973e5585174f628a1b
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-6.1-rc2
source_dir_rtems_tools=${rtems_tools_source}
%setup source rtems-tools -q -n ${rtems_tools_source}
%setup patch rtems-tools -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
RT_HOST="--host=x86_64-linux-gnu"
else
RT_HOST=
fi
cd ${source_dir_rtems_tools}
./waf distclean configure ${RT_HOST} --prefix=/home/joel/rtems-6.1rc2/tools/6
./waf
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${source_dir_rtems_tools}
./waf --destdir=$SB_BUILD_ROOT install
cd ${build_top}
More information about the build
mailing list