This is the mail archive of the gcc@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]

Bootstrap failing on sparc-sun-solaris2.6


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

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