Build Linux: FAILED 5/rtems-sparc on x86_64-linux-gnu (sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1)
joel at rtems.org
joel at rtems.org
Tue Jan 22 17:50:23 UTC 2019
RTEMS Source Builder - Set Builder, 5 (0bb29a38fb73)
Host: Linux-3.10.0-862.11.6.el7.x86_64-x86_64-with-centos-7.5.1804-Core
Linux rtbf64c.rtems.com 3.10.0-862.11.6.el7.x86_64 #1 SMP Tue Aug 14
21:49:04 UTC 2018 x86_64 x86_64
Build Time: 0:05:10.269833
= = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
Build FAILED: sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
mkdir -p ada/bldtools/sinfo
mkdir -p ada/bldtools/einfo
rm -f ada/bldtools/sinfo/sinfo.ads ada/bldtools/sinfo/sinfo.adb ada/bldtools/sinfo/xsinfo.adb ada/bldtools/sinfo/csinfo.adb
mkdir -p ada/bldtools/nmake
rm -f ada/bldtools/einfo/einfo.ads ada/bldtools/einfo/einfo.adb ada/bldtools/einfo/xeinfo.adb ada/bldtools/einfo/ceinfo.adb
cp -p ../../gcc-7.4.0/gcc/ada/sinfo.ads ../../gcc-7.4.0/gcc/ada/sinfo.adb ../../gcc-7.4.0/gcc/ada/xsinfo.adb ../../gcc-7.4.0/gcc/ada/csinfo.adb ada/bldtools/sinfo
mkdir -p ada/bldtools/treeprs
echo timestamp > s-params.list
echo timestamp > s-params.options
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-all-tree.def all-tree.def
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
cp -p ../../gcc-7.4.0/gcc/ada/einfo.ads ../../gcc-7.4.0/gcc/ada/einfo.adb ../../gcc-7.4.0/gcc/ada/xeinfo.adb ../../gcc-7.4.0/gcc/ada/ceinfo.adb ada/bldtools/einfo
(cd ada/bldtools/sinfo; gnatmake -q xsinfo ; ./xsinfo sinfo.h )
rm -f ada/bldtools/treeprs/treeprs.adt ada/bldtools/treeprs/sinfo.ads ada/bldtools/treeprs/xtreeprs.adb
mkdir -p ada/bldtools/snamest
cp -p ../../gcc-7.4.0/gcc/ada/sinfo.ads ../../gcc-7.4.0/gcc/ada/nmake.adt ../../gcc-7.4.0/gcc/ada/xnmake.adb ../../gcc-7.4.0/gcc/ada/xutil.ads ../../gcc-7.4.0/gcc/ada/xutil.adb ada/bldtools/nmake
cp -p ../../gcc-7.4.0/gcc/ada/treeprs.adt ../../gcc-7.4.0/gcc/ada/sinfo.ads ../../gcc-7.4.0/gcc/ada/xtreeprs.adb ada/bldtools/treeprs
touch ada/GNAT_DATE
o
checking whether we are using the GNU C compiler... echo timestamp > s-alltree
(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
(cd ada/bldtools/nmake; gnatmake -q xnmake ; ./xnmake -b nmake.adb ; ./xnmake -s nmake.ads)
(cd ada/bldtools/treeprs; gnatmake -q xtreeprs ; ./xtreeprs treeprs.ads )
echo "pragma Style_Checks (Off);" >tmp-sdefault.adb
cp -p ../../gcc-7.4.0/gcc/ada/snames.ads-tmpl ../../gcc-7.4.0/gcc/ada/snames.adb-tmpl ../../gcc-7.4.0/gcc/ada/snames.h-tmpl ../../gcc-7.4.0/gcc/ada/xsnamest.adb ../../gcc-7.4.0/gcc/ada/xutil.ads ../../gcc-7.4.0/gcc/ada/xutil.adb ada/bldtools/snamest
echo "with Osint; use Osint;" >>tmp-sdefault.adb
cp ../../gcc-7.4.0/gcc/gcc-ar.c gcc-nm.c
cp ../../gcc-7.4.0/gcc/gcc-ar.c gcc-ranlib.c
(cd ada/bldtools/snamest; gnatmake -q xsnamest ; ./xsnamest )
yes
echo "package body Sdefault is" >>tmp-sdefault.adb
checking whether gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include accepts -g... echo " S0 : constant String := \"/home/joel/rtems-work/tools/5/\";" >>tmp-sdefault.adb
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh ../../gcc-7.4.0/gcc/mkconfig.sh tconfig.h
echo " S1 : constant String := \"/home/joel/rtems-work/tools/5/lib/gcc/sparc-rtems5/7.4.0/adainclude/\";" >>tmp-sdefault.adb
for tool in gnatbind gnatchop gnat gnatkr gnatlink gnatls gnatmake gnatname gnatprep gnatxref gnatfind gnatclean ; do \
if [ -f $tool ] ; \
then \
mv $tool $tool-cross; \
fi; \
done
echo " S2 : constant String := \"/home/joel/rtems-work/tools/5/lib/gcc/sparc-rtems5/7.4.0/adalib/\";" >>tmp-sdefault.adb
(echo "@set version-GCC 7.4.0"; \
if [ "RTEMS 5, RSB 0bb29a38fb73342c3c25c6917884e08f7386a6f4, Newlib dc6e94551f09d3a983afd571478d63a09d6f66fa" = "experimental" ]; \
then echo "@set DEVELOPMENT"; \
else echo "@clear DEVELOPMENT"; \
fi) > gcc-vers.texiT
echo " S3 : constant String := \"sparc-rtems5/\";" >>tmp-sdefault.adb
echo @set srcdir /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/gcc/../../gcc-7.4.0/gcc >> gcc-vers.texiT
if [ -n "(GCC) " ]; then \
echo "@set VERSION_PACKAGE (GCC) " >> gcc-vers.texiT; \
fi
echo " S4 : constant String := \"/home/joel/rtems-work/tools/5/lib/gcc/sparc-rtems5/7.4.0/\";" >>tmp-sdefault.adb
yes
checking for gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include option to accept ISO C89... echo "@set BUGURL @uref{https://gcc.gnu.org/bugs/}" >> gcc-vers.texiT; \
mv -f gcc-vers.texiT gcc-vers.texi
echo " function Include_Dir_Default_Name return String_Ptr is" >>tmp-sdefault.adb
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/genhooks.o ../../gcc-7.4.0/gcc/genhooks.c
echo " begin" >>tmp-sdefault.adb
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/genchecksum.o ../../gcc-7.4.0/gcc/genchecksum.c
echo " return Relocate_Path (S0, S1);" >>tmp-sdefault.adb
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/inchash.o ../../gcc-7.4.0/gcc/inchash.c
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
touch ada/stamp-sdefault
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/genenums.o ../../gcc-7.4.0/gcc/genenums.c
none needed
checking how to run the C preprocessor... gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... mkdir -p ada/generated
s=`cat ../../gcc-7.4.0/gcc/BASE-VER | sed -e "s/\([0-9]*\)\.\([0-9]*\)\..*/-\1\2/g"`; \
d=`if test -f ../../gcc-7.4.0/gcc/ada/GNAT_DATE; then \
cat ../../gcc-7.4.0/gcc/ada/GNAT_DATE; else date +%Y%m%d; fi`; \
cat ../../gcc-7.4.0/gcc/ada/gnatvsn.ads | sed -e "/Version/s/(\([0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]\).*)/($d$s)/g" >ada/generated/gnatvsn.ads
if [ xinfo = xinfo ]; then \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.4.0/gcc/doc \
-I ../../gcc-7.4.0/gcc/doc/include -o doc/cpp.info ../../gcc-7.4.0/gcc/doc/cpp.texi; \
fi
if [ xinfo = xinfo ]; then \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.4.0/gcc/doc \
-I ../../gcc-7.4.0/gcc/doc/include -o doc/gcc.info ../../gcc-7.4.0/gcc/doc/gcc.texi; \
fi
if [ xinfo = xinfo ]; then \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I ../../gcc-7.4.0/gcc/doc \
-I ../../gcc-7.4.0/gcc/doc/include -o doc/gccinstall.info ../../gcc-7.4.0/gcc/doc/install.texi; \
fi
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... if [ xinfo = xinfo ]; then \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.4.0/gcc/doc \
-I ../../gcc-7.4.0/gcc/doc/include -o doc/cppinternals.info ../../gcc-7.4.0/gcc/doc/cppinternals.texi; \
fi
yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... /bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
if [ xinfo = xinfo ]; then \
rm -f doc/gnat_ugn.info*; \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../gcc-7.4.0/gcc/doc/include \
-I../../gcc-7.4.0/gcc/ada -o doc/gnat_ugn.info ../../gcc-7.4.0/gcc/ada/gnat_ugn.texi; \
else true; fi
yes
checking for stdint.h... yes
checking for unistd.h... /bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-mlib.h multilib.h
yes
echo timestamp > s-mlib
checking minix/config.h usability... if [ xinfo = xinfo ]; then \
rm -f doc/gnat_rm.info*; \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../gcc-7.4.0/gcc/doc/include \
-I../../gcc-7.4.0/gcc/ada -o doc/gnat_rm.info ../../gcc-7.4.0/gcc/ada/gnat_rm.texi; \
else true; fi
no
checking minix/config.h presence... mv -f ada/bldtools/treeprs/treeprs.ads ada/treeprs.ads
if [ xinfo = xinfo ]; then \
rm -f doc/gnat-style.info*; \
makeinfo --split-size=5000000 --split-size=5000000 --no-split -I../../gcc-7.4.0/gcc/doc/include \
-I../../gcc-7.4.0/gcc/ada -o doc/gnat-style.info ../../gcc-7.4.0/gcc/ada/gnat-style.texi; \
else true; fi
no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... mv -f ada/bldtools/snamest/snames.ns ada/snames.ads
mv -f ada/bldtools/snamest/snames.nb ada/snames.adb
mv -f ada/bldtools/snamest/snames.nh ada/snames.h
touch ada/stamp-snames
yes
echo timestamp > gcc.pod
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... perl ../../gcc-7.4.0/gcc/../contrib/texi2pod.pl ../../gcc-7.4.0/gcc/doc/invoke.texi > gcc.pod
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/genmddeps.o ../../gcc-7.4.0/gcc/genmddeps.c
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/read-md.o ../../gcc-7.4.0/gcc/read-md.c
mv -f ada/bldtools/nmake/nmake.ads ada/nmake.ads
mv -f ada/bldtools/nmake/nmake.adb ada/nmake.adb
touch ada/stamp-nmake
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/errors.o ../../gcc-7.4.0/gcc/errors.c
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/genmodes.o ../../gcc-7.4.0/gcc/genmodes.c
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/gengtype.o ../../gcc-7.4.0/gcc/gengtype.c
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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 -Wno-error -DHAVE_CONFIG_H -DGENERATOR_FILE -fno-PIE -I. -Ibuild -I../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/gengtype-lex.o ../../gcc-7.4.0/gcc/gengtype-lex.c
Acquiring field names from spec
Checking consistent references in spec
Check listing of fields in body
Check references in access routines in body
Check references in set routines in body
All tests completed successfully, no errors detected
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/gengtype-parse.o ../../gcc-7.4.0/gcc/gengtype-parse.c
mv -f ada/bldtools/einfo/einfo.h ada/einfo.h
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/gengtype-state.o ../../gcc-7.4.0/gcc/gengtype-state.c
gengtype-lex.c: In function 'int yy_get_next_buffer()':
gengtype-lex.c:1343:18: warning: comparison of integer expressions of different signedness: 'size_t' {aka 'long unsigned int'} and 'int' [-Wsign-compare]
gengtype-lex.c:2150:3: note: in expansion of macro 'YY_INPUT'
gengtype-lex.c: In function 'yy_buffer_state* yy_scan_bytes(const char*, yy_size_t)':
gengtype-lex.c:2658:17: warning: comparison of integer expressions of different signedness: 'int' and 'yy_size_t' {aka 'long unsigned int'} [-Wsign-compare]
/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l: In function 'int yylex(const char**)':
gengtype-lex.c:365:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l:117:1: note: in expansion of macro 'YY_DO_BEFORE_ACTION'
/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l:113:1: note: here
gengtype-lex.c:365:15: warning: this statement may fall through [-Wimplicit-fallthrough=]
/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l:134:1: note: in expansion of macro 'YY_DO_BEFORE_ACTION'
/space/rguenther/gcc-7.4.0/gcc-7.4.0/gcc/gengtype-lex.l:131:1: note: here
yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking dependency style of gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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... /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include... ld
checking if the linker (ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... nm
checking the name lister (nm) interface... g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/genconstants.o ../../gcc-7.4.0/gcc/genconstants.c
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 ld option to reload object files... -r
checking for x86_64-linux-gnu-objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for x86_64-linux-gnu-ar... ar
checking for x86_64-linux-gnu-strip... no
checking for strip... strip
checking for x86_64-linux-gnu-ranlib... ranlib
checking command to parse nm output from gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include object... g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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../../gcc-7.4.0/gcc -I../../gcc-7.4.0/gcc/build -I../../gcc-7.4.0/gcc/../include -I../../gcc-7.4.0/gcc/../libcpp/include \
-o build/gengenrtl.o ../../gcc-7.4.0/gcc/gengenrtl.c
ok
checking for dlfcn.h... g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/genhooks \
build/genhooks.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/genchecksum \
build/genchecksum.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/genenums \
build/genenums.o build/read-md.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
gawk -f ../../gcc-7.4.0/gcc/opt-functions.awk -f ../../gcc-7.4.0/gcc/opt-read.awk \
-f ../../gcc-7.4.0/gcc/optc-save-gen.awk \
-v header_name="config.h system.h coretypes.h tm.h" < optionlist > options-save.c
yes
checking for objdir... .libs
gawk -f ../../gcc-7.4.0/gcc/opt-functions.awk -f ../../gcc-7.4.0/gcc/opt-read.awk \
-f ../../gcc-7.4.0/gcc/optc-gen.awk \
-v header_name="config.h system.h coretypes.h options.h tm.h" < optionlist > options.c
checking if gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include supports -fno-rtti -fno-exceptions... build/genhooks -d \
../../gcc-7.4.0/gcc/doc/tm.texi.in > tmp-tm.texi
case `echo X|tr X '\101'` in \
A) tr -d '\015' < tmp-tm.texi > tmp2-tm.texi ;; \
*) tr -d '\r' < tmp-tm.texi > tmp2-tm.texi ;; \
esac
echo timestamp > doc/gcc.1
(pod2man --center="GNU" --release="gcc-7.4.0" --date=2018-12-06 --section=1 gcc.pod > doc/gcc.1.T$$ && \
mv -f doc/gcc.1.T$$ doc/gcc.1) || \
(rm -f doc/gcc.1.T$$ && exit 1)
mv tmp2-tm.texi tmp-tm.texi
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-tm.texi tm.texi
no
checking for gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include option to produce PIC... -fPIC -DPIC
checking if gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include PIC flag -fPIC -DPIC works... g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/genmddeps \
build/genmddeps.o build/read-md.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/genmodes \
build/genmodes.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
yes
checking if gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include static flag -static works... gawk -f ../../gcc-7.4.0/gcc/opt-functions.awk -f ../../gcc-7.4.0/gcc/opt-read.awk \
-f ../../gcc-7.4.0/gcc/opth-gen.awk \
< optionlist > tmp-options.h
Check for field name consistency
g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/genconstants \
build/genconstants.o build/read-md.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
no
checking if gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include supports -c -o file.o... g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -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 -static-libstdc++ -static-libgcc -L/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/lib -no-pie -o build/gengenrtl \
build/gengenrtl.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
OK
Check for function consistency
OK
Check for missing functions
OK
Check for set procedure consistency
OK
Check for missing set procedures
OK
Check pragma Inlines are all for existing subprograms
OK
Check no pragma Inlines were omitted
OK
Check references in functions in body
build/genmodes -m > tmp-min-modes.c
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-min-modes.c min-insn-modes.c
build/genhooks "Target Hook" \
> tmp-target-hooks-def.h
OK
Check for missing functions in body
OK
Check Set procedures in body
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-target-hooks-def.h \
target-hooks-def.h
echo timestamp > s-modes-m
build/genhooks "Common Target Hook" \
> tmp-common-target-hooks-def.h
yes
checking if gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include supports -c -o file.o... (cached) yes
checking whether the gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include linker (ld -m elf_x86_64) supports shared libraries... echo timestamp > s-target-hooks-def-h
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-common-target-hooks-def.h \
common/common-target-hooks-def.h
build/genhooks "C Target Hook" \
> tmp-c-target-hooks-def.h
OK
Check for missing set procedures in body
OK
All tests completed successfully, no errors detected
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-c-target-hooks-def.h \
c-family/c-target-hooks-def.h
echo timestamp > s-common-target-hooks-def-h
build/genmodes > tmp-modes.c
yes
checking whether -lc should be explicitly linked in... echo timestamp > s-c-target-hooks-def-h
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-modes.c insn-modes.c
build/genmddeps ../../gcc-7.4.0/gcc/common.md ../../gcc-7.4.0/gcc/config/sparc/sparc.md > tmp-mddeps
echo timestamp > s-modes
build/genmodes -h > tmp-modes.h
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-modes.h insn-modes.h
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-mddeps mddeps.mk
echo timestamp > s-modes-h
build/gengenrtl > tmp-genrtl.h
echo timestamp > s-mddeps
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-genrtl.h genrtl.h
mv -f ada/bldtools/sinfo/sinfo.h ada/sinfo.h
build/genenums ../../gcc-7.4.0/gcc/common.md ../../gcc-7.4.0/gcc/config/sparc/sparc.md \
> tmp-enums.c
echo timestamp > s-genrtl-h
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/a-charac.ads -o ada/a-charac.o
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/a-chlat1.ads -o ada/a-chlat1.o
/bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-enums.c insn-enums.c
echo timestamp > s-enums
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/a-elchha.adb -o ada/a-elchha.o
no
checking dynamic linker characteristics... gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -g -O1 -fno-inline \
-nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/a-except.adb -o ada/a-except.o
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/a-ioexce.ads -o ada/a-ioexce.o
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/ada.ads -o ada/ada.o
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/spark_xrefs.adb -o ada/spark_xrefs.o
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
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/ali.adb -o ada/ali.o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include accepts -g... yes
checking dependency style of g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include... /bin/sh ../../gcc-7.4.0/gcc/../move-if-change tmp-options.h options.h
echo timestamp > s-options-h
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/alloc.ads -o ada/alloc.o
gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -c -g -O2 -gnatpg -W -Wall -nostdinc -I- -I. -Iada/generated -Iada -I../../gcc-7.4.0/gcc/ada -I../../gcc-7.4.0/gcc/ada/gcc-interface ../../gcc-7.4.0/gcc/ada/aspects.adb -o ada/aspects.o
gcc3
checking how to run the C++ preprocessor... g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include -E
checking for ld used by g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include... ld -m elf_x86_64
checking if the linker (ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include linker (ld -m elf_x86_64) supports shared libraries... yes
aspects.adb:38:29: warning: use clause for package "HTable" has no effect
make[2]: *** [ada/aspects.o] Error 1
make[2]: *** Waiting for unfinished jobs....
../../gcc-7.4.0/gcc/ada/spark_xrefs.adb: In function 'spark_xrefs.pspark':
../../gcc-7.4.0/gcc/ada/put_spark_xrefs.adb:174:25: warning: 'Scope' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../gcc-7.4.0/gcc/ada/put_spark_xrefs.adb:94:10: note: 'Scope' was declared here
../../gcc-7.4.0/gcc/ada/put_spark_xrefs.adb:167:25: warning: 'File' may be used uninitialized in this function [-Wmaybe-uninitialized]
../../gcc-7.4.0/gcc/ada/put_spark_xrefs.adb:93:10: note: 'File' was declared here
checking for g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include option to produce PIC... -fPIC -DPIC
checking if g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include PIC flag -fPIC -DPIC works... yes
checking if g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include static flag -static works... no
checking if g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include supports -c -o file.o... yes
checking if g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include supports -c -o file.o... (cached) yes
checking whether the g++ -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include linker (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/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/include supports -W... yes
checking whether gcc -O2 -pipe -I/data/home/joel/rtems-work/rtems-source-builder/rtems/build/tmp/sb-joel/5/rtems-sparc/home/joel/rtems-work/tools/5/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
configure: creating ./config.status
config.status: creating Makefile
config.status: creating cc1plugin-config.h
config.status: executing depfiles commands
config.status: executing libtool commands
rm gcc.pod
make[2]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/data/home/joel/rtems-work/rtems-source-builder/rtems/build/sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/build'
make: *** [all] Error 2
shell cmd failed: /bin/sh -ex /data/home/joel/rtems-work/rtems-source-builder/rtems/build/sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1/do-build
error: building sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
See error report: rsb-report-sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1.txt
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Sizes
=====
No packages built
Output
======
config: tools/rtems-autoconf-2.69-1.cfg
package: autoconf-2.69-x86_64-linux-gnu-1
building: autoconf-2.69-x86_64-linux-gnu-1
sizes: autoconf-2.69-x86_64-linux-gnu-1: 10.515MB (installed: 3.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.352MB (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/joel/rtems-work/tools/5
installing: automake-1.12.6-x86_64-linux-gnu-1 -> /home/joel/rtems-work/tools/5
cleaning: autoconf-2.69-x86_64-linux-gnu-1
cleaning: automake-1.12.6-x86_64-linux-gnu-1
Build Sizes: usage: 15.797MB total: 596.824MB (sources: 591.195MB, patches: 355.154KB, installed 5.282MB)
Build Set: Time 0:00:16.374454
Build Set: Time 0:00:25.443119
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.192MB (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-8.0.1-1.cfg
package: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
building: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
sizes: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1: 560.014MB (installed: 74.232MB)
cleaning: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
reporting: tools/rtems-gdb-8.0.1-1.cfg -> sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-gdb-8.0.1-1.cfg -> sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1.xml
config: tools/rtems-binutils-2.31.1.cfg
package: sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
building: sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
sizes: sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1: 511.185MB (installed: 131.362MB)
cleaning: sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
reporting: tools/rtems-binutils-2.31.1.cfg -> sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.txt
reporting: tools/rtems-binutils-2.31.1.cfg -> sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1.xml
config: tools/rtems-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa.cfg
package: sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
building: sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
error: building sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
Build FAILED
See error report: rsb-report-sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1.txt
error: building sparc-rtems5-gcc-7.4.0-newlib-dc6e94551f09d3a983afd571478d63a09d6f66fa-x86_64-linux-gnu-1
Mailing report: build at rtems.org
Report
======
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 11:45:44 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems5 on host x86_64-linux-gnu
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
./configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--verbose \
--prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
--exec-prefix=/home/joel/rtems-work/tools/5 \
--includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
--mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 11:45:45 2019
==============================================================================
Report: devel/expat-2.1.0-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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-rtems5 on host x86_64-linux-gnu
URL:
http://expat.sourceforge.net/
Version:
2.1.0
Release:
1
Sources: 1
1: https://github.com/libexpat/libexpat/releases/download/R_2_1_0/expat-2.1.0.tar.gz
sha256: 823705472f816df21c8f6aa026dd162b280806838bb55b3432b0fb1fcca7eb86
Patches: 0
Preparation:
build_top=$(pwd)
%setup source expat -q -n expat-2.1.0
%setup patch expat -p1
cd ${build_top}
Build:
build_top=$(pwd)
cd expat-2.1.0
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
./configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--verbose \
--prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
--exec-prefix=/home/joel/rtems-work/tools/5 \
--includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
--mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
rm -rf $SB_BUILD_ROOT
cd expat-2.1.0
make DESTDIR=$SB_BUILD_ROOT install
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 11:47:52 2019
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
Config: tools/rtems-gdb-8.0.1-1.cfg
Summary:
GDB v8.0.1 for target sparc-rtems5 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
8.0.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
Patches: 1
1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon3-smp.diff
sha512: 1d086c656e6c240eee721f0f4a5cd43d4bbd29feff2ac22e6e56b6953c6390438976180575c0888c38a000c5ed6c8276479e9620315fdd6a6455214218ecbb78
Preparation:
build_top=$(pwd)
gdb_source="gdb-8.0.1"
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 "sparc-rtems5" -o "x86_64-linux-gnu" == "sparc-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=sparc-rtems5 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python2 \
--prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
--exec-prefix=/home/joel/rtems-work/tools/5 \
--includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
--mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 11:47:53 2019
==============================================================================
Report: tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-gdb-8.0.1-1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-gdb-8.0.1-1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-gdb-8.0.1-x86_64-linux-gnu-1
Config: tools/rtems-gdb-8.0.1-1.cfg
Summary:
GDB v8.0.1 for target sparc-rtems5 on host x86_64-linux-gnu
URL:
http://www.gnu.org/software/gdb/
Version:
8.0.1
Release:
1
Sources: 1
1: http://ftp.gnu.org/gnu/gdb/gdb-8.0.1.tar.xz
sha512: 5eb328910033f0918058be2f92caebf1e8dfc6caa3c730d99d621627e53de3c1b43761c2f683d53555893253c2f06768cbf56cdea051a3d291ffb6cfae87b5e1
Patches: 1
1: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon2-leon3.diff
sha512: a16859b5badbce8ecbc9259553b2abe7e93b4fb8ab899e18e8ddb294a1433f49df8ddee418bb6ab55dc2402e5ad6aca6274fb9e8b53278574f269a555fdeddcf
2: https://devel.rtems.org/raw-attachment/ticket/3460/gdb-8.0.1-sis-leon3-smp.diff
sha512: 1d086c656e6c240eee721f0f4a5cd43d4bbd29feff2ac22e6e56b6953c6390438976180575c0888c38a000c5ed6c8276479e9620315fdd6a6455214218ecbb78
Preparation:
build_top=$(pwd)
gdb_source="gdb-8.0.1"
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 "sparc-rtems5" -o "x86_64-linux-gnu" == "sparc-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
GDB_LIBS_STATIC="-lexpat"
else
GDB_LIBS_STATIC="-lexpat"
GDB_LIBS="-Xlinker -Bstatic ${LIBS_STATIC} -Xlinker -Bdynamic"
fi
LIBS_STATIC=${GDB_LIBS_STATIC} \
LIBS=${GDB_LIBS} \
../${source_dir_gdb}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=sparc-rtems5 \
--verbose --disable-nls \
--disable-gas --disable-binutils --disable-ld --disable-gold --disable-gprof \
\
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--enable-sim \
\
--without-zlib \
--with-expat \
--with-guile=no \
--with-python=/usr/bin/python2 \
--prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
--exec-prefix=/home/joel/rtems-work/tools/5 \
--includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
--mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
make -j 12 all
cd ${build_top}
Install:
build_top=$(pwd)
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 11:48:36 2019
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
Config: tools/rtems-binutils-2.31.1.cfg
Summary:
Binutils v2.31.1 for target sparc-rtems5 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
2.31.1
Release:
1
Sources: 1
1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.bz2
sha512: b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.31.1"
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 "sparc-rtems5" -o "x86_64-linux-gnu" == "sparc-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
../${source_dir_binutils}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=sparc-rtems5 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
--exec-prefix=/home/joel/rtems-work/tools/5 \
--includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
--mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
make -j 12 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-windmc*
fi
cd ${build_top}
==============================================================================
RTEMS Tools Project <users at rtems.org> Tue Jan 22 11:48:36 2019
==============================================================================
Report: tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
RTEMS Source Builder Repository Status
Remotes:
1: origin: ssh://joel@dispatch.rtems.org/data/git/rtems-source-builder.git
Status:
Clean
Head:
Commit: 0bb29a38fb73342c3c25c6917884e08f7386a6f4
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (1) tools/rtems-binutils-2.31.1.cfg
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Build Set: (2) tools/rtems-binutils-2.31.1.cfg
------------------------------------------------------------------------------
Package: sparc-rtems5-binutils-2.31.1-x86_64-linux-gnu-1
Config: tools/rtems-binutils-2.31.1.cfg
Summary:
Binutils v2.31.1 for target sparc-rtems5 on host x86_64-linux-gnu
URL:
http://sources.redhat.com/binutils
Version:
2.31.1
Release:
1
Sources: 1
1: ftp://ftp.gnu.org/gnu/binutils/binutils-2.31.1.tar.bz2
sha512: b42954e6f49a0adcd2676bdd77dfb59bfc25cec8184b007521d1e2b1d5d0593b58639e3d9448d5a40fe024c3cea386a37743627d6bb16d502f52a4a32b9573bd
Patches: 0
Preparation:
build_top=$(pwd)
binutils_source="binutils-2.31.1"
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 "sparc-rtems5" -o "x86_64-linux-gnu" == "sparc-rtems5" ; then
build_dir="build-xc"
else
build_dir="build-cxc"
fi
else
build_dir="build"
fi
mkdir -p ${build_dir}
cd ${build_dir}
# Host and build flags, Cross build if host and build are different and
# Cxc build if target is deifned and also different.
# Note, gcc is not ready to be compiled with -std=gnu99 (this needs to be checked).
if test "x86_64-linux-gnu" != "x86_64-linux-gnu" ; then
# Cross build
CC=$(echo "x86_64-linux-gnu-gcc" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "x86_64-linux-gnu-g++" | sed -e 's,-std=gnu99 ,,')
CPPFLAGS="${SB_HOST_CPPFLAGS}"
CFLAGS="${SB_HOST_CFLAGS}"
CXXFLAGS="${SB_HOST_CXXFLAGS}"
LDFLAGS="${SB_HOST_LDFLAGS}"
# Host
CPPFLAGS_FOR_HOST="${SB_HOST_CPPFLAGS}"
CFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CXXFLAGS}"
LDFLAGS_FOR_HOST="${SB_HOST_LDFLAGS}"
CXXFLAGS_FOR_HOST="${SB_HOST_CFLAGS}"
CC_FOR_HOST=$(echo "gcc ${SB_HOST_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_HOST=$(echo "g++ ${SB_HOST_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
# Build
CFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CXXFLAGS}"
LDFLAGS_FOR_BUILD="${SB_BUILD_LDFLAGS}"
CXXFLAGS_FOR_BUILD="${SB_BUILD_CFLAGS}"
CC_FOR_BUILD=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX_FOR_BUILD=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
else
LDFLAGS="${SB_BUILD_LDFLAGS}"
CC=$(echo "gcc ${SB_BUILD_CFLAGS}" | sed -e 's,-std=gnu99 ,,')
CXX=$(echo "g++ ${SB_BUILD_CXXFLAGS}" | sed -e 's,-std=gnu99 ,,')
CC_FOR_BUILD=${CC}
CXX_FOR_BUILD=${CXX}
fi
export CC CXX CPPFLAGS CFLAGS CXXFLAGS LDFLAGS
export CC_FOR_HOST CXX_FOR_HOST CPPFLAGS_FOR_HOST CFLAGS_FOR_HOST CXXFLAGS_FOR_HOST LDFLAGS_FOR_HOST
export CC_FOR_BUILD CXX_FOR_BUILD CFLAGS_FOR_BUILD CXXFLAGS_FOR_BUILD LDFLAGS_FOR_BUILD
../${source_dir_binutils}/configure \
--build=x86_64-linux-gnu --host=x86_64-linux-gnu \
--target=sparc-rtems5 \
--verbose --disable-nls \
--disable-gdb --disable-libdecnumber --disable-readline --disable-sim \
--enable-deterministic-archives \
--enable-64-bit-bfd \
\
--disable-lto \
--without-included-gettext \
--disable-win32-registry \
--disable-werror \
--prefix=/home/joel/rtems-work/tools/5 --bindir=/home/joel/rtems-work/tools/5/bin \
--exec-prefix=/home/joel/rtems-work/tools/5 \
--includedir=/home/joel/rtems-work/tools/5/include --libdir=/home/joel/rtems-work/tools/5/lib \
--mandir=/home/joel/rtems-work/tools/5/share/man --infodir=/home/joel/rtems-work/tools/5/share/info
make -j 12 all
cd ${build_top}
Install:
cd ${build_top}
/bin/rm -rf $SB_BUILD_ROOT
cd ${build_dir}
make DESTDIR=$SB_BUILD_ROOT install
/bin/rm -rf $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/configure.info*
/bin/rm -f $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
touch $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/info/dir
mkdir -p $SB_BUILD_ROOT/home/joel/rtems-work/tools/5/share/locale
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/lib/libiberty*
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-dlltool; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-dlltool*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-nlmconv; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-nlmconv*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-windres; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-windres*
fi
if test ! -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/bin/sparc-rtems5-windmc; then
/bin/rm -f ${SB_BUILD_ROOT}/home/joel/rtems-work/tools/5/share/man/man1/sparc-rtems5-windmc*
fi
cd ${build_top}
More information about the build
mailing list