Build Linux: FAILED 5/rtems-riscv on x86_64-linux-gnu (RSB general failure)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Mon Jan 28 10:31:26 UTC 2019
RTEMS Source Builder - Set Builder, 5 (376edee1c734)
warning: exe: absolute exe found in path: (__chown) /usr/sbin/chown
Host: Linux-4.12.14-lp150.12.45-default-x86_64-with-glibc2.2.5
Linux huber-nb-linux.suse 4.12.14-lp150.12.45-default #1 SMP Mon Jan 14
20:29:59 UTC 2019 (7a62739) x86_64 x86_64
Build Time: 0:06:47.953147
Sizes
=====
No packages built
Output
======
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.515MB (installed: 3.020MB)
cleaning: autoconf-2.69-x86_64-linux-gnu-1
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.txt
reporting: tools/rtems-autoconf-2.69-1.cfg -> autoconf-2.69-x86_64-linux-gnu-1.xml
config: tools/rtems-automake-1.12.6-1.cfg
package: automake-1.12.6-x86_64-linux-gnu-1
building: automake-1.12.6-x86_64-linux-gnu-1
sizes: automake-1.12.6-x86_64-linux-gnu-1: 10.350MB (installed: 2.264MB)
cleaning: automake-1.12.6-x86_64-linux-gnu-1
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.txt
reporting: tools/rtems-automake-1.12.6-1.cfg -> automake-1.12.6-x86_64-linux-gnu-1.xml
installing: autoconf-2.69-x86_64-linux-gnu-1 -> /build/rtems/5
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /build/rtems/5
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.800MB total: 3.186GB (sources: 3.180GB, patches: 983.550KB, installed 5.285MB)
Build Set: Time 0:00:18.542872
Build Set: Time 0:00:26.178904
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
building: expat-2.1.0-x86_64-linux-gnu-1
sizes: expat-2.1.0-x86_64-linux-gnu-1: 6.817MB (installed: 1.280MB)
cleaning: expat-2.1.0-x86_64-linux-gnu-1
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.txt
reporting: devel/expat-2.1.0-1.cfg -> expat-2.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
package: riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1
building: riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1
sizes: riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1: 695.696MB (installed: 94.090MB)
cleaning: riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg -> riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg -> riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
package: riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1
building: riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1
sizes: riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1: 578.112MB (installed: 130.201MB)
cleaning: riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg -> riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg -> riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-4c0c3d1029e79b6709b43fed8c5a5944f245516d-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa.cfg
package: riscv-rtems5-gcc-4c0c3d1029e79b6709b43fed8c5a5944f245516d-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
building: riscv-rtems5-gcc-4c0c3d1029e79b6709b43fed8c5a5944f245516d-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
error: building riscv-rtems5-gcc-4c0c3d1029e79b6709b43fed8c5a5944f245516d-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
Build FAILED
error: failure to create error report
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 28 11:25:07 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
2: main: git at main.eb.localhost:eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: 376edee1c734fb412b731a7d9e57757dd4cc5f07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-linux-gnu-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target riscv-rtems5 on host x86_64-linux-gnu
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
./configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--verbose \
--prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
--exec-prefix=/build/rtems/5 \
--includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
--mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 28 11:25:07 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
2: main: git at main.eb.localhost:eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: 376edee1c734fb412b731a7d9e57757dd4cc5f07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/expat-2.1.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
Package: expat-2.1.0-x86_64-linux-gnu-1
Config: devel/expat-2.1.0-1.cfg
Summary:
Expat XML Parser v2.1.0 for target riscv-rtems5 on host x86_64-linux-gnu
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
./configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--verbose \
--prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
--exec-prefix=/build/rtems/5 \
--includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
--mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 28 11:27:58 2019
==============================================================================
Report: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
2: main: git at main.eb.localhost:eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: 376edee1c734fb412b731a7d9e57757dd4cc5f07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1
Config: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
Summary:
GDB vce73f310150418a9a1625ab60a527d959096a9e2 for target riscv-rtems5 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
ce73f310150418a9a1625ab60a527d959096a9e2
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/ce73f310150418a9a1625ab60a527d959096a9e2
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2
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 "riscv-rtems5" -o "x86_64-linux-gnu" == "riscv-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=riscv-rtems5 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python2 \
--prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
--exec-prefix=/build/rtems/5 \
--includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
--mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/build/rtems/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 28 11:27:58 2019
==============================================================================
Report: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
2: main: git at main.eb.localhost:eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: 376edee1c734fb412b731a7d9e57757dd4cc5f07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-gdb-ce73f310150418a9a1625ab60a527d959096a9e2-x86_64-linux-gnu-1
Config: tools/rtems-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.cfg
Summary:
GDB vce73f310150418a9a1625ab60a527d959096a9e2 for target riscv-rtems5 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
ce73f310150418a9a1625ab60a527d959096a9e2
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/ce73f310150418a9a1625ab60a527d959096a9e2
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-ce73f310150418a9a1625ab60a527d959096a9e2
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 "riscv-rtems5" -o "x86_64-linux-gnu" == "riscv-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=riscv-rtems5 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python2 \
--prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
--exec-prefix=/build/rtems/5 \
--includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
--mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/build/rtems/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 28 11:28:56 2019
==============================================================================
Report: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
2: main: git at main.eb.localhost:eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: 376edee1c734fb412b731a7d9e57757dd4cc5f07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1
Config: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
Summary:
Binutils v417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2 for target riscv-rtems5 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2
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 "riscv-rtems5" -o "x86_64-linux-gnu" == "riscv-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
../${source_dir_binutils}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=riscv-rtems5 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
--exec-prefix=/build/rtems/5 \
--includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
--mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
make -j 12 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/build/rtems/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/build/rtems/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Mon Jan 28 11:28:57 2019
==============================================================================
Report: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://sebh@dispatch.rtems.org/data/git/rtems-source-builder.git
2: main: git at main.eb.localhost:eb/101-embedded-brains/oss/rtems-source-builder.git
Status:
Clean
Head:
Commit: 376edee1c734fb412b731a7d9e57757dd4cc5f07
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
------------------------------------------------------------------------------
Package: riscv-rtems5-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2-x86_64-linux-gnu-1
Config: tools/rtems-binutils-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.cfg
Summary:
Binutils v417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2 for target riscv-rtems5 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-417e50dbcfd4b8dd699f48df5ac9b9a733fd80e2
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 "riscv-rtems5" -o "x86_64-linux-gnu" == "riscv-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
../${source_dir_binutils}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=riscv-rtems5 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/build/rtems/5 --bindir=/build/rtems/5/bin \
--exec-prefix=/build/rtems/5 \
--includedir=/build/rtems/5/include --libdir=/build/rtems/5/lib \
--mandir=/build/rtems/5/share/man --infodir=/build/rtems/5/share/info
make -j 12 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/build/rtems/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/build/rtems/5/share/info/dir
touch $SB_BUILD_ROOT/build/rtems/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/build/rtems/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/build/rtems/5/bin/riscv-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/build/rtems/5/share/man/man1/riscv-rtems5-windmc*
fi
cd ${build_top}
More information about the build
mailing list