On 11 February 2016 at 10:36, <abdul.p78@xxxxxxxxx> wrote: > Hello Team, > > > > I tried to build the latest GCC 5.3.0 in Rhel7 and end up with some error. > > Could you please help here or could you please share the SOURCE RPM of the > latest GCC_5.3.0 that is compatible with Rhel7. > > > > After running “make” command , here is the error am ending up with: > > > > checking for suffix of object files... configure: error: in > `/ephemeral/emjose/rpmbuild/SOURCES/dummy/x86_64-redhat-linux/libgcc': > > configure: error: cannot compute suffix of object files: cannot compile > > See `config.log' for more details. > > make[2]: *** [configure-stage1-target-libgcc] Error 1 > > make[2]: Leaving directory `/ephemeral/emjose/rpmbuild/SOURCES/dummy' > > make[1]: *** [stage1-bubble] Error 2 > > make[1]: Leaving directory `/ephemeral/emjose/rpmbuild/SOURCES/dummy' > > make: *** [all] Error 2 > > [root@euca-10-254-32-210 dummy]# > > > > > > Checked in the logs and we couldn’t find what causes this issue ! You didn't provide the configure command, so we can only make wild guesses based on no useful information. My wild guess is that you installed GMP, MPFR, and/or MPC in a non-standard location. Don't do that, see https://gcc.gnu.org/wiki/FAQ#configure_suffix and https://gcc.gnu.org/wiki/InstallingGCC