Build Linux: PASSED devel/qemu4 on x86_64-linux-gnu
joel at rtems.org
joel at rtems.org
Sat Jun 27 22:58:51 UTC 2020
RTEMS Source Builder - Set Builder, 5.1.0-rc1
Host: Linux-3.10.0-1127.10.1.el7.x86_64-x86_64-with-centos-7.8.2003-Core
Linux devel.oarcorp.com 3.10.0-1127.10.1.el7.x86_64 #1 SMP Wed Jun 3
14:28:03 UTC 2020 x86_64 x86_64
Build Time: 0:14:36.101224
Sizes
=====
Maximum build usage: 5.699GB
Total size: 772.017MB
Installed : 695.788MB
Sources: 76.208MB
Patches: 21.097KB
Output
======
Build Set: devel/qemu4
config: devel/libiconv-1.14-1.cfg
config: devel/gettext-0.18.3.1-1.cfg
package: gettext-0.18.3.1-x86_64-linux-gnu-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/gettext-0.18.3.1.tar.gz -> sources/gettext-0.18.3.1.tar.gz
building: gettext-0.18.3.1-x86_64-linux-gnu-1
sizes: gettext-0.18.3.1-x86_64-linux-gnu-1: 158.534MB (installed: 20.204MB)
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.txt
reporting: devel/gettext-0.18.3.1-1.cfg -> gettext-0.18.3.1-x86_64-linux-gnu-1.xml
config: devel/libffi-3.0.13-1.cfg
package: libffi-3.0.13-x86_64-linux-gnu-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/libffi-3.0.13.tar.gz -> sources/libffi-3.0.13.tar.gz
Creating source directory: patches
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/libffi-pkg-config-lib64-fix.diff -> patches/libffi-pkg-config-lib64-fix.diff
building: libffi-3.0.13-x86_64-linux-gnu-1
sizes: libffi-3.0.13-x86_64-linux-gnu-1: 5.717MB (installed: 449.476KB)
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.txt
reporting: devel/libffi-3.0.13-1.cfg -> libffi-3.0.13-x86_64-linux-gnu-1.xml
config: devel/pixman-0.40.0-1.cfg
package: pixman-0.40.0-x86_64-linux-gnu-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/pixman-0.40.0.tar.gz -> sources/pixman-0.40.0.tar.gz
building: pixman-0.40.0-x86_64-linux-gnu-1
sizes: pixman-0.40.0-x86_64-linux-gnu-1: 70.334MB (installed: 15.870MB)
cleaning: pixman-0.40.0-x86_64-linux-gnu-1
reporting: devel/pixman-0.40.0-1.cfg -> pixman-0.40.0-x86_64-linux-gnu-1.txt
reporting: devel/pixman-0.40.0-1.cfg -> pixman-0.40.0-x86_64-linux-gnu-1.xml
config: devel/glib-2.46.2-1.cfg
package: glib-2.46.2-x86_64-linux-gnu-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/glib-2.46.2.tar.xz -> sources/glib-2.46.2.tar.xz
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/glib-2.46.2-werror.patch -> patches/glib-2.46.2-werror.patch
building: glib-2.46.2-x86_64-linux-gnu-1
sizes: glib-2.46.2-x86_64-linux-gnu-1: 158.583MB (installed: 23.419MB)
cleaning: glib-2.46.2-x86_64-linux-gnu-1
reporting: devel/glib-2.46.2-1.cfg -> glib-2.46.2-x86_64-linux-gnu-1.txt
reporting: devel/glib-2.46.2-1.cfg -> glib-2.46.2-x86_64-linux-gnu-1.xml
config: devel/qemu4-git-1.cfg
package: qemu-4.1.0-x86_64-linux-gnu-1
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/qemu-4.1.0.tar.xz -> sources/qemu-4.1.0.tar.xz
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/Provide-the-missing-LI...<see log> -> patches/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
download: https://ftp.rtems.org/pub/rtems/releases/5/rc/5.1.0-rc1/sources/qemu-4.1.0-leon3.patch -> patches/qemu-4.1.0-leon3.patch
building: qemu-4.1.0-x86_64-linux-gnu-1
sizes: qemu-4.1.0-x86_64-linux-gnu-1: 5.020GB (installed: 635.856MB)
cleaning: qemu-4.1.0-x86_64-linux-gnu-1
reporting: devel/qemu4-git-1.cfg -> qemu-4.1.0-x86_64-linux-gnu-1.txt
reporting: devel/qemu4-git-1.cfg -> qemu-4.1.0-x86_64-linux-gnu-1.xml
installing: gettext-0.18.3.1-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: libffi-3.0.13-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: pixman-0.40.0-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: glib-2.46.2-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
installing: qemu-4.1.0-x86_64-linux-gnu-1 -> /home/joel/rtems-cron-5.1.0-rc1/tools/5
cleaning: gettext-0.18.3.1-x86_64-linux-gnu-1
cleaning: libffi-3.0.13-x86_64-linux-gnu-1
cleaning: pixman-0.40.0-x86_64-linux-gnu-1
cleaning: glib-2.46.2-x86_64-linux-gnu-1
cleaning: qemu-4.1.0-x86_64-linux-gnu-1
Build Sizes: usage: 5.699GB total: 772.017MB (sources: 76.208MB, patches: 21.097KB, installed 695.788MB)
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:46:14 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-linux-gnu-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -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 "" -o "x86_64-linux-gnu" == "" ; 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_gettext}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:46:14 2020
==============================================================================
Report: devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gettext-0.18.3.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gettext-0.18.3.1-1.cfg
------------------------------------------------------------------------------
Package: gettext-0.18.3.1-x86_64-linux-gnu-1
Config: devel/gettext-0.18.3.1-1.cfg
Summary:
GetText offers to programmers, translators, and even users, a well
integrated set of tools and documentation.
URL:
http://www.gnu.org/software/gettext/
Version:
0.18.3.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.3.1.tar.gz
sha256: 0d8f9a33531b77776b3dc473e7940019ca19bfca5b4c06db6e96065eeb07245d
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_gettext="gettext-0.18.3.1"
%setup source gettext -q -n gettext-0.18.3.1
%setup patch gettext -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 "" -o "x86_64-linux-gnu" == "" ; 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_gettext}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:46:32 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-linux-gnu-1
Config: devel/libffi-3.0.13-1.cfg
Summary:
LibFFI provides a portable, high level programming interface to
various calling conventions.
URL:
https://sourceware.org/libffi/
Version:
3.0.13
Release:
1
Sources: 1
1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
Patches: 1
1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
Preparation:
build_top=$(pwd)
source_dir_libffi="libffi-3.0.13"
%setup source libffi -q -n libffi-3.0.13
%setup patch libffi -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 "" -o "x86_64-linux-gnu" == "" ; 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_libffi}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:46:33 2020
==============================================================================
Report: devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/libffi-3.0.13-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/libffi-3.0.13-1.cfg
------------------------------------------------------------------------------
Package: libffi-3.0.13-x86_64-linux-gnu-1
Config: devel/libffi-3.0.13-1.cfg
Summary:
LibFFI provides a portable, high level programming interface to
various calling conventions.
URL:
https://sourceware.org/libffi/
Version:
3.0.13
Release:
1
Sources: 1
1: https://sourceware.org/pub/libffi/libffi-3.0.13.tar.gz
sha256: 1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c
Patches: 1
1: http://git.rtems.org/rtems-tools/plain/tools//libffi/libffi-pkg-config-lib64-fix.diff
sha256: f858658b7b57db13002987b7d6bb0293f181519032bf4dd36969ccb79d6b16a3
Preparation:
build_top=$(pwd)
source_dir_libffi="libffi-3.0.13"
%setup source libffi -q -n libffi-3.0.13
%setup patch libffi -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 "" -o "x86_64-linux-gnu" == "" ; 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_libffi}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu
make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:47:01 2020
==============================================================================
Report: devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.40.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.40.0-x86_64-linux-gnu-1
Config: devel/pixman-0.40.0-1.cfg
Summary:
Pixman is a low-level software library for pixel manipulation,
providing features such as image compositing and trapezoid
rasterization.
URL:
http://www.pixman.org/
Version:
0.40.0
Release:
1
Sources: 1
1: http://cairographics.org/releases/pixman-0.40.0.tar.gz
sha512: 063776e132f5d59a6d3f94497da41d6fc1c7dca0d269149c78247f0e0d7f520a25208d908cf5e421d1564889a91da44267b12d61c0bd7934cd54261729a7de5f
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_pixman="pixman-0.40.0"
%setup source pixman -q -n pixman-0.40.0
%setup patch pixman -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 "" -o "x86_64-linux-gnu" == "" ; 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_pixman}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-gtk --disable-libpng
make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:47:01 2020
==============================================================================
Report: devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/pixman-0.40.0-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/pixman-0.40.0-1.cfg
------------------------------------------------------------------------------
Package: pixman-0.40.0-x86_64-linux-gnu-1
Config: devel/pixman-0.40.0-1.cfg
Summary:
Pixman is a low-level software library for pixel manipulation,
providing features such as image compositing and trapezoid
rasterization.
URL:
http://www.pixman.org/
Version:
0.40.0
Release:
1
Sources: 1
1: http://cairographics.org/releases/pixman-0.40.0.tar.gz
sha512: 063776e132f5d59a6d3f94497da41d6fc1c7dca0d269149c78247f0e0d7f520a25208d908cf5e421d1564889a91da44267b12d61c0bd7934cd54261729a7de5f
Patches: 0
Preparation:
build_top=$(pwd)
source_dir_pixman="pixman-0.40.0"
%setup source pixman -q -n pixman-0.40.0
%setup patch pixman -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 "" -o "x86_64-linux-gnu" == "" ; 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_pixman}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --disable-gtk --disable-libpng
make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:48:04 2020
==============================================================================
Report: devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.46.2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
Package: glib-2.46.2-x86_64-linux-gnu-1
Config: devel/glib-2.46.2-1.cfg
Summary:
GLib provides the core application building blocks for
libraries and applications written in C.
URL:
https://developer.gnome.org/glib/
Version:
2.46.2
Release:
1
Sources: 1
1: http://ftp.gnome.org/pub/gnome/sources/glib/2.46/glib-2.46.2.tar.xz
sha256: 5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db
Patches: 1
1: https://gaisler.se/qemu/glib-2.46.2-werror.patch
sha256: 389c00993f2890edaff6774d0dcfc7fcc99e92795ba913443fb9ec522f44a443
Preparation:
build_top=$(pwd)
source_dir_glib="glib-2.46.2"
%setup source glib -q -n glib-2.46.2
%setup patch glib -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 "" -o "x86_64-linux-gnu" == "" ; 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
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib ../${source_dir_glib}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-sysroot=$SYSROOT --disable-dtrace --with-pcre=internal
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:48:04 2020
==============================================================================
Report: devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/glib-2.46.2-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/glib-2.46.2-1.cfg
------------------------------------------------------------------------------
Package: glib-2.46.2-x86_64-linux-gnu-1
Config: devel/glib-2.46.2-1.cfg
Summary:
GLib provides the core application building blocks for
libraries and applications written in C.
URL:
https://developer.gnome.org/glib/
Version:
2.46.2
Release:
1
Sources: 1
1: http://ftp.gnome.org/pub/gnome/sources/glib/2.46/glib-2.46.2.tar.xz
sha256: 5031722e37036719c1a09163cc6cf7c326e4c4f1f1e074b433c156862bd733db
Patches: 1
1: https://gaisler.se/qemu/glib-2.46.2-werror.patch
sha256: 389c00993f2890edaff6774d0dcfc7fcc99e92795ba913443fb9ec522f44a443
Preparation:
build_top=$(pwd)
source_dir_glib="glib-2.46.2"
%setup source glib -q -n glib-2.46.2
%setup patch glib -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 "" -o "x86_64-linux-gnu" == "" ; 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
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib ../${source_dir_glib}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --bindir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/bin --exec_prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 --includedir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/include --libdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/lib --libexecdir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/libexec --mandir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/man --infodir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share/info --datadir=/home/joel/rtems-cron-5.1.0-rc1/tools/5/share --build=x86_64-linux-gnu --host=x86_64-linux-gnu --with-sysroot=$SYSROOT --disable-dtrace --with-pcre=internal
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 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}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:58:44 2020
==============================================================================
Report: devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu4-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-4.1.0-x86_64-linux-gnu-1
Config: devel/qemu4-git-1.cfg
Summary:
Qemu is a simulator of various processors.
URL:
http://www.qemu.org/
Version:
4.1.0
Release:
1
Sources: 1
1: https://download.qemu.org/qemu-4.1.0.tar.xz
sha512: gv1RcCp7mxsAsvG9O0qDK4AkkBjbuhrdCwpz59S+5FKv1FV0tNjffORHfYcR872kygcqGm3iWJXJPrIc94/Esg==
Patches: 1
1: pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
sha256: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
2: https://gaisler.se/qemu/qemu-4.1.0-leon3.patch
sha256: d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
Preparation:
build_top=$(pwd)
source_dir_qemu="qemu-4.1.0"
%setup source qemu -q -n qemu-4.1.0
%setup patch qemu -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 "" -o "x86_64-linux-gnu" == "" ; 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
CROSS_PREFIX_OPTION="--cross-prefix=x86_64-linux-gnu-"
fi
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_DEFAULT_PATH=${PKG_CONFIG_PATH} PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" CFLAGS="${CFLAGS} ${VDE_CFLAGS}" ../${source_dir_qemu}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 ${CROSS_PREFIX_OPTION} --make=make ${VDE_CONFIG} --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap --disable-nettle
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
LD_LIBRARY_PATH=$SYSROOT/lib make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Sat Jun 27 17:58:45 2020
==============================================================================
Report: devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Release
Version: 5.1.0-rc1
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/qemu4-git-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/qemu4-git-1.cfg
------------------------------------------------------------------------------
Package: qemu-4.1.0-x86_64-linux-gnu-1
Config: devel/qemu4-git-1.cfg
Summary:
Qemu is a simulator of various processors.
URL:
http://www.qemu.org/
Version:
4.1.0
Release:
1
Sources: 1
1: https://download.qemu.org/qemu-4.1.0.tar.xz
sha512: gv1RcCp7mxsAsvG9O0qDK4AkkBjbuhrdCwpz59S+5FKv1FV0tNjffORHfYcR872kygcqGm3iWJXJPrIc94/Esg==
Patches: 1
1: pw://patchwork.ozlabs.org/patch/406903/raw/Provide-the-missing-LIBUSB_LOG_LEVEL_-for-older-libusb-or-FreeBSD.-Providing-just-the-needed-value-as-a-defined..patch
sha256: 40399fcedb44b2c1bfa1a95af482f7f335f42d713967ed2f34980a7a940c3740
2: https://gaisler.se/qemu/qemu-4.1.0-leon3.patch
sha256: d62ff3418903f1c5eb7f6d727af0400caeb250e23cc120111930601c9ecce02a
Preparation:
build_top=$(pwd)
source_dir_qemu="qemu-4.1.0"
%setup source qemu -q -n qemu-4.1.0
%setup patch qemu -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 "" -o "x86_64-linux-gnu" == "" ; 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
CROSS_PREFIX_OPTION="--cross-prefix=x86_64-linux-gnu-"
fi
SYSROOT=$SB_TMPPREFIX
PKG_CONFIG_DEFAULT_PATH=${PKG_CONFIG_PATH} PKG_CONFIG_PATH=$SYSROOT/lib/pkgconfig PKG_CONFIG_BUILD_TOP_DIR=$SB_TMPROOT LD_LIBRARY_PATH=$SYSROOT/lib LDFLAGS="-Wl,-rpath -Wl,/$SB_PREFIX_CLEAN/lib -L$SYSROOT/lib ${VDE_LDFLAGS}" CFLAGS="${CFLAGS} ${VDE_CFLAGS}" ../${source_dir_qemu}/configure --prefix=/home/joel/rtems-cron-5.1.0-rc1/tools/5 ${CROSS_PREFIX_OPTION} --make=make ${VDE_CONFIG} --disable-werror --disable-tools --disable-pie --disable-vnc --disable-sdl --disable-gtk --disable-opengl --disable-netmap --disable-nettle
LD_LIBRARY_PATH=$SYSROOT/lib make -j 8 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
LD_LIBRARY_PATH=$SYSROOT/lib make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
More information about the build
mailing list