This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFE: long overdue method to indicate bootstrap success


> > I see "Error 2" as the last line of output.
> 
> It's not, it means something failed. Have you tried redirecting the
> output (both stdout and stderr) to a file and seeing what failed?

After some mad grepping to locate an "error" that was not normally to be found in the output .. I finally found this about 3600 lines into the log. I am guessing that is still in stage 2 : 

[ line numbers added with cat -n - ]

  3618  /usr/local/gcc4/bin/g++   -g -DIN_GCC   -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwri
te-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common 
 -DHAVE_CONFIG_H -static-libstdc++ -static-libgcc  -o xg++ \
  3619    gcc.o ggc-none.o g++spec.o driver-sparc.o  libcommon-target.a \
  3620    -lkstat  libcommon.a ../libcpp/libcpp.a  -liconv ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnu
mber/libdecnumber.a 
  3621  /usr/local/build/gcc-4.8.0-RC-20130316_sparc64-sun-solaris2.10.001/./gcc/xgcc -B/usr/local/build/gcc-4.8.0-RC-20130316_sparc
64-sun-solaris2.10.001/./gcc/ -dumpspecs > tmp-specs
  3622  mv tmp-specs specs
  3623  : > tmp-libgcc.mvars
  3624  echo | /usr/local/build/gcc-4.8.0-RC-20130316_sparc64-sun-solaris2.10.001/./gcc/xgcc -B/usr/local/build/gcc-4.8.0-RC-2013031
6_sparc64-sun-solaris2.10.001/./gcc/ -E -dM - | \
  3625    sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
  3626           -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
  3627    sort -u > tmp-macro_list
  3628  if /usr/local/build/gcc-4.8.0-RC-20130316_sparc64-sun-solaris2.10.001/./gcc/xgcc -B/usr/local/build/gcc-4.8.0-RC-20130316_sp
arc64-sun-solaris2.10.001/./gcc/ -print-sysroot-headers-suffix > /dev/null 2>&1; then \
  3629    set -e; for ml in `/usr/local/build/gcc-4.8.0-RC-20130316_sparc64-sun-solaris2.10.001/./gcc/xgcc -B/usr/local/build/gcc-4.
8.0-RC-20130316_sparc64-sun-solaris2.10.001/./gcc/ -print-multi-lib`; do \
  3630      multi_dir=`echo ${ml} | sed -e 's/;.*$//'`; \
  3631      flags=`echo ${ml} | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
  3632      sfx=`/usr/local/build/gcc-4.8.0-RC-20130316_sparc64-sun-solaris2.10.001/./gcc/xgcc -B/usr/local/build/gcc-4.8.0-RC-20130
316_sparc64-sun-solaris2.10.001/./gcc/ ${flags} -print-sysroot-headers-suffix`; \
  3633      if [ "${multi_dir}" = "." ]; \
  3634        then multi_dir=""; \
  3635      else \
  3636        multi_dir=/${multi_dir}; \
  3637      fi; \
  3638      echo "${sfx};${multi_dir}"; \
  3639    done; \
  3640  else \
  3641    echo ";"; \
  3642  fi > tmp-fixinc_list
  3643  echo GCC_CFLAGS = '-g -O2 -DIN_GCC   -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-proto
types -Wold-style-definition  -isystem ./include ' >> tmp-libgcc.mvars
  3644  echo INHIBIT_LIBC_CFLAGS = '' >> tmp-libgcc.mvars
  3645  xgcc: error trying to exec 'cc1': execvp: echo TARGET_SYSTEM_ROOT = '' >> tmp-libgcc.mvars
  3646  No such file or directory

So it looks like cc1 is missing somewhere in stage 2. 

That is my guess.

dc


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]