]> git.ipfire.org Git - thirdparty/gcc.git/commit
Makefile.tpl: disable -Werror for feedback stage [PR111663]
authorSergei Trofimovich <siarheit@google.com>
Mon, 2 Oct 2023 11:08:17 +0000 (12:08 +0100)
committerSergei Trofimovich <siarheit@google.com>
Fri, 6 Oct 2023 19:25:20 +0000 (20:25 +0100)
commit2551e10038a70901f30b2168e6e3af4536748f3c
tree3bc75ea78fa22a0b16c0705a7be81d04368ecc27
parentfa8c99c4a426750adb5137f601b6f96b13e0da5c
Makefile.tpl: disable -Werror for feedback stage [PR111663]

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.
Makefile.in
Makefile.tpl