public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "grgoffe at yahoo dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/97022] New: -Werror flag aborts compilation of "current" git pull on main Date: Fri, 11 Sep 2020 17:12:33 +0000 [thread overview] Message-ID: <bug-97022-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97022 Bug ID: 97022 Summary: -Werror flag aborts compilation of "current" git pull on main Product: gcc Version: new-ra Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: grgoffe at yahoo dot com Target Milestone: --- Hi, I'm not sure this is a bug but it looks like one. In a current pull from the source repository, compilation fails with msg 'cc1plus: all warnings being treated as errors' System is Fedora Core 34 (x86_64)(Rawhide). Builds have been succeeding but now fail for past 3 days. A full build log is available if desired. THANKS! Be safe! George... /tools/gcc/obj-x86_64-pc-linux-gnu/./prev-gcc/xg++ -B/tools/gcc/obj-x86_64-pc-linux-gnu/./prev-gcc/ -B/usr/lsd/Linux/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/tools/gcc/gcc/libstdc++-v3/libsupc++ -L/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/usr/lsd/Linux/include -I/usr/lsd/Linux/include -I/usr/lsd/Linux/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/gcc/../libbacktrace -o ggc-common.o -MT ggc-common.o -MMD -MP -MF ./.deps/ggc-common.TPo ../../gcc/gcc/ggc-common.c ../../gcc/gcc/ggc-common.c: In function ‘void report_heap_memory_use()’: ../../gcc/gcc/ggc-common.c:1018:62: error: ‘mallinfo mallinfo()’ is deprecated [-Werror=deprecated-declarations] 1018 | fprintf (stderr," {heap %luk}", (unsigned long)(mallinfo().arena / 1024)); | ^ In file included from ../../gcc/gcc/system.h:736, from ../../gcc/gcc/ggc-common.c:25: /usr/include/malloc.h:118:24: note: declared here 118 | extern struct mallinfo mallinfo (void) __THROW __MALLOC_DEPRECATED; | ^~~~~~~~ /tools/gcc/obj-x86_64-pc-linux-gnu/./prev-gcc/xg++ -B/tools/gcc/obj-x86_64-pc-linux-gnu/./prev-gcc/ -B/usr/lsd/Linux/x86_64-pc-linux-gnu/bin/ -nostdinc++ -B/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -B/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -I/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/include/x86_64-pc-linux-gnu -I/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/include -I/tools/gcc/gcc/libstdc++-v3/libsupc++ -L/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/src/.libs -L/tools/gcc/obj-x86_64-pc-linux-gnu/prev-x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/.libs -fno-PIE -c -g -O2 -fno-checking -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/../include -I../../gcc/gcc/../libcpp/include -I/usr/lsd/Linux/include -I/usr/lsd/Linux/include -I/usr/lsd/Linux/include -I../../gcc/gcc/../libdecnumber -I../../gcc/gcc/../libdecnumber/bid -I../libdecnumber -I../../gcc/gcc/../libbacktrace -o ggc-tests.o -MT ggc-tests.o -MMD -MP -MF ./.deps/ggc-tests.TPo ../../gcc/gcc/ggc-tests.c cc1plus: all warnings being treated as errors make[3]: *** [Makefile:1123: ggc-common.o] Error 1 make[3]: *** Waiting for unfinished jobs.... rm gfdl.pod gcc.pod gfortran.pod gcov-dump.pod gcov-tool.pod fsf-funding.pod gpl.pod cpp.pod gcov.pod lto-dump.pod make[3]: Leaving directory '/export/home/tools/gcc/obj-x86_64-pc-linux-gnu/gcc' make[2]: *** [Makefile:4785: all-stage2-gcc] Error 2 make[2]: Leaving directory '/export/home/tools/gcc/obj-x86_64-pc-linux-gnu' make[1]: *** [Makefile:24608: stage2-bubble] Error 2 make[1]: Leaving directory '/export/home/tools/gcc/obj-x86_64-pc-linux-gnu' make: *** [Makefile:999: all] Error 2
next reply other threads:[~2020-09-11 17:12 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-09-11 17:12 grgoffe at yahoo dot com [this message] 2020-09-13 23:49 ` [Bug c++/97022] " grgoffe at yahoo dot com 2020-09-14 6:52 ` rguenth at gcc dot gnu.org
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-97022-4@http.gcc.gnu.org/bugzilla/ \ --to=gcc-bugzilla@gcc.gnu.org \ --cc=gcc-bugs@gcc.gnu.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).