bootstrap problem on Solaris 2.7

Martin Kahlert martin.kahlert@infineon.com
Tue Dec 11 23:54:00 GMT 2001


Hi!
I tried to bootstrap the ss gcc-20011210.tar.gz on a Solaris 2.7 box.
I used these commands:
$ prefix=/home/kahlert/GCC
$ ../gcc-20011210/configure --prefix=${prefix} --enable-languages=c++,f77,java \
  --enable-threads=posix --with-gnu-as --with-gnu-ld
gmake


This results in this error:
gmake[2]: Entering directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/libiberty/testsuite'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/libiberty/testsuite'
gmake[2]: Entering directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/libiberty'
if [ -z "sparcv9" ]; then \
  true; \
else \
  rootpre=`pwd`/; export rootpre; \
  srcrootpre=`cd ../../../gcc-20011210/libiberty; pwd`/; export srcrootpre; \
  lib=`echo ${rootpre} | sed -e 's,^.*/\([^/][^/]*\)/$,\1,'`; \
  compiler="/data/titan_1/kahlert/TTT/obj/gcc/xgcc -B/data/titan_1/kahlert/TTT/obj/gcc/ -B/home/kahlert/GCC/sparc-sun-solaris2.7/bin/ -B/home/kahlert/GCC/sparc-sun-solaris2.7/lib/ -isystem /home/kahlert/GCC/sparc-sun-solaris2.7/include"; \
  for i in `${compiler} --print-multi-lib 2>/dev/null`; do \
    dir=`echo $i | sed -e 's/;.*$//'`; \
    if [ "${dir}" = "." ]; then \
      true; \
    else \
      if [ -d ../${dir}/${lib} ]; then \
	flags=`echo $i | sed -e 's/^[^;]*;//' -e 's/@/ -/g'`; \
	if (cd ../${dir}/${lib}; gmake "AR=ar" "AR_FLAGS=rc" "CC=/data/titan_1/kahlert/TTT/obj/gcc/xgcc -B/data/titan_1/kahlert/TTT/obj/gcc/ -B/home/kahlert/GCC/sparc-sun-solaris2.7/bin/ -B/home/kahlert/GCC/sparc-sun-solaris2.7/lib/ -isystem /home/kahlert/GCC/sparc-sun-solaris2.7/include" "CFLAGS=-g -O2" "LIBCFLAGS=-g -O2" "EXTRA_OFILES=" "HDEFINES=" "INSTALL=/bin/sh /data/titan_1/kahlert/TTT/gcc-20011210/install-sh -c" "INSTALL_DATA=/bin/sh /data/titan_1/kahlert/TTT/gcc-20011210/install-sh -c -m 644" "INSTALL_PROGRAM=/bin/sh /data/titan_1/kahlert/TTT/gcc-20011210/install-sh -c " "LDFLAGS=" "LOADLIBES=" "RANLIB=true" "SHELL=/bin/sh" "prefix=/home/kahlert/GCC" "exec_prefix=/home/kahlert/GCC" "libdir=/home/kahlert/GCC/lib" "libsubdir=/home/kahlert/GCC/lib/gcc-lib/sparc-sun-solaris2.7/3.1" "tooldir=/home/kahlert/GCC/sparc-sun-solaris2.7" \
			CFLAGS="-g -O2 ${flags}" \
			prefix="/home/kahlert/GCC" \
			exec_prefix="/home/kahlert/GCC" \
			GCJFLAGS=" ${flags}" \
			CXXFLAGS="-g -O2 ${flags}" \
			LIBCFLAGS="-g -O2 ${flags}" \
			LIBCXXFLAGS="-g -O2 -fno-implicit-templates ${flags}" \
			LDFLAGS=" ${flags}" \
			all); then \
	  true; \
	else \
	  exit 1; \
	fi; \
      else true; \
      fi; \
    fi; \
  done; \
fi
gmake[3]: Entering directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/sparcv9/libiberty'
gmake[3]: *** No rule to make target `all'.  Stop.
gmake[3]: Leaving directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/sparcv9/libiberty'
gmake[2]: *** [multi-do] Error 1
gmake[2]: Leaving directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/libiberty'
gmake[1]: *** [all] Error 2
gmake[1]: Leaving directory `/data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/libiberty'
gmake: *** [install-target-libiberty] Error 2



$ ls /data/titan_1/kahlert/TTT/obj/sparc-sun-solaris2.7/sparcv9/libiberty
confdefs.h
config.log
xhost-mkfrag


What did i do wrong?
These commands usually work on my Linux box without any problems.

Thanks for any help,
Martin.


-- 
The early bird catches the worm. If you want something else for       
breakfast, get up later.



More information about the Gcc-bugs mailing list