Build Linux: FAILED 6/rtems-riscv on x86_64-linux-gnu (riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1)
sebastian.huber at embedded-brains.de
sebastian.huber at embedded-brains.de
Thu Jan 17 15:05:19 UTC 2019
RTEMS Source Builder - Set Builder, 5 (1dfc4dd60c54)
Host: Linux-4.9.0-3-amd64-x86_64-with-debian-9.6
Linux RTEMS-debian-9 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u3
(2017-08-06) x86_64
Build Time: 0:04:09.813380
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
checking support for thin archives... yes
checking linker PT_GNU_EH_FRAME support... yes
checking linker CIEv3 in .eh_frame support... yes
checking linker position independent executable support... yes
checking linker PIE support with copy reloc... no
checking linker EH-compatible garbage collection of sections... yes
checking linker EH garbage collection of sections bug... no
checking linker for compressed debug sections... 3
checking linker --as-needed support... yes
checking linker mapfile support for clearing hardware capabilities... no
checking linker --build-id support... yes
checking linker *_sol2 emulation support... no
checking linker --sysroot support... yes
checking __stack_chk_fail in target C library... no
checking sys/sdt.h in the target C library... no
checking dl_iterate_phdr in target C library... unknown
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to avoid linking multiple front-ends at once... no
Links are now set up to build a cross-compiler
from x86_64-pc-linux-gnu to riscv-unknown-rtems6.
gcc_driver_version: 9.0.0
checking for -fno-PIE option... yes
checking for -no-pie option... yes
checking linker -z bndplt option... no
checking linker --push-state/--pop-state options... yes
configure: updating cache ./config.cache
configure: creating ./config.status
config.status: creating as
config.status: creating collect-ld
config.status: creating nm
config.status: creating Makefile
config.status: creating ada/gcc-interface/Makefile
config.status: creating ada/Makefile
config.status: creating auto-host.h
config.status: executing depdir commands
mkdir -p -- .deps
config.status: executing gccdepdir commands
mkdir -p -- build/.deps
mkdir -p -- ada/.deps
mkdir -p -- brig/.deps
mkdir -p -- c/.deps
mkdir -p -- cp/.deps
mkdir -p -- d/.deps
mkdir -p -- fortran/.deps
mkdir -p -- go/.deps
mkdir -p -- jit/.deps
mkdir -p -- lto/.deps
mkdir -p -- objc/.deps
mkdir -p -- objcp/.deps
mkdir -p -- c-family/.deps
mkdir -p -- common/.deps
config.status: executing default commands
mkdir -p -- ./libcc1
Configuring in ./libcc1
make[2]: Entering directory '/home/user/rtems-source-builder/rtems/build/riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1/build/gcc'
configure: creating cache ./config.cache
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... riscv-unknown-rtems6
checking for x86_64-linux-gnu-gcc... gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include
checking whether the C compiler works... TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h insn-constants.h config/elfos.h config/newlib-stdint.h config/riscv/riscv.h config/riscv/elf.h config/rtems.h config/riscv/rtems.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4" \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/riscv/riscv-protos.h tm-preds.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/mkconfig.sh tm_p.h
yes
checking for C compiler default output file name... a.out
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/mkconfig.sh bconfig.h
checking for suffix of executables... flex -ogengtype-lex.c ../../gnu-mirror-gcc-555388b4f80/gcc/gengtype-lex.l && { \
echo '#ifdef HOST_GENERATOR_FILE' > gengtype-lex.c.tmp; \
echo '#include "config.h"' >> gengtype-lex.c.tmp; \
echo '#else' >> gengtype-lex.c.tmp; \
echo '#include "bconfig.h"' >> gengtype-lex.c.tmp; \
echo '#endif' >> gengtype-lex.c.tmp; \
cat gengtype-lex.c >> gengtype-lex.c.tmp; \
mv gengtype-lex.c.tmp gengtype-lex.c; \
}
g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include -c -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gnu-mirror-gcc-555388b4f80/gcc -I../../gnu-mirror-gcc-555388b4f80/gcc/build -I../../gnu-mirror-gcc-555388b4f80/gcc/../include -I../../gnu-mirror-gcc-555388b4f80/gcc/../libcpp/include \
-DBASEVER="\"9.0.0\"" -DDATESTAMP="\" 20190117\"" \
-DREVISION="\"\"" \
-DDEVPHASE="\" (RTEMS 6, RSB 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2, Newlib 7f983079d)\"" -DPKGVERSION="\"(GCC) \"" \
-DBUGURL="\"<https://gcc.gnu.org/bugs/>\"" -o build/version.o ../../gnu-mirror-gcc-555388b4f80/gcc/version.c
LC_ALL=C ; export LC_ALL ; \
mawk -f ../../gnu-mirror-gcc-555388b4f80/gcc/opt-gather.awk ../../gnu-mirror-gcc-555388b4f80/gcc/ada/gcc-interface/lang.opt ../../gnu-mirror-gcc-555388b4f80/gcc/brig/lang.opt ../../gnu-mirror-gcc-555388b4f80/gcc/d/lang.opt ../../gnu-mirror-gcc-555388b4f80/gcc/fortran/lang.opt ../../gnu-mirror-gcc-555388b4f80/gcc/go/lang.opt ../../gnu-mirror-gcc-555388b4f80/gcc/lto/lang.opt ../../gnu-mirror-gcc-555388b4f80/gcc/c-family/c.opt ../../gnu-mirror-gcc-555388b4f80/gcc/common.opt ../../gnu-mirror-gcc-555388b4f80/gcc/config/riscv/riscv.opt ../../gnu-mirror-gcc-555388b4f80/gcc/config/rtems.opt > tmp-optionlist
checking whether we are cross compiling... no
checking for suffix of object files... /bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-gi.list gtyp-input.list
echo "#define BUILDING_GCC_MAJOR `echo 9.0.0 | sed -e 's/^\([0-9]*\).*$/\1/'`" > bversion.h
TARGET_CPU_DEFAULT="" \
HEADERS="options.h insn-constants.h config/riscv/riscv.h config/riscv/riscv-protos.h defaults.h" DEFINES="" \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/mkconfig.sh tm_d.h
echo "#define BUILDING_GCC_MINOR `echo 9.0.0 | sed -e 's/^[0-9]*\.\([0-9]*\).*$/\1/'`" >> bversion.h
echo timestamp > s-gtyp-input
if test yes = yes \
|| test -n ""; then \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/genmultilib \
" march=rv32i/march=rv32im/march=rv32imafd/march=rv32iac/march=rv32imac/march=rv32imafc/march=rv64imafd/march=rv64imac/march=rv64imafdc mabi=ilp32/mabi=ilp32f/mabi=ilp32d/mabi=lp64/mabi=lp64d mcmodel=medany" \
" rv32i rv32im rv32imafd rv32iac rv32imac rv32imafc rv64imafd rv64imac rv64imafdc ilp32 ilp32f ilp32d lp64 lp64d medany" \
"" \
"" \
"" \
"" \
"" \
" march=rv32i/mabi=ilp32 march=rv32im/mabi=ilp32 march=rv32imafd/mabi=ilp32d march=rv32iac/mabi=ilp32 march=rv32imac/mabi=ilp32 march=rv32imafc/mabi=ilp32f march=rv64imafd/mabi=lp64d march=rv64imafd/mabi=lp64d/mcmodel=medany march=rv64imac/mabi=lp64 march=rv64imac/mabi=lp64/mcmodel=medany march=rv64imafdc/mabi=lp64d march=rv64imafdc/mabi=lp64d/mcmodel=medany" \
"" \
"" \
"yes" \
> tmp-mlib.h; \
else \
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/genmultilib '' '' '' '' '' '' '' '' \
"" '' no \
> tmp-mlib.h; \
fi
lsf="../../gnu-mirror-gcc-555388b4f80/gcc/ada/gcc-interface/lang-specs.h ../../gnu-mirror-gcc-555388b4f80/gcc/cp/lang-specs.h ../../gnu-mirror-gcc-555388b4f80/gcc/fortran/lang-specs.h"; for f in $lsf; do \
echo "#include \"$f\""; \
done | sed 's|../../gnu-mirror-gcc-555388b4f80/gcc/||' > tmp-specs.h
rm -f tmp-all-tree.def
echo "#define BUILDING_GCC_PATCHLEVEL `echo 9.0.0 | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$/\1/'`" >> bversion.h
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-specs.h specs.h
echo '#include "tree.def"' > tmp-all-tree.def
mawk -f ../../gnu-mirror-gcc-555388b4f80/gcc/gen-pass-instances.awk \
../../gnu-mirror-gcc-555388b4f80/gcc/passes.def > pass-instances.def
echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include -E ../../gnu-mirror-gcc-555388b4f80/gcc/params-list.h | sed 's/^#.*//;/^$/d' > tmp-params.list
gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include -E ../../gnu-mirror-gcc-555388b4f80/gcc/params-options.h | sed 's/^#.*//;/^$/d' > tmp-params.options
echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h
o
checking whether we are using the GNU C compiler... echo timestamp > s-specs
echo '#include "c-family/c-common.def"' >> tmp-all-tree.def
echo "g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include -no-pie -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc -L/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/lib" > checksum-options.tmp \
&& ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change checksum-options.tmp checksum-options
yes
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include accepts -g... /bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-params.list params.list
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-params.options params.options
echo timestamp > s-bversion
ltf="../../gnu-mirror-gcc-555388b4f80/gcc/ada/gcc-interface/ada-tree.def ../../gnu-mirror-gcc-555388b4f80/gcc/cp/cp-tree.def ../../gnu-mirror-gcc-555388b4f80/gcc/d/d-tree.def ../../gnu-mirror-gcc-555388b4f80/gcc/objc/objc-tree.def"; for f in $ltf; do \
echo "#include \"$f\""; \
done | sed 's|../../gnu-mirror-gcc-555388b4f80/gcc/||' >> tmp-all-tree.def
mkdir -p ada/bldtools/sinfo
mkdir -p ada/bldtools/einfo
mkdir -p ada/bldtools/nmake
mkdir -p ada/bldtools/treeprs
rm -f ada/bldtools/sinfo/sinfo.ads ada/bldtools/sinfo/sinfo.adb ada/bldtools/sinfo/xsinfo.adb ada/bldtools/sinfo/csinfo.adb
echo timestamp > s-params.list
rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb ada/bldtools/einfo/xeinfo.adb ada/bldtools/einfo/ceinfo.adb
rm -f ada/bldtools/nmake/sinfo.ads ada/bldtools/nmake/nmake.adt ada/bldtools/nmake/xnmake.adb ada/bldtools/nmake/xutil.ads ada/bldtools/nmake/xutil.adb
yes
checking for gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include option to accept ISO C89... echo timestamp > s-params.options
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-all-tree.def all-tree.def
rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads ada/bldtools/treeprs/xtreeprs.adb
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/sinfo.ads ../../gnu-mirror-gcc-555388b4f80/gcc/ada/sinfo.adb ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xsinfo.adb ../../gnu-mirror-gcc-555388b4f80/gcc/ada/csinfo.adb ada/bldtools/sinfo
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/sinfo.ads ../../gnu-mirror-gcc-555388b4f80/gcc/ada/nmake.adt ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xnmake.adb ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xutil.ads ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xutil.adb ada/bldtools/nmake
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/einfo.ads ../../gnu-mirror-gcc-555388b4f80/gcc/ada/einfo.adb ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xeinfo.adb ../../gnu-mirror-gcc-555388b4f80/gcc/ada/ceinfo.adb ada/bldtools/einfo
mkdir -p ada/bldtools/snamest
touch ada/GNAT_DATE
echo timestamp > s-alltree
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/treeprs.adt ../../gnu-mirror-gcc-555388b4f80/gcc/ada/sinfo.ads ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
(cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo sinfo.h )
(cd ada/bldtools/nmake; gnatmake -q xnmake ; ./xnmake -b nmake.adb ; ./xnmake -s nmake.ads)
(cd ada/bldtools/einfo; gnatmake -q xeinfo ; ./xeinfo einfo.h )
rm -f ada/bldtools/snamest/snames.ads-tmpl ada/bldtools/snamest/snames.adb-tmpl ada/bldtools/snamest/snames.h-tmpl ada/bldtools/snamest/xsnamest.adb ada/bldtools/snamest/xutil.ads ada/bldtools/snamest/xutil.adb
mkdir -p ada/libgnat
mkdir -p ada/libgnat
(cd ada/bldtools/treeprs; gnatmake -q xtreeprs ; ./xtreeprs treeprs.ads )
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/snames.ads-tmpl ../../gnu-mirror-gcc-555388b4f80/gcc/ada/snames.adb-tmpl ../../gnu-mirror-gcc-555388b4f80/gcc/ada/snames.h-tmpl ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xsnamest.adb ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xutil.ads ../../gnu-mirror-gcc-555388b4f80/gcc/ada/xutil.adb ada/bldtools/snamest
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/libgnat/s-excmac__gcc.ads ada/libgnat/s-excmac.ads
cp -p ../../gnu-mirror-gcc-555388b4f80/gcc/ada/libgnat/s-excmac__gcc.adb ada/libgnat/s-excmac.adb
xnmake.adb:50:06: "Ada" is not a predefined library unit
xnmake.adb:51:06: "Ada" is not a predefined library unit
xnmake.adb:52:06: "Ada" is not a predefined library unit
xnmake.adb:53:06: "Ada" is not a predefined library unit
xnmake.adb:54:06: "Ada" is not a predefined library unit
xnmake.adb:55:06: "Ada" is not a predefined library unit
xnmake.adb:56:06: "Ada" is not a predefined library unit
xnmake.adb:58:06: "Ada" is not a predefined library unit
xnmake.adb:58:06: "Xnmake (body)" depends on "Gnat.Spitbol (spec)"
xnmake.adb:58:06: "Gnat.Spitbol (spec)" depends on "Ada (spec)"
xnmake.adb:59:06: "Ada" is not a predefined library unit
xnmake.adb:59:06: "Xnmake (body)" depends on "Gnat.Spitbol.Patterns (spec)"
xnmake.adb:59:06: "Gnat.Spitbol.Patterns (spec)" depends on "Ada (spec)"
xnmake.adb:61:06: "Ada" is not a predefined library unit
xnmake.adb:61:06: "Xnmake (body)" depends on "Xutil (spec)"
xnmake.adb:61:06: "Xutil (spec)" depends on "Ada (spec)"
gnatmake: "xnmake.adb" compilation error
/bin/bash: ./xnmake: No such file or directory
echo "pragma Style_Checks (Off);" >tmp-sdefault.adb
/bin/bash: ./xnmake: No such file or directory
xsinfo.adb:41:06: "Ada" is not a predefined library unit
xsinfo.adb:42:06: "Ada" is not a predefined library unit
xsinfo.adb:43:06: "Ada" is not a predefined library unit
xsinfo.adb:44:06: "Ada" is not a predefined library unit
xsinfo.adb:46:06: "Ada" is not a predefined library unit
xsinfo.adb:46:06: "Xsinfo (body)" depends on "Gnat.Spitbol (spec)"
xsinfo.adb:46:06: "Gnat.Spitbol (spec)" depends on "Ada (spec)"
xsinfo.adb:47:06: "Ada" is not a predefined library unit
xsinfo.adb:47:06: "Xsinfo (body)" depends on "Gnat.Spitbol.Patterns (spec)"
xsinfo.adb:47:06: "Gnat.Spitbol.Patterns (spec)" depends on "Ada (spec)"
xsinfo.adb:49:06: "Ada" is not a predefined library unit
xsinfo.adb:49:06: "Xsinfo (body)" depends on "Csinfo (body)"
xsinfo.adb:49:06: "Csinfo (body)" depends on "Ada (spec)"
xeinfo.adb:49:06: "ADA" is not a predefined library unit
xeinfo.adb:50:06: "ADA" is not a predefined library unit
xeinfo.adb:51:06: "ADA" is not a predefined library unit
xeinfo.adb:52:06: "ADA" is not a predefined library unit
xeinfo.adb:53:06: "ADA" is not a predefined library unit
xeinfo.adb:54:06: "ADA" is not a predefined library unit
xeinfo.adb:56:06: "ADA" is not a predefined library unit
xeinfo.adb:56:06: "XEINFO (body)" depends on "GNAT.SPITBOL (spec)"
xeinfo.adb:56:06: "GNAT.SPITBOL (spec)" depends on "ADA (spec)"
xeinfo.adb:57:06: "ADA" is not a predefined library unit
xeinfo.adb:57:06: "XEINFO (body)" depends on "GNAT.SPITBOL.PATTERNS (spec)"
xeinfo.adb:57:06: "GNAT.SPITBOL.PATTERNS (spec)" depends on "ADA (spec)"
xeinfo.adb:60:06: "ADA" is not a predefined library unit
xeinfo.adb:60:06: "XEINFO (body)" depends on "CEINFO (body)"
xeinfo.adb:60:06: "CEINFO (body)" depends on "ADA (spec)"
gnatmake: "xsinfo.adb" compilation error
gnatmake: "xeinfo.adb" compilation error
/bin/bash: ./xsinfo: No such file or directory
/bin/bash: ./xeinfo: No such file or directory
xtreeprs.adb:43:06: "ADA" is not a predefined library unit
xtreeprs.adb:44:06: "ADA" is not a predefined library unit
xtreeprs.adb:45:06: "ADA" is not a predefined library unit
xtreeprs.adb:46:06: "ADA" is not a predefined library unit
xtreeprs.adb:47:06: "ADA" is not a predefined library unit
xtreeprs.adb:49:06: "ADA" is not a predefined library unit
xtreeprs.adb:49:06: "XTREEPRS (body)" depends on "GNAT.SPITBOL (spec)"
xtreeprs.adb:49:06: "GNAT.SPITBOL (spec)" depends on "ADA (spec)"
xtreeprs.adb:50:06: "ADA" is not a predefined library unit
xtreeprs.adb:50:06: "XTREEPRS (body)" depends on "GNAT.SPITBOL.PATTERNS (spec)"
xtreeprs.adb:50:06: "GNAT.SPITBOL.PATTERNS (spec)" depends on "ADA (spec)"
gnatmake: "xtreeprs.adb" compilation error
/bin/bash: ./xtreeprs: No such file or directory
/bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-optionlist optionlist
../../gnu-mirror-gcc-555388b4f80/gcc/ada/Make-generated.in:42: recipe for target 'ada/sinfo.h' failed
make[2]: *** [ada/sinfo.h] Error 127
make[2]: *** Waiting for unfinished jobs....
make[2]: *** [ada/stamp-nmake] Error 127
make[2]: *** [ada/einfo.h] Error 127
make[2]: *** [ada/treeprs.ads] Error 127
../../gnu-mirror-gcc-555388b4f80/gcc/ada/Make-generated.in:61: recipe for target 'ada/stamp-nmake' failed
../../gnu-mirror-gcc-555388b4f80/gcc/ada/Make-generated.in:35: recipe for target 'ada/einfo.h' failed
../../gnu-mirror-gcc-555388b4f80/gcc/ada/Make-generated.in:28: recipe for target 'ada/treeprs.ads' failed
(cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest )
echo "with Osint; use Osint;" >>tmp-sdefault.adb
echo "package body Sdefault is" >>tmp-sdefault.adb
echo " S0 : constant String := \"/home/user/rtems-install/\";" >>tmp-sdefault.adb
echo timestamp > s-options
echo " S1 : constant String := \"/home/user/rtems-install/lib/gcc/riscv-rtems6/9.0.0/adainclude/\";" >>tmp-sdefault.adb
none needed
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include understands -c and -o together... echo " S2 : constant String := \"/home/user/rtems-install/lib/gcc/riscv-rtems6/9.0.0/adalib/\";" >>tmp-sdefault.adb
xsnamest.adb:33:06: "Ada" is not a predefined library unit
xsnamest.adb:34:06: "Ada" is not a predefined library unit
xsnamest.adb:35:06: "Ada" is not a predefined library unit
xsnamest.adb:36:06: "Ada" is not a predefined library unit
xsnamest.adb:37:06: "Ada" is not a predefined library unit
xsnamest.adb:38:06: "Ada" is not a predefined library unit
xsnamest.adb:40:06: "Ada" is not a predefined library unit
xsnamest.adb:40:06: "Xsnamest (body)" depends on "Gnat.Spitbol (spec)"
xsnamest.adb:40:06: "Gnat.Spitbol (spec)" depends on "Ada (spec)"
xsnamest.adb:41:06: "Ada" is not a predefined library unit
xsnamest.adb:41:06: "Xsnamest (body)" depends on "Gnat.Spitbol.Patterns (spec)"
xsnamest.adb:41:06: "Gnat.Spitbol.Patterns (spec)" depends on "Ada (spec)"
xsnamest.adb:43:06: "Ada" is not a predefined library unit
xsnamest.adb:43:06: "Xsnamest (body)" depends on "Xutil (spec)"
xsnamest.adb:43:06: "Xutil (spec)" depends on "Ada (spec)"
echo " S3 : constant String := \"riscv-rtems6/\";" >>tmp-sdefault.adb
gnatmake: "xsnamest.adb" compilation error
/bin/bash: ./xsnamest: No such file or directory
../../gnu-mirror-gcc-555388b4f80/gcc/ada/Make-generated.in:50: recipe for target 'ada/stamp-snames' failed
make[2]: *** [ada/stamp-snames] Error 127
echo " S4 : constant String := \"/home/user/rtems-install/lib/gcc/riscv-rtems6/9.0.0/\";" >>tmp-sdefault.adb
echo " function Include_Dir_Default_Name return String_Ptr is" >>tmp-sdefault.adb
echo " begin" >>tmp-sdefault.adb
echo " return Relocate_Path (S0, S1);" >>tmp-sdefault.adb
echo " end Include_Dir_Default_Name;" >>tmp-sdefault.adb
echo " function Object_Dir_Default_Name return String_Ptr is" >>tmp-sdefault.adb
echo " begin" >>tmp-sdefault.adb
echo " return Relocate_Path (S0, S2);" >>tmp-sdefault.adb
echo " end Object_Dir_Default_Name;" >>tmp-sdefault.adb
echo " function Target_Name return String_Ptr is" >>tmp-sdefault.adb
echo " begin" >>tmp-sdefault.adb
echo " return new String'(S3);" >>tmp-sdefault.adb
echo " end Target_Name;" >>tmp-sdefault.adb
echo " function Search_Dir_Prefix return String_Ptr is" >>tmp-sdefault.adb
echo " begin" >>tmp-sdefault.adb
echo " return Relocate_Path (S0, S4);" >>tmp-sdefault.adb
echo " end Search_Dir_Prefix;" >>tmp-sdefault.adb
echo "end Sdefault;" >> tmp-sdefault.adb
mv -f tmp-sdefault.adb ada/sdefault.adb
yes
checking how to run the C preprocessor... touch ada/stamp-sdefault
gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... /bin/bash ../../gnu-mirror-gcc-555388b4f80/gcc/../move-if-change tmp-mlib.h multilib.h
echo timestamp > s-mlib
make[2]: Leaving directory '/home/user/rtems-source-builder/rtems/build/riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: *** Waiting for unfinished jobs....
Makefile:4319: recipe for target 'all-gcc' failed
yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... mawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking whether make supports nested variables... yes
checking dependency style of gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include... gcc3
checking whether to enable maintainer-specific portions of Makefiles... no
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for fgrep... /bin/grep -F
checking for ld used by gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include... x86_64-linux-gnu-ld
checking if the linker (x86_64-linux-gnu-ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... x86_64-linux-gnu-nm
checking the name lister (x86_64-linux-gnu-nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for x86_64-linux-gnu-ld option to reload object files... -r
checking for x86_64-linux-gnu-objdump... x86_64-linux-gnu-objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-linux-gnu-ar... x86_64-linux-gnu-ar
checking for x86_64-linux-gnu-strip... x86_64-linux-gnu-strip
checking for x86_64-linux-gnu-ranlib... x86_64-linux-gnu-ranlib
checking command to parse x86_64-linux-gnu-nm output from gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -fno-rtti -fno-exceptions... no
checking for gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include option to produce PIC... -fPIC -DPIC
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include PIC flag -fPIC -DPIC works... yes
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include static flag -static works... yes
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -c -o file.o... yes
checking if gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -c -o file.o... (cached) yes
checking whether the gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include linker (x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include accepts -g... yes
checking dependency style of g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include... gcc3
checking how to run the C++ preprocessor... g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include -E
checking for ld used by g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include... x86_64-linux-gnu-ld -m elf_x86_64
checking if the linker (x86_64-linux-gnu-ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include linker (x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking for g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include option to produce PIC... -fPIC -DPIC
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include PIC flag -fPIC -DPIC works... yes
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include static flag -static works... yes
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -c -o file.o... yes
checking if g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -c -o file.o... (cached) yes
checking whether the g++ -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include linker (x86_64-linux-gnu-ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... (cached) GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether basename is declared... yes
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -W... yes
checking whether gcc -O2 -pipe -I/home/user/rtems-source-builder/rtems/build/tmp/sb-user/6/rtems-riscv/home/user/rtems-install/include supports -Wall... yes
checking for socket libraries... checking for connect... yes
checking for gethostbyname... yes
checking for socketpair... yes
checking for select... yes
checking for fork... yes
configure: updating cache ./config.cache
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cc1plugin-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
make[1]: Leaving directory '/home/user/rtems-source-builder/rtems/build/riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1/build'
make: *** [all] Error 2
Makefile:950: recipe for target 'all' failed
shell cmd failed: /bin/sh -ex /home/user/rtems-source-builder/rtems/build/riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1/do-build
error: building riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1
See error report: rsb-report-riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sizes
=====
Maximum build usage: 1.159GB
Total size: 1.032GB
Installed : 312.928MB
Sources: 744.000MB
Patches: 20.845KB
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.510MB (installed: 3.019MB)
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.347MB (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 -> /home/user/rtems-install
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /home/user/rtems-install
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.792MB total: 749.303MB (sources: 744.000MB, patches: 20.845KB, installed 5.282MB)
Build Set: Time 0:00:06.956352
Build Set: Time 0:00:11.533145
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: 9.179MB (installed: 1.941MB)
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-head.cfg
package: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1
building: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1
sizes: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1: 874.040MB (installed: 104.464MB)
cleaning: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-head.cfg -> riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-head.cfg
package: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1
building: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1
sizes: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1: 621.275MB (installed: 137.621MB)
cleaning: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-head.cfg -> riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-head-newlib-head.cfg
package: riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1
building: riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1
error: building riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1.txt
error: building riscv-rtems6-gcc-555388b4f80-newlib-7f983079d-x86_64-linux-gnu-1
config: tools/rtems-tools-5-1.cfg
package: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
building: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
sizes: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1: 252.469MB (installed: 68.902MB)
cleaning: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1.txt
reporting: tools/rtems-tools-5-1.cfg -> rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1.xml
cleaning: expat-2.1.0-x86_64-linux-gnu-1
cleaning: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1
cleaning: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1
cleaning: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
Build Sizes: usage: 1.159GB total: 1.032GB (sources: 744.000MB, patches: 20.845KB, installed 312.928MB)
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan 17 16:00:46 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-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}"
# 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=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
--exec-prefix=/home/user/rtems-install \
--includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
--mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
make -j 10 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 Jan 17 16:00:46 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-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}"
# 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=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
--exec-prefix=/home/user/rtems-install \
--includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
--mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
make -j 10 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 Jan 17 16:02:34 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB ve89c694196 for target riscv-rtems6 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
e89c694196
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-e89c694196.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/e89c694196
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-e89c694196
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-rtems6" -o "x86_64-linux-gnu" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# 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-rtems6 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python2 \
--prefix=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
--exec-prefix=/home/user/rtems-install \
--includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
--mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
make -j 10 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan 17 16:02:34 2019
==============================================================================
Report: tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-gdb-e89c694196-x86_64-linux-gnu-1
Config: tools/rtems-gdb-head.cfg
Summary:
GDB ve89c694196 for target riscv-rtems6 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
e89c694196
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-e89c694196.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/e89c694196
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
gdb_source=sourceware-mirror-binutils-gdb-e89c694196
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-rtems6" -o "x86_64-linux-gnu" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# 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-rtems6 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python2 \
--prefix=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
--exec-prefix=/home/user/rtems-install \
--includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
--mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
make -j 10 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan 17 16:03:10 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils ve89c694196 for target riscv-rtems6 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
e89c694196
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-e89c694196.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/e89c694196
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-e89c694196
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-rtems6" -o "x86_64-linux-gnu" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# 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-rtems6 \
--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=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
--exec-prefix=/home/user/rtems-install \
--includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
--mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
make -j 10 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/user/rtems-install/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan 17 16:03:10 2019
==============================================================================
Report: tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-head.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-head.cfg
------------------------------------------------------------------------------
Package: riscv-rtems6-binutils-e89c694196-x86_64-linux-gnu-1
Config: tools/rtems-binutils-head.cfg
Summary:
Binutils ve89c694196 for target riscv-rtems6 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
e89c694196
Release:
1
Sources: 1
1: --rsb-file=sourceware-mirror-binutils-gdb-e89c694196.tar.gz https://codeload.github.com/RTEMS/sourceware-mirror-binutils-gdb/tar.gz/e89c694196
No checksum
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source=sourceware-mirror-binutils-gdb-e89c694196
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-rtems6" -o "x86_64-linux-gnu" == "riscv-rtems6" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# 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-rtems6 \
--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=/home/user/rtems-install --bindir=/home/user/rtems-install/bin \
--exec-prefix=/home/user/rtems-install \
--includedir=/home/user/rtems-install/include --libdir=/home/user/rtems-install/lib \
--mandir=/home/user/rtems-install/share/man --infodir=/home/user/rtems-install/share/info
make -j 10 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/user/rtems-install/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
touch $SB_BUILD_ROOT/home/user/rtems-install/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/user/rtems-install/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/user/rtems-install/bin/riscv-rtems6-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/user/rtems-install/share/man/man1/riscv-rtems6-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan 17 16:04:35 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools e59f4ee300ba71db46b35e04afe541d9125eb8d6 for host x86_64-linux-gnu
URL:
http://www.rtems.org/
Version:
e59f4ee300ba71db46b35e04afe541d9125eb8d6
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6.tar.bz2
sha512: c86fcc6aafa5f79b10c4610ca1a25b1ff2efdfbc29eab5752d1992f561b91d4b80a744ad3905d3972edfa5c1d2044856565fa7e9dbaf756c2b5cb705ddc740aa
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6
source_dir_rtems_tools=${rtems_tools_source}
%setup source rtems-tools -q -n ${rtems_tools_source}
%setup patch rtems-tools -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
RT_HOST="--host=x86_64-linux-gnu"
else
RT_HOST=
fi
cd ${source_dir_rtems_tools}
./waf distclean configure ${RT_HOST} --prefix=/home/user/rtems-install
./waf
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT
cd ${source_dir_rtems_tools}
./waf --destdir=$SB_BUILD_ROOT_WAF install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Thu Jan 17 16:04:35 2019
==============================================================================
Report: tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: git://git.rtems.org/rtems-source-builder.git
Status:
Clean
Head:
Commit: 1dfc4dd60c542336ab6bd9e2033cc8a55d1058b2
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-tools-5-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-tools-5-1.cfg
------------------------------------------------------------------------------
Package: rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6-1
Config: tools/rtems-tools-5-1.cfg
Summary:
RTEMS Tools e59f4ee300ba71db46b35e04afe541d9125eb8d6 for host x86_64-linux-gnu
URL:
http://www.rtems.org/
Version:
e59f4ee300ba71db46b35e04afe541d9125eb8d6
Release:
1
Sources: 1
1: https://git.rtems.org/rtems-tools/snapshot/rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6.tar.bz2
sha512: c86fcc6aafa5f79b10c4610ca1a25b1ff2efdfbc29eab5752d1992f561b91d4b80a744ad3905d3972edfa5c1d2044856565fa7e9dbaf756c2b5cb705ddc740aa
Patches: 0
Preparation:
build_top=$(pwd)
rtems_tools_source=rtems-tools-e59f4ee300ba71db46b35e04afe541d9125eb8d6
source_dir_rtems_tools=${rtems_tools_source}
%setup source rtems-tools -q -n ${rtems_tools_source}
%setup patch rtems-tools -p1
cd ${build_top}
Build:
build_top=$(pwd)
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
RT_HOST="--host=x86_64-linux-gnu"
else
RT_HOST=
fi
cd ${source_dir_rtems_tools}
./waf distclean configure ${RT_HOST} --prefix=/home/user/rtems-install
./waf
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
SB_BUILD_ROOT_WAF=$SB_BUILD_ROOT
cd ${source_dir_rtems_tools}
./waf --destdir=$SB_BUILD_ROOT_WAF install
cd ${build_top}
More information about the build
mailing list