Source builder

Claus, Ric claus at slac.stanford.edu
Thu Jun 6 23:30:07 UTC 2013


I tried the Source Builder:

$ ../source-builder/sb-set-builder --log=l-arm.log --prefix /u1/reg/package/gnu/rtems-4.11_new 4.11/rtems-arm
RTEMS Source Builder - Set Builder, v0.2.0
Build Set: 4.11/rtems-arm
config: devel/expat-2.1.0-1.cfg
package: expat-2.1.0-x86_64-linux-gnu-1
Creating source directory: sources
download: http://downloads.sourceforge.net/project/expat/expat/2.1.0/expat-2.1.0.tar.gz -> sources/expat-2.1.0.tar.gz
building: expat-2.1.0-x86_64-linux-gnu-1
config: tools/rtems-binutils-2.23.2-1.cfg
package: arm-rtems4.11-binutils-2.23.2-1
download: ftp://ftp.gnu.org/gnu/binutils/binutils-2.23.2.tar.bz2 -> sources/binutils-2.23.2.tar.bz2
building: arm-rtems4.11-binutils-2.23.2-1
config: tools/rtems-gcc-4.8.1-newlib-cvs-1.cfg
package: arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1
download: ftp://ftp.gnu.org/gnu/gcc/gcc-4.8.1/gcc-4.8.1.tar.bz2 -> sources/gcc-4.8.1.tar.bz2
Creating source directory: sources/cvs
Creating source directory: sources/cvs/anoncvs_sourceware_org_cvs_src_newlib_31_May_2013
cvs: checkout: cvs://pserver:anoncvs@sourceware.org/cvs/src -> sources/cvs/anoncvs_sourceware_org_cvs_src_newlib_31_May_2013
cvs: reset: cvs://pserver:anoncvs@sourceware.org/cvs/src
Creating source directory: patches
download: http://git.rtems.org/rtems-tools/plain/tools/4.11/newlib/newlib-sys-signal-20130532.diff -> patches/newlib-sys-signal-20130532.diff
download: http://www.mpfr.org/mpfr-3.0.1/mpfr-3.0.1.tar.bz2 -> sources/mpfr-3.0.1.tar.bz2
download: http://www.multiprecision.org/mpc/download/mpc-0.8.2.tar.gz -> sources/mpc-0.8.2.tar.gz
download: ftp://ftp.gnu.org/gnu/gmp/gmp-5.0.5.tar.bz2 -> sources/gmp-5.0.5.tar.bz2
building: arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1
Build Set: Time 1:04:32.687254
error: shell cmd failed: /bin/sh -ex  /u1/reg/package/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/doit
Build FAILED
$ uname -a
Linux rddev110 2.6.32-358.6.2.el6.x86_64 #1 SMP Tue May 14 15:48:21 EDT 2013 x86_64 x86_64 x86_64 GNU/Linux

Apparently the log file is too big to send by e-mail.  Here is the final snippet:


make[2]: Entering directory `/u1/reg/package/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/build/gcc'
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h" DEFINES="" \
        /bin/sh ../../gcc-4.8.1/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="TARGET_CPU_generic" \
        HEADERS="options.h insn-constants.h config/dbxelf.h config/elfos.h config/arm/unknown-elf.h config/arm/elf.h config/arm/bpabi.h config/rtems.h config/arm/rtems-eabi
.h config/newlib-stdint.h config/arm/aout.h config/vxworks-dummy.h config/arm/arm.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3" \
        /bin/sh ../../gcc-4.8.1/gcc/mkconfig.sh tm.h
gawk -f ../../gcc-4.8.1/gcc/opt-gather.awk ../../gcc-4.8.1/gcc/ada/gcc-interface/lang.opt ../../gcc-4.8.1/gcc/fortran/lang.opt ../../gcc-4.8.1/gcc/go/lang.opt ../../gcc-4.8
.1/gcc/java/lang.opt ../../gcc-4.8.1/gcc/lto/lang.opt ../../gcc-4.8.1/gcc/c-family/c.opt ../../gcc-4.8.1/gcc/common.opt ../../gcc-4.8.1/gcc/config/arm/arm-tables.opt ../../
gcc-4.8.1/gcc/config/arm/arm.opt ../../gcc-4.8.1/gcc/config/rtems.opt > tmp-optionlist
TARGET_CPU_DEFAULT="" \
        HEADERS="auto-host.h ansidecl.h" DEFINES="" \
        /bin/sh ../../gcc-4.8.1/gcc/mkconfig.sh bconfig.h/usr/bin/g++ -O2 -pipe -I/u1/reg/package/rtems-source-builder/rtems/build/tmp/sb-claus/4.11/rtems-arm/u1/reg/package/gnu/rtems-4.11_new/include -L/u1/reg/package/rtems-sour
ce-builder/rtems/build/tmp/sb-claus/4.11/rtems-arm/u1/reg/package/gnu/rtems-4.11_new/lib  -c   -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -fno-exceptions -fno-rtti -fasyn
chronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings   -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild -I../../gcc-4.8.1/gcc -I../../gcc-4.8.1/gcc/build -I../../gcc-4.8.1/gcc/../include -I../../gcc-4.8.1/gcc/../libcpp/include -I/u1/reg/package
/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/build/./gmp -I/u1/reg/package/rtems-source
-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/gcc-4.8.1/gmp -I/u1/reg/package/rtems-source-builder/rt
ems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/build/./mpfr -I/u1/reg/package/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/gcc-4.8.1/mpfr -I/u1/reg/package/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/gcc-4.8.1/mpc/src  -I../../gcc-4.8.1/gcc/../libdecnumber -I../../gcc-4.8.1/gcc/../libdecnumber/dpd -I../libdecnumber -I../../gcc-4.8.1/gcc/../libbacktrace    \
        -DBASEVER="\"4.8.1\"" -DDATESTAMP="\" 20130531\"" \
        -DREVISION="\"\"" \
        -DDEVPHASE="\" (RTEMS 4.11-RSB(8113b768b099e9850e558a85da2fab52030e0885)-1,gcc-4.8.1/newlib-31-May-2013)\"" -DPKGVERSION="\"(GCC) \"" \
        -DBUGURL="\"<http://gcc.gnu.org/bugs.html>\"" -o build/version.o ../../gcc-4.8.1/gcc/version.c
/u1/reg/package/rtems-source-builder/rtems/build/tmp/sb-claus/4.11/rtems-arm/u1/reg/package/gnu/rtems-4.11_new/bin/arm-rtems4.11-as: unrecognized option '-Qy'
../../gcc-4.8.1/gcc/version.c:35: fatal error: error closing -: Broken pipe
compilation terminated.
The bug is not reproducible, so it is likely a hardware or OS problem.
make[2]: *** [build/version.o] Error 1
make[2]: *** Waiting for unfinished jobs....
/bin/sh ../../gcc-4.8.1/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
make[2]: Leaving directory `/u1/reg/package/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/u1/reg/package/rtems-source-builder/rtems/build/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1/arm-rtems4.11-gcc-4.8.1-newlib-31-May-2013-1-4.8.1/build'
make: *** [all] Error 2
Build Set: Time 1:04:32.687254

Any ideas?

As you can see, this came after an hour of waiting for it to complete.  Some files take a loooonnnngggg time to download, during which it is not apparent that there is any activity.  Initially I killed the process because I figured it was stuck.  Some form of progress indicator would be nice.

Thanks,
               Ric



More information about the devel mailing list