Source directory is $HOME/gcc-build/gcc-4.4.-20081017
Object directory is $HOME/gcc-build/gcc-4.4-obj

Configured from the object directory as ../gcc-4.4-20081017/configure
--prefix=$HOME/gcc-trunk --enable-languages=c,c++,fortran
--with-mpfr=$HOME/gcc-build/gcc-4.4-20081017/mpfr

Make was run from the object directory with no errors.

Attempting make install results in:
gcc  -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -I. -I.
-I../../gcc-4.4-20081017/gcc -I../../gcc-4.4-20081017/gcc/.
-I../../gcc-4.4-20081017/gcc/../include
-I../../gcc-4.4-20081017/gcc/../libcpp/include
-I$HOME/gcc-build/gcc-4.4-20081017/mpfr/include
-I../../gcc-4.4-20081017/gcc/../libdecnumber
-I../../gcc-4.4-20081017/gcc/../libdecnumber/bid -I../libdecnumber    \
  -DLOCALEDIR=\"$HOME/gcc-trunk/share/locale\" \
  -c ../../gcc-4.4-20081017/gcc/intl.c -o intl.o
cc1: error: unrecognized command line option "-Wc++-compat"
cc1: error: unrecognized command line option "-Wno-variadic-macros"
cc1: error: unrecognized command line option "-Wno-overlength-strings"
make[2]: *** [intl.o] Error 1
make[2]: Leaving directory `$HOME/gcc-build/gcc-4.4-obj/gcc'
make[1]: *** [install-gcc] Error 2
make[1]: Leaving directory `$HOME/gcc-build/gcc-4.4-obj'
make: *** [install] Error 2

(I have substituted $HOME for the actual expansion of my home directory.  The
home directory is an AFS network shared space.)

Executing the same command line manually (with include directories suitably
modified) produces the same error.

The system gcc is:
Reading specs from /usr/lib/gcc/x86_64-redhat-linux/3.4.6/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--disable-checking --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-java-awt=gtk --host=x86_64-redhat-linux
Thread model: posix
gcc version 3.4.6 20060404 (Red Hat 3.4.6-10)


-- 
           Summary: make install fails attempting to build gcc/intl.c
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: craig dot powers at gmail dot com
 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=37888

Reply via email to