Skip to content
Snippets Groups Projects
  • Sergei Trofimovich's avatar
    2551e100
    Makefile.tpl: disable -Werror for feedback stage [PR111663] · 2551e100
    Sergei Trofimovich authored
    Without the change profiled bootstrap fails for various warnings on
    master branch as:
    
        $ ../gcc/configure
        $ make profiledbootstrap
        ...
        gcc/genmodes.cc: In function ‘int main(int, char**)’:
        gcc/genmodes.cc:2152:1: error: ‘gcc/build/genmodes.gcda’ profile count data file not found [-Werror=missing-profile]
        ...
        gcc/gengtype-parse.cc: In function ‘void parse_error(const char*, ...)’:
        gcc/gengtype-parse.cc:142:21: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
    
    The change removes -Werror just like autofeedback does today.
    
    /
    
    	PR bootstrap/111663
    	* Makefile.tpl (STAGEfeedback_CONFIGURE_FLAGS): Disable -Werror.
    	* Makefile.in: Regenerate.
    2551e100
    History
    Makefile.tpl: disable -Werror for feedback stage [PR111663]
    Sergei Trofimovich authored
    Without the change profiled bootstrap fails for various warnings on
    master branch as:
    
        $ ../gcc/configure
        $ make profiledbootstrap
        ...
        gcc/genmodes.cc: In function ‘int main(int, char**)’:
        gcc/genmodes.cc:2152:1: error: ‘gcc/build/genmodes.gcda’ profile count data file not found [-Werror=missing-profile]
        ...
        gcc/gengtype-parse.cc: In function ‘void parse_error(const char*, ...)’:
        gcc/gengtype-parse.cc:142:21: error: ‘%s’ directive argument is null [-Werror=format-overflow=]
    
    The change removes -Werror just like autofeedback does today.
    
    /
    
    	PR bootstrap/111663
    	* Makefile.tpl (STAGEfeedback_CONFIGURE_FLAGS): Disable -Werror.
    	* Makefile.in: Regenerate.