Ubuntu 9.04 (Jaunty) x86-64 system builds gcc-4.4.0 just fine.  Just used
../gcc-4.4.0/configure --prefix=/opt/pkg/gcc-4.4.0 to build.

Make clean results in:

true "AR_FLAGS=" "CC_FOR_BUILD=" "CFLAGS=-g -O2" "CXXFLAGS="
"CFLAGS_FOR_BUILD=" "CFLAGS_FOR_TARGET=" "INSTALL=/usr/bin/install -c"
"INSTALL_DATA=/usr/bin/install -c -m 644" "INSTALL_PROGRAM=/usr/bin/install -c"
"INSTALL_SCRIPT=/usr/bin/install -c" "LDFLAGS=" "LIBCFLAGS="
"LIBCFLAGS_FOR_TARGET=" "MAKE=make" "MAKEINFO=/home/bill/src/gcc-4.4.0/missing
makeinfo --split-size=5000000 --split-size=5000000 " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/bash" "EXPECT=" "RUNTEST=" "RUNTESTFLAGS="
"exec_prefix=/opt/pkg/gcc-4.4.0" "infodir=/opt/pkg/gcc-4.4.0/info"
"libdir=/opt/pkg/gcc-4.4.0/lib" "prefix=/opt/pkg/gcc-4.4.0" "tooldir=" "AR=ar"
"AS=as" "CC=" "CXX=g++" "LD=ld" "LIBCFLAGS=" "NM=nm" "PICFLAG=" "RANLIB=ranlib"
"DESTDIR=" DO=clean multi-clean # make
make[1]: Leaving directory `/home/bill/src/gccobj/zlib'
/bin/bash: -d: invalid option
Usage:  /bin/bash [GNU long option] [option] ...
        /bin/bash [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --protected
        --rcfile
        --restricted
        --verbose
        --version
        --wordexp
Shell options:
        -irsD or -c command or -O shopt_option          (invocation only)
        -abefhkmnptuvxBCHP or -o option
/bin/bash: --: invalid option
Usage:  /bin/bash [GNU long option] [option] ...
        /bin/bash [GNU long option] [option] script-file ...
GNU long options:
...


-- 
           Summary: make clean fails with /bin/bash: -d: invalid option
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: bill at cse dot ucdavis dot edu
 GCC build triplet: x86_64-unknown-linux-gnu
  GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu


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

Reply via email to