From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27133 invoked by alias); 8 Feb 2010 13:53:20 -0000 Received: (qmail 27058 invoked by uid 48); 8 Feb 2010 13:52:57 -0000 Date: Mon, 08 Feb 2010 13:53:00 -0000 Message-ID: <20100208135257.27057.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "David dot Biesack at sas dot com" 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-02/txt/msg00708.txt.bz2 ------- Comment #3 from David dot Biesack at sas dot com 2010-02-08 13:52 ------- Pretty much the same result. I did make dist-clean mkdir Linux-x64 cd Linux-x64 ../configure -with-gmp=/usr/local --with-mpfr=/usr/local --with-mpc=/usr/local and it still failed wit similar errors trying to link cc1-dummy: gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o i386-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.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 -L/usr/local/lib -L/usr/local/lib -lmpfr -lgmp i386-c.o: In function `ix86_pragma_target_parse': /usr/local/src/gcc-4.4.2/Linux-x64/gcc/../../gcc/config/i386/i386-c.c:259: undefined reference to `tree_check_failed' /usr/local/src/gcc-4.4.2/Linux-x64/gcc/../../gcc/config/i386/i386-c.c:271: undefined reference to `tree_check_failed' /usr/local/src/gcc-4.4.2/Linux-x64/gcc/../../gcc/config/i386/i386-c.c:272: undefined reference to `tree_check_failed' libbackend.a(gtype-desc.o): In function `gt_ggc_mx_rtx_def': /usr/local/src/gcc-4.4.2/Linux-x64/gcc/gtype-desc.c:1477: undefined reference to `rtl_check_failed_flag' Would adding --disable-bootstrap to configure help get around this? I tried (removed my Linux-x64 build dir and started over, adding --disable-bootstrap to the configure command) that but still got a failure: gcc -g -O2 -DIN_GCC -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wcast-qual -Wold-style-definition -Wc++-compat -Wmissing-format-attribute -DHAVE_CONFIG_H -o jcf-dump java/jcf-dump.o java/jcf-io.o java/jcf-depend.o java/jcf-path.o java/win32-host.o java/zextract.o errors.o version.o ggc-none.o intl.o \ -L../zlib -lz ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a java/jvgenmain.o: In function `main': /usr/local/src/gcc-4.4.2/Linux-x64/gcc/../../gcc/java/jvgenmain.c:65: undefined reference to `gcc_init_libintl' collect2: ld returned 1 exit status make[2]: *** [jvgenmain] Error 1 make[2]: *** Waiting for unfinished jobs.... java/jcf-dump.o: In function `main': /usr/local/src/gcc-4.4.2/Linux-x64/gcc/../../gcc/java/jcf-dump.c:1185: undefined reference to `gcc_init_libintl' collect2: ld returned 1 exit status make[2]: *** [jcf-dump] Error 1 rm gfortran.pod gcc.pod make[2]: Leaving directory `/usr/local/src/gcc-4.4.2/Linux-x64/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/usr/local/src/gcc-4.4.2/Linux-x64' make: *** [all] Error 2 I will attach that full build log -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42792