This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: g++ make check failure on sparc-sun-solaris2.8
- To: zackw at stanford dot edu (Zack Weinberg)
- Subject: Re: g++ make check failure on sparc-sun-solaris2.8
- From: Brad Lucier <lucier at math dot purdue dot edu>
- Date: Sat, 31 Mar 2001 15:37:23 -0500 (EST)
- Cc: lucier at math dot purdue dot edu, gcc-bugs at gcc dot gnu dot org
This doesn't fix it, the problem is the same; the problem seems to involve the line
"foreach test_name [lsort [find ${dir} *.exp]] {
if { ${test_name} == "" } {
continue
}
# Ignore this one if asked to.
if { ${ignore..."
Brad
>
> On Sat, Mar 31, 2001 at 11:40:52AM -0500, lucier@math.purdue.edu wrote:
> > I've managed to get 3.1 to build on sparc-sun-solaris2.8; now the
> > g++ make check fails, perhaps because of Solaris's lame /bin/sh.
> > Anyway, here is the entry from check.log:
> ...
> > /export/home/lucier/gcc/objdir/sparc-sun-solaris2.8//libstdc++-v3/tests_flags:
> test: unknown operator ==
>
> == is a bashism. Try:
>
> ===================================================================
> Index: libstdc++-v3/tests_flags.in
> --- libstdc++-v3/tests_flags.in 2001/03/30 21:59:12 1.16
> +++ libstdc++-v3/tests_flags.in 2001/03/31 16:52:41
> @@ -108,7 +108,7 @@ case ${query} in
> -I${SRC_DIR}/include/std -I${SRC_DIR}/include/$C_DIR
> -I${SRC_DIR}/libsupc++ -I${SRC_DIR}/libio
> -I${SRC_DIR}/testsuite"
> - if test x@xcompiling@ == x1; then
> + if test x@xcompiling@ = x1; then
> INCLUDES="${INCLUDES} -I${SRC_DIR}/../newlib/libc/include"
> fi
> ;;
>
> zw
>