This is the mail archive of the gcc-help@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]

make install fails due to "-Wno-overlength-strings"


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?
 		 	   		  


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