https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91177
Bug ID: 91177 Summary: Installation Error on Centos 6 Product: gcc Version: 9.1.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other Assignee: unassigned at gcc dot gnu.org Reporter: John.Parke at alebra dot com Target Milestone: --- Created attachment 46601 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=46601&action=edit Output of make I'm trying to build gcc-9.1.0 on CentOS release 6.10. Currently have gcc version 6.3.1 20170216 (Red Hat 6.3.1-3). I am getting many error messages in libcpp: gmake[3]: Entering directory '/usr/gccobj/build-x86_64-pc-linux-gnu/libcpp' /usr/local/bin/gcc -std=gnu++98 -I../../../gcc-9.1.0/libcpp -I. -I../../../gcc-9.1.0/libcpp/../include -I../../../gcc-9.1.0/libcpp/include -g -O2 -W -Wall -Wno-narrowing -Wwrite-strings -Wmissing-format-attribute -pedantic -Wno-long-long -fno-exceptions -fno-rtti -I../../../gcc-9.1.0/libcpp -I. -I../../../gcc-9.1.0/libcpp/../include -I../../../gcc-9.1.0/libcpp/include -c -o charset.o -MT charset.o -MMD -MP -MF .deps/charset.Tpo ../../../gcc-9.1.0/libcpp/charset.c cc1: warning: command line option ‘-std=gnu++98’ is valid for C++/ObjC++ but not for C cc1: warning: command line option ‘-fno-rtti’ is valid for C++/ObjC++ but not for C In file included from ../../../gcc-9.1.0/libcpp/include/cpplib.h:27:0, from ../../../gcc-9.1.0/libcpp/charset.c:22: ../../../gcc-9.1.0/libcpp/include/line-map.h:329:3: error: expected specifier-qualifier-list before ‘static’ static source_range from_location (location_t loc) Configuration: ../gcc-9.1.0/configure -enable-languages=c,c++ --disable-multilib Any help would be greatly appreciated. John