This is the mail archive of the gcc-bugs@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 format: [Raw text]

[Bug bootstrap/27501] New: Shell compatibility problem


gmake[3]: Entering directory `/usr/local/scratch/obj/gcc-4.2/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h" DEFINES="USE_COLLECT2" \
/bin/sh ../../../src/gcc-4.2/gcc/mkconfig.sh config.h
../../../src/gcc-4.2/gcc/mkconfig.sh: test: unknown operator ==
gmake[3]: *** [cs-config.h] Error 1


This test only knows operator '='

# sh         
# bar=foo
# test x"$bar" == baz ; echo $?
test: unknown operator ==
# test x"$bar" = baz ; echo $?
1
# test x"$bar" = x"foo" ; echo $?
0


-- 
           Summary: Shell compatibility problem
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: aldot at gcc dot gnu dot org
 GCC build triplet: alphaev56-dec-osf5.1a
  GCC host triplet: alphaev56-dec-osf5.1a
GCC target triplet: alphaev56-dec-osf5.1a


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27501


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