This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
make install fails due to "-Wno-overlength-strings"
- From: Todd Sayers <tscoltrane at hotmail dot com>
- To: <gcc-help at gcc dot gnu dot org>
- Date: Thu, 3 Nov 2011 10:34:23 -0500
- Subject: make install fails due to "-Wno-overlength-strings"
- References: <BAY161-W4717513A6F27D971B94EE3C4D50@phx.gbl>
I'm attempting to install gcc 4.3.6 on RHEL 5.5 x86_64 using the installed (default, from Redhat) gcc version 4.1.2.? Everything [except the `make install`] appears to work well.? Only the `make install` of gcc 4.3.6 fails.? It dies with this error:
cc1: error: unrecognized command line option "-Wno-overlength-strings"
gmp,mpfr, and mpc all compiled without error, passed `make check`, and were installed via `make install.`? There were no issues.? GCC 4.3.6 compiles without error (make) and passes almost 96,000 tests before `make check` dies (after >2hrs using -j4).? GCC 4.3.6 was configured
with:
../gcc-4.3.6/configure --prefix=/foo/HPC_apps/AMD --with-gmp-lib=/foo/HPC_apps/AMD/lib --with-gmp-include=/foo/HPC_apps/AMD/include --with-mpfr-include=/foo/HPC_apps/AMD/include --with-mpfr-lib=/foo/HPC_apps/AMD/lib
Please note that (per the instructions) I am NOT building in the source directory.? I Googled until I reached the end of the Internet... and, well, after that I decided to write this e-mail.? What gives?? Is there an environment variable that can be set to force gcc to not attempt to use this option (in the configure logs, it discovers that "-Wno-overlength-strings" is not an available option.? WTF?