Unable to complete the Hello World program

Denil Verghese denilcv3 at gmail.com
Sun Mar 1 08:56:28 UTC 2020


Hi,
    I'm Denil C Verghese and I like to be a part contribute to this
organization as well as participate in upcoming GSoC program. I have
checked the Wiki entries related to GSoC. But I'm facing some error in
completing the quick start guide.

Problem: Build failed when executing  *sb-set-builder *from this
<https://docs.rtems.org/branches/master/user/start/tools.html#install-the-tool-suite>
page
Log file is attached with this email.

It would great if someone could help me with this issue. Thank you
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20200301/33eb0aec/attachment-0001.html>
-------------- next part --------------
RTEMS Tools Project - Source Builder Error Report
 Build: error: building sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1
 Command Line: ../source-builder/sb-set-builder --prefix=/root/quick-start/rtems/5 5/rtems-sparc
 Python: 3.7.6 (default, Jan 30 2020, 09:44:41) [GCC 9.2.1 20190827 (Red Hat 9.2.1-1)]
 git://git.rtems.org/rtems-source-builder.git/origin/7d56629f838d3d7cf55845825adfd3341fc2cbc4
 Linux 72550eba386d 5.4.17-200.fc31.x86_64 #1 SMP Sat Feb 1 19:00:13 UTC 2020 x86_64
Tail of the build log:
checking whether we are using gold... no
checking gold linker with split stack support as non default... 
checking what linker to use... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-ld
checking for sparc-rtems5-nm... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-nm
checking what nm to use... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-nm
checking for sparc-rtems5-objdump... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-objdump
checking what objdump to use... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-objdump
checking for sparc-rtems5-readelf... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-readelf
checking what readelf to use... /rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/bin/sparc-rtems5-readelf
checking assembler flags...  
checking assembler for .balign and .p2align... yes
checking assembler for .p2align with maximum skip... yes
checking assembler for .literal16... no
checking assembler for working .subsection -1... yes
checking assembler for .weak... yes
checking assembler for .weakref... yes
checking assembler for .nsubspa comdat... no
checking assembler for .hidden... yes
checking linker for .hidden support... yes
checking linker read-only and read-write section mixing... read-write
checking for .preinit_array/.init_array/.fini_array support... checking cross compile... guessing... no
checking assembler for .sleb128 and .uleb128... yes
checking assembler for cfi directives... yes
checking assembler for working cfi advance... yes
checking assembler for cfi personality directive... yes
checking assembler for cfi sections directive... yes
checking assembler for eh_frame optimization... buggy
checking assembler for section merging support... yes
checking assembler for stabs directive... yes
checking assembler for COMDAT group support (GNU as)... yes
checking assembler for line table discriminator support... yes
checking assembler for thread-local storage support... yes
checking linker -Bstatic/-Bdynamic option... yes
checking linker --demangle support... yes
checking linker plugin support... 0
checking assembler for .register... yes
checking assembler for -relax option... yes
checking assembler for GOTDATA_OP relocs... yes
checking assembler for unaligned pcrel relocs... yes
checking assembler for unaligned pcrel relocs against hidden symbols... yes
checking assembler for offsetable %lo()... no
checking assembler for FMAF, HPC, and VIS 3.0 instructions... no
checking assembler for SPARC4 instructions... yes
checking assembler for SPARC5 and VIS 4.0 instructions... yes
checking assembler for SPARC6 instructions... yes
checking assembler for LEON instructions... yes
checking assembler for dwarf2 debug_line support... yes
checking assembler for buggy dwarf2 .file directive... no
checking assembler for --gdwarf2 option... yes
checking assembler for --gstabs option... yes
checking assembler for --debug-prefix-map option... yes
checking assembler for compressed debug sections... 2
checking assembler for .lcomm with alignment... no
checking for target glibc version... 0.0
checking assembler for gnu_unique_object... yes
checking assembler for tolerance to line number 0... yes
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 sparc-unknown-rtems5.
gcc_driver_version: 7.5.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 -- 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 '/rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-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... TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-7.5.0/gcc/mkconfig.sh config.h
TARGET_CPU_DEFAULT="TARGET_CPU_v7" \
HEADERS="options.h insn-constants.h config/vxworks-dummy.h config/sparc/sparc.h config/dbxelf.h config/elfos.h config/sparc/sysv4.h config/sparc/sp-elf.h config/sparc/rtemself.h config/rtems.h config/newlib-stdint.h config/initfini-array.h defaults.h" DEFINES="LIBC_GLIBC=1 LIBC_UCLIBC=2 LIBC_BIONIC=3 LIBC_MUSL=4" \
/bin/sh ../../gcc-7.5.0/gcc/mkconfig.sh tm.h
TARGET_CPU_DEFAULT="" \
HEADERS="config/sparc/sparc-protos.h tm-preds.h" DEFINES="" \
/bin/sh ../../gcc-7.5.0/gcc/mkconfig.sh tm_p.h
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="" \
/bin/sh ../../gcc-7.5.0/gcc/mkconfig.sh bconfig.h
x86_64-pc-linux-gnu
checking target system type... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
-DBASEVER="\"7.5.0\"" -DDATESTAMP="\" 20191114\"" \
-DREVISION="\"\"" \
-DDEVPHASE="\" (RTEMS 5, RSB 5 (7d56629f838d), Newlib fbaa096)\"" -DPKGVERSION="\"(GCC) \"" \
-DBUGURL="\"<https://gcc.gnu.org/bugs/>\"" -o build/version.o ../../gcc-7.5.0/gcc/version.c
LC_ALL=C ; export LC_ALL ; \
gawk -f ../../gcc-7.5.0/gcc/opt-gather.awk ../../gcc-7.5.0/gcc/ada/gcc-interface/lang.opt ../../gcc-7.5.0/gcc/brig/lang.opt ../../gcc-7.5.0/gcc/fortran/lang.opt ../../gcc-7.5.0/gcc/go/lang.opt ../../gcc-7.5.0/gcc/lto/lang.opt ../../gcc-7.5.0/gcc/c-family/c.opt ../../gcc-7.5.0/gcc/common.opt ../../gcc-7.5.0/gcc/config/sparc/sparc.opt ../../gcc-7.5.0/gcc/config/rtems.opt > tmp-optionlist
sparc-unknown-rtems5
checking for x86_64-linux-gnu-gcc... gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include
checking for C compiler default output file name... /bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-gi.list gtyp-input.list
echo "#define BUILDING_GCC_MAJOR `echo 7.5.0 | sed -e 's/^\([0-9]*\).*$/\1/'`" > bversion.h
if test yes = yes \
   || test -n ""; then \
  /bin/sh ../../gcc-7.5.0/gcc/genmultilib \
    "msoft-float mcpu=v8/mcpu=leon3/mcpu=leon3v7/mcpu=leon mfix-ut699/mfix-at697f/mfix-gr712rc" \
    "soft v8 leon3 leon3v7 leon ut699 at697f gr712rc" \
    "msoft-float=mno-fpu mfix-gr712rc=mfix-ut700" \
    "" \
    "" \
    "" \
    "" \
    " msoft-float mcpu=v8 mcpu=leon3 mcpu=leon3v7 mcpu=leon mcpu=leon3/mfix-gr712rc mcpu=leon3v7/mfix-gr712rc mcpu=leon/mfix-ut699 mcpu=leon/mfix-at697f msoft-float/mcpu=v8 msoft-float/mcpu=leon3 msoft-float/mcpu=leon3v7 msoft-float/mcpu=leon msoft-float/mcpu=leon3/mfix-gr712rc msoft-float/mcpu=leon3v7/mfix-gr712rc msoft-float/mcpu=leon/mfix-ut699 msoft-float/mcpu=leon/mfix-at697f" \
    "" \
    "" \
    "yes" \
    > tmp-mlib.h; \
else \
  /bin/sh ../../gcc-7.5.0/gcc/genmultilib '' '' '' '' '' '' '' '' \
    "" '' no \
    > tmp-mlib.h; \
fi
echo "#define BUILDING_GCC_MINOR `echo 7.5.0 | sed -e 's/^[0-9]*\.\([0-9]*\).*$/\1/'`" >> bversion.h
lsf="../../gcc-7.5.0/gcc/cp/lang-specs.h"; for f in $lsf; do \
    echo "#include \"$f\""; \
done | sed 's|../../gcc-7.5.0/gcc/||' > tmp-specs.h
rm -f tmp-all-tree.def
echo timestamp > s-gtyp-input
echo "#define BUILDING_GCC_PATCHLEVEL `echo 7.5.0 | sed -e 's/^[0-9]*\.[0-9]*\.\([0-9]*\)$/\1/'`" >> bversion.h
/bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-specs.h specs.h
echo '#include "tree.def"' > tmp-all-tree.def
gawk -f ../../gcc-7.5.0/gcc/gen-pass-instances.awk \
  ../../gcc-7.5.0/gcc/passes.def ../../gcc-7.5.0/gcc/config/sparc/sparc-passes.def > pass-instances.def
gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include -E ../../gcc-7.5.0/gcc/params-list.h | sed 's/^#.*//;/^$/d' > tmp-params.list
echo 'END_OF_BASE_TREE_CODES' >> tmp-all-tree.def
echo "#define BUILDING_GCC_VERSION (BUILDING_GCC_MAJOR * 1000 + BUILDING_GCC_MINOR)" >> bversion.h
echo '#include "c-family/c-common.def"' >> tmp-all-tree.def
echo timestamp > s-specs
ltf="../../gcc-7.5.0/gcc/ada/gcc-interface/ada-tree.def ../../gcc-7.5.0/gcc/cp/cp-tree.def ../../gcc-7.5.0/gcc/objc/objc-tree.def"; for f in $ltf; do \
  echo "#include \"$f\""; \
done | sed 's|../../gcc-7.5.0/gcc/||' >> tmp-all-tree.def
echo timestamp > s-bversion
gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include -E ../../gcc-7.5.0/gcc/params-options.h | sed 's/^#.*//;/^$/d' > tmp-params.options
/bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-params.list params.list
/bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-all-tree.def all-tree.def
echo "g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/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 -L/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/lib" > checksum-options.tmp \
&& ../../gcc-7.5.0/gcc/../move-if-change checksum-options.tmp checksum-options
a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... /bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-params.options params.options
echo timestamp > s-params.list
echo timestamp > s-alltree
cp ../../gcc-7.5.0/gcc/gcc-ar.c gcc-nm.c
cp ../../gcc-7.5.0/gcc/gcc-ar.c gcc-ranlib.c

checking for suffix of object files... TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USED_FOR_TARGET " \
/bin/sh ../../gcc-7.5.0/gcc/mkconfig.sh tconfig.h
echo timestamp > s-params.options
(echo "@set version-GCC 7.5.0"; \
 if [ "RTEMS 5, RSB 5 (7d56629f838d), Newlib fbaa096" = "experimental" ]; \
 then echo "@set DEVELOPMENT"; \
 else echo "@clear DEVELOPMENT"; \
 fi) > gcc-vers.texiT
echo @set srcdir /rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/build/gcc/../../gcc-7.5.0/gcc >> gcc-vers.texiT
if [ -n "(GCC) " ]; then \
  echo "@set VERSION_PACKAGE (GCC) " >> gcc-vers.texiT; \
fi
echo "@set BUGURL @uref{https://gcc.gnu.org/bugs/}" >> gcc-vers.texiT; \
mv -f gcc-vers.texiT gcc-vers.texi
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/genhooks.o ../../gcc-7.5.0/gcc/genhooks.c
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/genchecksum.o ../../gcc-7.5.0/gcc/genchecksum.c
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/inchash.o ../../gcc-7.5.0/gcc/inchash.c
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/genenums.o ../../gcc-7.5.0/gcc/genenums.c
o
checking whether we are using the GNU C compiler... if [ xinfo = xinfo ]; then \
	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.5.0/gcc/doc \
		-I ../../gcc-7.5.0/gcc/doc/include -o doc/cpp.info ../../gcc-7.5.0/gcc/doc/cpp.texi; \
fi
yes
checking whether gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include accepts -g... yes
checking for gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include option to accept ISO C89... none needed
checking how to run the C preprocessor... if [ xinfo = xinfo ]; then \
	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.5.0/gcc/doc \
		-I ../../gcc-7.5.0/gcc/doc/include -o doc/gcc.info ../../gcc-7.5.0/gcc/doc/gcc.texi; \
fi
gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include -E
if [ xinfo = xinfo ]; then \
	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I ../../gcc-7.5.0/gcc/doc \
		-I ../../gcc-7.5.0/gcc/doc/include -o doc/gccinstall.info ../../gcc-7.5.0/gcc/doc/install.texi; \
fi
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... if [ xinfo = xinfo ]; then \
	makeinfo --split-size=5000000 --split-size=5000000 --no-split -I . -I ../../gcc-7.5.0/gcc/doc \
		-I ../../gcc-7.5.0/gcc/doc/include -o doc/cppinternals.info ../../gcc-7.5.0/gcc/doc/cppinternals.texi; \
fi
/bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-optionlist optionlist
echo timestamp > s-options
echo timestamp > gcc.pod
perl ../../gcc-7.5.0/gcc/../contrib/texi2pod.pl ../../gcc-7.5.0/gcc/doc/invoke.texi > gcc.pod
yes
checking for sys/types.h... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/genmddeps.o ../../gcc-7.5.0/gcc/genmddeps.c
yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/read-md.o ../../gcc-7.5.0/gcc/read-md.c
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__... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/errors.o ../../gcc-7.5.0/gcc/errors.c
yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/genmodes.o ../../gcc-7.5.0/gcc/genmodes.c
/bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-mlib.h multilib.h
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/gengtype.o ../../gcc-7.5.0/gcc/gengtype.c
echo timestamp > s-mlib
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/gengtype-lex.o ../../gcc-7.5.0/gcc/gengtype-lex.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.5.0/gcc-7.5.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.5.0/gcc-7.5.0/gcc/gengtype-lex.l:117:1: note: in expansion of macro 'YY_DO_BEFORE_ACTION'
/space/rguenther/gcc-7.5.0/gcc-7.5.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.5.0/gcc-7.5.0/gcc/gengtype-lex.l:134:1: note: in expansion of macro 'YY_DO_BEFORE_ACTION'
/space/rguenther/gcc-7.5.0/gcc-7.5.0/gcc/gengtype-lex.l:131:1: note: here
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/gengtype-parse.o ../../gcc-7.5.0/gcc/gengtype-parse.c
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 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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... 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 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include object... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/gengtype-state.o ../../gcc-7.5.0/gcc/gengtype-state.c
ok
/rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/gcc-7.5.0/libcc1/configure: line 6298: /usr/bin/file: No such file or directory
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/genconstants.o ../../gcc-7.5.0/gcc/genconstants.c
checking for dlfcn.h... yes
checking for objdir... .libs
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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.5.0/gcc -I../../gcc-7.5.0/gcc/build -I../../gcc-7.5.0/gcc/../include  -I../../gcc-7.5.0/gcc/../libcpp/include  \
	-o build/gengenrtl.o ../../gcc-7.5.0/gcc/gengenrtl.c
checking if gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include supports -fno-rtti -fno-exceptions... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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 -L/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/lib -no-pie -o build/genhooks \
    build/genhooks.o build/errors.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
/rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/gcc-7.5.0/libcc1/configure: line 7546: diff: command not found
no
checking for gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include option to produce PIC... -fPIC -DPIC
checking if gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include PIC flag -fPIC -DPIC works... yes
checking if gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include static flag -static works... no
checking if gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include supports -c -o file.o... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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 -L/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/lib -no-pie -o build/genchecksum \
    build/genchecksum.o ../build-x86_64-linux-gnu/libiberty/libiberty.a
g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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 -L/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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
yes
checking if gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include supports -c -o file.o... (cached) yes
checking whether the gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include linker (ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... gawk -f ../../gcc-7.5.0/gcc/opt-functions.awk -f ../../gcc-7.5.0/gcc/opt-read.awk \
       -f ../../gcc-7.5.0/gcc/optc-save-gen.awk \
       -v header_name="config.h system.h coretypes.h tm.h" < optionlist > options-save.c
gawk -f ../../gcc-7.5.0/gcc/opt-functions.awk -f ../../gcc-7.5.0/gcc/opt-read.awk \
       -f ../../gcc-7.5.0/gcc/optc-gen.awk \
       -v header_name="config.h system.h coretypes.h options.h tm.h" < optionlist > options.c
build/genhooks -d \
		../../gcc-7.5.0/gcc/doc/tm.texi.in > tmp-tm.texi
echo timestamp > doc/gcc.1
(pod2man --center="GNU" --release="gcc-7.5.0" --date=2019-11-14 --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)
no
checking dynamic linker characteristics... 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
mv tmp2-tm.texi tmp-tm.texi
/bin/sh ../../gcc-7.5.0/gcc/../move-if-change tmp-tm.texi tm.texi
/bin/sh: cmp: command not found

Verify that you have permission to grant a GFDL license for all
new text in tm.texi, then copy it to ../../gcc-7.5.0/gcc/doc/tm.texi.
make[2]: *** [Makefile:2435: s-tm-texi] Error 1
make[2]: *** Waiting for unfinished jobs....
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 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include accepts -g... yes
checking dependency style of g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include... gcc3
checking how to run the C++ preprocessor... g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include -E
checking for ld used by g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include... ld
checking if the linker (ld) is GNU ld... yes
checking whether the g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include linker (ld) supports shared libraries... yes
checking for g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include option to produce PIC... -fPIC -DPIC
checking if g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include PIC flag -fPIC -DPIC works... yes
checking if g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include static flag -static works... no
checking if g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include supports -c -o file.o... yes
checking if g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include supports -c -o file.o... (cached) yes
checking whether the g++ -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include linker (ld) 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 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/5/include supports -W... yes
checking whether gcc -O2 -g -pipe -I/rtems/src/rsb/rtems/build/tmp/sb-0/5/rtems-sparc/root/quick-start/rtems/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 '/rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/build/gcc'
make[1]: *** [Makefile:4236: all-gcc] Error 2
make[1]: Leaving directory '/rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/build'
make: *** [Makefile:900: all] Error 2
shell cmd failed: /bin/sh -ex  /rtems/src/rsb/rtems/build/sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1/do-build
error: building sparc-rtems5-gcc-7.5.0-newlib-fbaa096-x86_64-linux-gnu-1


More information about the devel mailing list