Build Linux: PASSED 6/rtems-sparc on x86_64-linux-gnu

joel at rtems.org joel at rtems.org
Thu Mar 11 06:16:19 UTC 2021


RTEMS Source Builder - Set Builder, 6 (fe2d13b6daf3)

Host: Linux-3.10.0-1160.15.2.el7.x86_64-x86_64-with-centos-7.9.2009-Core
       Linux devel.oarcorp.com 3.10.0-1160.15.2.el7.x86_64 #1 SMP Wed Feb 3
       15:06:38 UTC 2021 x86_64 x86_64

Build Time: 0:00:54.189314


Output
======

Build Set: 6/rtems-sparc
Build Set: 6/rtems-autotools.bset
Build Set: 6/rtems-autotools-internal.bset
config: tools/rtems-autoconf-2.69-1.cfg
config: tools/rtems-automake-1.12.6-1.cfg
Build Sizes: usage: 0.000B total: 1.238GB (sources: 1.238GB, patches: 43.468KB, installed 0.000B)
Build Set: Time 0:00:02.039650
Build Set: 6/rtems-autotools-base.bset
config: tools/rtems-autoconf-2.69-1.cfg
config: tools/rtems-automake-1.12.6-1.cfg
Build Sizes: usage: 0.000B total: 1.238GB (sources: 1.238GB, patches: 43.468KB, installed 0.000B)
Build Set: Time 0:00:00.819849
Build Set: Time 0:00:02.863841
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: 7.639MB (installed: 1.417MB)
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: devel/gmp-6.1.0.cfg
package: gmp-6.1.0-x86_64-linux-gnu-1
building: gmp-6.1.0-x86_64-linux-gnu-1
sizes: gmp-6.1.0-x86_64-linux-gnu-1: 37.416MB (installed: 5.328MB)
cleaning: gmp-6.1.0-x86_64-linux-gnu-1
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.txt
reporting: devel/gmp-6.1.0.cfg -> gmp-6.1.0-x86_64-linux-gnu-1.xml
config: tools/rtems-gdb-10.cfg
error: shell macro failed: /home/joel/rtems-cron-coverity/rtems-source-builder/source-builder/sb/rtems-build-dep -c gcc  -l Usage: /usr/bin/python2-config [--prefix|--exec-prefix|--includes|--libs|--cflags|--ldflags|--extension-suffix|--help]: 127: /bin/sh: --includes: command not found
/bin/sh: --exec-prefix: command not found
/bin/sh: --extension-suffix: command not found
/bin/sh: --help]: command not found
/bin/sh: --libs: command not found
/bin/sh: --cflags: command not found
/bin/sh: --ldflags: command not found
Build FAILED
Mailing report: build at rtems.org

Report
======

==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 11 00:15:33 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: fe2d13b6daf3279ca0f291617ac08e448863c51b
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 sparc-rtems6 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}"
    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-cron-coverity/tools/6 --bindir=/home/joel/rtems-cron-coverity/tools/6/bin  --exec-prefix=/home/joel/rtems-cron-coverity/tools/6  --includedir=/home/joel/rtems-cron-coverity/tools/6/include --libdir=/home/joel/rtems-cron-coverity/tools/6/lib  --mandir=/home/joel/rtems-cron-coverity/tools/6/share/man --infodir=/home/joel/rtems-cron-coverity/tools/6/share/info  --disable-shared
  make -j 8 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> Thu Mar 11 00:15:33 2021
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: fe2d13b6daf3279ca0f291617ac08e448863c51b
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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 sparc-rtems6 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}"
    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-cron-coverity/tools/6 --bindir=/home/joel/rtems-cron-coverity/tools/6/bin  --exec-prefix=/home/joel/rtems-cron-coverity/tools/6  --includedir=/home/joel/rtems-cron-coverity/tools/6/include --libdir=/home/joel/rtems-cron-coverity/tools/6/lib  --mandir=/home/joel/rtems-cron-coverity/tools/6/share/man --infodir=/home/joel/rtems-cron-coverity/tools/6/share/info  --disable-shared
  make -j 8 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> Thu Mar 11 00:16:18 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: fe2d13b6daf3279ca0f291617ac08e448863c51b
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target sparc-rtems6 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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-cron-coverity/tools/6 --bindir=/home/joel/rtems-cron-coverity/tools/6/bin  --exec-prefix=/home/joel/rtems-cron-coverity/tools/6  --includedir=/home/joel/rtems-cron-coverity/tools/6/include --libdir=/home/joel/rtems-cron-coverity/tools/6/lib  --mandir=/home/joel/rtems-cron-coverity/tools/6/share/man --infodir=/home/joel/rtems-cron-coverity/tools/6/share/info  --disable-shared
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Mar 11 00:16:19 2021
==============================================================================
Report: devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
 Remotes:
[ remotes removed, contact sender for details ]
 Status:
  Clean
 Head:
  Commit: fe2d13b6daf3279ca0f291617ac08e448863c51b
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) devel/gmp-6.1.0.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) devel/gmp-6.1.0.cfg
------------------------------------------------------------------------------
Package: gmp-6.1.0-x86_64-linux-gnu-1
 Config: devel/gmp-6.1.0.cfg
 Summary:
  The GNU Multiple Precision Arithmetic Library (GMP) v6.1.0 for target sparc-rtems6 on host x86_64-linux-gnu
 URL:
  https://gmplib.org/
 Version:
  6.1.0
 Release:
  1
  Sources: 1
    1: https://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2
       sha512: 3c82aeab9c1596d4da8afac2eec38e429e84f3211e1a572cf8fd2b546493c44c039b922a1133eaaa48bd7f3e11dbe795a384e21ed95cbe3ecc58d7ac02246117
  Patches: 0
 Preparation:
  build_top=$(pwd)
  %setup source gmp -q -n gmp-6.1.0
  %setup patch gmp -p1
  cd ${build_top}
 Build:
  build_top=$(pwd)
  cd gmp-6.1.0
  # Host and build flags, Cross build if host and build are different and
  # Cxc build if target is deifned and also different.
  # Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
  if test "x86_64-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-cron-coverity/tools/6 --bindir=/home/joel/rtems-cron-coverity/tools/6/bin  --exec-prefix=/home/joel/rtems-cron-coverity/tools/6  --includedir=/home/joel/rtems-cron-coverity/tools/6/include --libdir=/home/joel/rtems-cron-coverity/tools/6/lib  --mandir=/home/joel/rtems-cron-coverity/tools/6/share/man --infodir=/home/joel/rtems-cron-coverity/tools/6/share/info  --disable-shared
  make -j 8 all
  cd ${build_top}
 Install:
  build_top=$(pwd)
  rm -rf $SB_BUILD_ROOT
  cd gmp-6.1.0
  make DESTDIR=$SB_BUILD_ROOT install
  cd ${build_top}


More information about the build mailing list