This is the mail archive of the gcc-prs@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/230: CVS GCC fails to build on Sparc-solaris-2.7



>Number:         230
>Category:       other
>Synopsis:       CVS GCC fails to build on Sparc-solaris-2.7
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon May 22 04:06:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     anthony_w.geo@yahoo.com
>Release:        CVS 22-May-2000
>Organization:
>Environment:
Sparc-solaris-2.7
>Description:
'make bootstrap' fails with the following error:

...src/cvsbuild>make bootstrap
make[1]: Entering directory `/work/egcs/src/cvsbuild/libiberty'
if [ x"`case "-g -O2 -g -O2 -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 `/work/egcs/src/cvsbuild/libiberty'
make: *** [all-libiberty] Error 2

It appears that the PICFLAG variable is being expanded into the if, rather than being executed, and is consequently causing the statement to fail due to the extra quotes.
>How-To-Repeat:
../cvs/gcc/configure --enable-threads=posix --prefix=/work/egcs/cvstest --enable-libstdcxx-v3 --enable-shared
make bootstrap
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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