public inbox for gcc-bugs@sourceware.org help / color / mirror / Atom feed
From: "mikpelinux at gmail dot com" <gcc-bugzilla@gcc.gnu.org> To: gcc-bugs@gcc.gnu.org Subject: [Bug bootstrap/63523] New: [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux Date: Mon, 13 Oct 2014 12:27:00 -0000 [thread overview] Message-ID: <bug-63523-4@http.gcc.gnu.org/bugzilla/> (raw) https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63523 Bug ID: 63523 Summary: [5.0 regression] gcc/cp/pt.c -Werror=format breaks bootstrap on sparc-linux Product: gcc Version: 5.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: bootstrap Assignee: unassigned at gcc dot gnu.org Reporter: mikpelinux at gmail dot com Attempting to bootstrap gcc-5-20141012 on sparc-linux (sparc64 w/ --build and --target overridden) fails with: /mnt/scratch/objdir50/./prev-gcc/xg++ -B/mnt/scratch/objdir50/./prev-gcc/ -B/mnt/scratch/install50/sparc-unknown-linux/bin/ -nostdinc++ -B/mnt/scratch/objdir50/prev-sparc-unknown-linux/libstdc++-v3/src/.libs -B/mnt/scratch/objdir50/prev-sparc-unknown-linux/libstdc++-v3/libsupc++/.libs -I/mnt/scratch/objdir50/prev-sparc-unknown-linux/libstdc++-v3/include/sparc-unknown-linux -I/mnt/scratch/objdir50/prev-sparc-unknown-linux/libstdc++-v3/include -I/mnt/scratch/gcc-5-20141012/libstdc++-v3/libsupc++ -L/mnt/scratch/objdir50/prev-sparc-unknown-linux/libstdc++-v3/src/.libs -L/mnt/scratch/objdir50/prev-sparc-unknown-linux/libstdc++-v3/libsupc++/.libs -c -DIN_GCC_FRONTEND -g -O2 -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Werror -DHAVE_CONFIG_H -I. -Icp -I/mnt/scratch/gcc-5-20141012/gcc -I/mnt/scratch/gcc-5-20141012/gcc/cp -I/mnt/scratch/gcc-5-20141012/gcc/../include -I/mnt/scratch/gcc-5-20141012/gcc/../libcpp/include -I/home/mikpe/pkgs/linux-sparc64/gmp-5.1.3/include -I/home/mikpe/pkgs/linux-sparc64/mpfr-3.1.2/include -I/home/mikpe/pkgs/linux-sparc64/mpc-1.0.2/include -I/mnt/scratch/gcc-5-20141012/gcc/../libdecnumber -I/mnt/scratch/gcc-5-20141012/gcc/../libdecnumber/dpd -I../libdecnumber -I/mnt/scratch/gcc-5-20141012/gcc/../libbacktrace -o cp/pt.o -MT cp/pt.o -MMD -MP -MF cp/.deps/pt.TPo /mnt/scratch/gcc-5-20141012/gcc/cp/pt.c /mnt/scratch/gcc-5-20141012/gcc/cp/pt.c: In function 'void print_template_statistics()': /mnt/scratch/gcc-5-20141012/gcc/cp/pt.c:22329:40: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Werror=format=] decl_specializations->collisions ()); ^ /mnt/scratch/gcc-5-20141012/gcc/cp/pt.c:22329:40: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=] /mnt/scratch/gcc-5-20141012/gcc/cp/pt.c:22333:40: error: format '%ld' expects argument of type 'long int', but argument 3 has type 'size_t {aka unsigned int}' [-Werror=format=] type_specializations->collisions ()); ^ /mnt/scratch/gcc-5-20141012/gcc/cp/pt.c:22333:40: error: format '%ld' expects argument of type 'long int', but argument 4 has type 'size_t {aka unsigned int}' [-Werror=format=] cc1plus: all warnings being treated as errors make[3]: *** [cp/pt.o] Error 1 make[3]: Leaving directory `/mnt/scratch/objdir50/gcc' make[2]: *** [all-stage2-gcc] Error 2 make[2]: Leaving directory `/mnt/scratch/objdir50' make[1]: *** [stage2-bubble] Error 2 make[1]: Leaving directory `/mnt/scratch/objdir50' make: *** [bootstrap] Error 2 The previous weekly snapshot, gcc-5-20141005, bootstrapped fine. Configuration options: /mnt/scratch/gcc-5-20141012/configure --prefix=/mnt/scratch/install50 --with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-5.1.3 --with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-3.1.2 --with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-1.0.2 --enable-multilib --disable-plugin --disable-lto --disable-nls --enable-threads=posix --enable-checking=release --disable-libmudflap --enable-languages=c,ada,c++,fortran --build=sparc-unknown-linux --target=sparc-unknown-linux --with-cpu=ultrasparc --enable-targets=all --disable-libsanitizer
next reply other threads:[~2014-10-13 12:27 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2014-10-13 12:27 mikpelinux at gmail dot com [this message] 2014-10-13 12:32 ` [Bug bootstrap/63523] " izamyatin at gmail dot com 2014-10-13 13:36 ` rguenth at gcc dot gnu.org 2014-10-13 16:10 ` hjl.tools at gmail dot com
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-63523-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).