From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14364 invoked by alias); 13 Jun 2010 12:04:30 -0000 Received: (qmail 11909 invoked by uid 48); 13 Jun 2010 12:04:11 -0000 Date: Sun, 13 Jun 2010 12:04:00 -0000 Message-ID: <20100613120411.11908.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug bootstrap/44512] --enable-build-with-cxx bootstrap fails in revision 160669 In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "amylaar at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-06/txt/msg01443.txt.bz2 ------- Comment #2 from amylaar at gcc dot gnu dot org 2010-06-13 12:04 ------- When I add a cast to the offending line in c-cppbuiltin.c, the bootstrap shows another failure: g++ -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o \ dummy-checksum.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lcloog -lppl_c -lppl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz -lelf g++ -g -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H -o cc1plus-dummy \ cp/cp-lang.o c-family/stub-objc.o cp/call.o cp/decl.o cp/expr.o cp/pt.o cp/typeck2.o cp/class.o cp/decl2.o cp/error.o cp/lex.o cp/parser.o cp/ptree.o cp/rtti.o cp/typeck.o cp/cvt.o cp/except.o cp/friend.o cp/init.o cp/method.o cp/search.o cp/semantics.o cp/tree.o cp/repo.o cp/dump.o cp/optimize.o cp/mangle.o cp/cp-objcp-common.o cp/name-lookup.o cp/cxx-pretty-print.o cp/cp-gimplify.o tree-mudflap.o attribs.o incpath.o prefix.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o dummy-checksum.o main.o tree-browser.o libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lcloog -lppl_c -lppl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz -lelf libbackend.a(print-rtl.o): In function `print_rtx': /user/inria/fsf/bldxx-20100613-2/gcc/../../gcc/gcc/print-rtl.c:419: undefined reference to `unspecv_strings' /user/inria/fsf/bldxx-20100613-2/gcc/../../gcc/gcc/print-rtl.c:427: undefined reference to `unspec_strings' collect2: ld returned 1 exit status make[3]: *** [cc1-dummy] Error 1 make[3]: *** Waiting for unfinished jobs.... libbackend.a(print-rtl.o): In function `print_rtx': /user/inria/fsf/bldxx-20100613-2/gcc/../../gcc/gcc/print-rtl.c:419: undefined reference to `unspecv_strings' /user/inria/fsf/bldxx-20100613-2/gcc/../../gcc/gcc/print-rtl.c:427: undefined reference to `unspec_strings' collect2: ld returned 1 exit status make[3]: *** [cc1plus-dummy] Error 1 rm gcov.pod gfdl.pod cpp.pod fsf-funding.pod gcc.pod make[3]: Leaving directory `/user/inria/fsf/bldxx-20100613-2/gcc' make[2]: *** [all-stage1-gcc] Error 2 make[2]: Leaving directory `/user/inria/fsf/bldxx-20100613-2' make[1]: *** [stage1-bubble] Error 2 make[1]: Leaving directory `/user/inria/fsf/bldxx-20100613-2' make: *** [bootstrap] Error 2 [amylaar@laria bldxx-20100613-2]$ nm gcc/insn-enums.o 000007e0 r _ZL14unspec_strings 00000ba0 r _ZL15unspecv_strings [amylaar@laria bldxx-20100613-2]$ nm gcc/print-rtl.o|grep unspec U unspec_strings U unspecv_strings That was presumably introduced in revision 160582: 2010-06-10 Richard Sandiford * doc/md.texi: Document the "unspec" and "unspecv" enum names. * Makefile.in (OBJS-common): Include insn-enums.o. (insn-enums.o): New rule. (simple_generated_c): Add insn-enums.c. (build/genenums.o): New rule. (genprogmd): Add "enums". * genconstants.c (print_enum_type): Declare a C string array for each enum. * genenums.c: New file. * print-rtl.c (print_rtx): If defined, use the "unspecv" enum for UNSPEC_VOLATILE. If defined, use the "unspec" enum for both UNSPEC and (as a fallback) for UNSPEC_VOLATILE. -- amylaar at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rsandifo at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=44512