This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Bootstrap failing on sparc-sun-solaris2.6
- To: gcc at gcc dot gnu dot org
- Subject: Bootstrap failing on sparc-sun-solaris2.6
- From: Branko Čibej <branko dot cibej at hermes dot si>
- Date: Fri, 19 May 2000 09:20:33 +0200
- Organization: HERMES SoftLab
Hi,
Lately I've been getting the following error from bootstrap:
$ make bootstrap
make[1]: Entering directory `/home/brane/eval/gcc/build/OBJ/libiberty'
if [ x"`case "-g -O1 -g -O1 -fno-implicit-templates" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`" != x ] && [ ! -d pic ]; then \
mkdir pic; \
else true; fi
/bin/sh: syntax error at line 1: `end of file' unexpected
make[1]: *** [stamp-picdir] Error 2
make[1]: Leaving directory `/home/brane/eval/gcc/build/OBJ/libiberty'
make: *** [all-libiberty] Error 2
It goes away if I change confug/mh-sparcpic like this:
-PICFLAG=`case "${LIBCFLAGS} ${LIBCXXFLAGS}" in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`
+PICFLAG=`case '${LIBCFLAGS} ${LIBCXXFLAGS}' in *-fpic* ) echo -fpic ;; * ) echo -fPIC ;; esac`
But this can't be causing the problem, because mh-sparcpic has
been there for ages. Could someone please enlighten me?
Brane
--
Branko Čibej <branko.cibej@hermes.si>
HERMES SoftLab, Litijska 51, 1000 Ljubljana, Slovenia
voice: (+386 1) 586 53 49 fax: (+386 1) 586 52 70