[Bug other/92121] New: Error using GCC 4.9.4 -- arch/x86/Makefile:166: *** CONFIG_RETPOLINE=y,

dhgopal at gmail dot com gcc-bugzilla@gcc.gnu.org
Wed Oct 16 10:48:00 GMT 2019


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=92121

            Bug ID: 92121
           Summary: Error using GCC 4.9.4 -- arch/x86/Makefile:166: ***
                    CONFIG_RETPOLINE=y,
           Product: gcc
           Version: 4.9.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: other
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dhgopal at gmail dot com
  Target Milestone: ---

We are setting up new centos build server and while configuring the gcc and
when we tried to compile the project code, we are getting the below error. we
did compile the code in Centos 3.10.0-693.17.1.el7.x86_64 using the gcc 4.9.4,
where - we installed gcc from the gcc 4.9.4 source code 


1) Error:

scripts/kconfig/conf --silentoldconfig Kconfig
make[2]: Leaving directory `****************************************'
arch/x86/Makefile:166: *** CONFIG_RETPOLINE=y, but not supported by the
compiler. Compiler update recommended..  Stop.
make[1]: *** [.config] Error 2
make[1]: Leaving directory `****************************************'
make: *** [kernel.rpm] Error 2
$ 


Note: ** are replaced with the directory path


2) we are using gcc 4.9.4 as shown below 

$ gcc --version
gcc (GCC) 4.9.4
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$


More information about the Gcc-bugs mailing list