https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81372
Bug ID: 81372 Summary: gcc-620 syntax issues Product: gcc Version: 6.2.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: debug Assignee: unassigned at gcc dot gnu.org Reporter: abinaya.manikandan at wipro dot com Target Milestone: --- Hi, We have added user requested flag " --disable-hosted-libstdcxx" in our spec. So while building gcc_v620 we are facing below syntax issues. ../../libcpp/charset.c: In function 'bool cpp_interpret_string(cpp_reader*, const cpp_string*, size_t, cpp_string*, cpp_ttype)': ../../libcpp/charset.c:1453:18: error: 'free' was not declared in this scope free (tbuf.text); ^ ../../libcpp/charset.c: In function 'cppchar_t cpp_interpret_charconst(cpp_reader*, const cpp_token*, unsigned int*, int*)': ../../libcpp/charset.c:1641:27: error: 'free' was not declared in this scope free ((void *)str.text); ^ ../../libcpp/charset.c: In function 'uchar* _cpp_convert_input(cpp_reader*, const char*, uchar*, size_t, size_t, const unsigned char**, off_t*)': ../../libcpp/charset.c:1740:18: error: 'free' was not declared in this scope free (input); ^ make[3]: *** [charset.o] Error 1 make[3]: Leaving directory `/ephemeral/rpmbuild/BUILD/gcc-6.2.0/build/libcpp' make[2]: *** [all-stage2-libcpp] Error 2 make[2]: *** Waiting for unfinished jobs.... anyone please help me on this. Thanks in Advance! Regards, Abinaya sandhiya