[Bug other/42792] New: cc1-dummy link fails with missing tree_ and rtl_ functions
David dot Biesack at sas dot com
gcc-bugzilla@gcc.gnu.org
Mon Jan 18 16:20:00 GMT 2010
I downloaded a fresh 4.4.2 source distribution and configured and build
for x86_64-redhat-linux I'll attach a full build log, but basically
the GCC build fails trying to link cc1-dummy with many, many undefined
symbols.
I've built local copies of GMP, MPFR, MPC in /usr/local (using -fPIC)
and did
# export LD_LIBRARY_PATH=/usr/local/lib
# export LIBRARY_PATH=/usr/local/lib
# ./configure --with-gmp=/usr/local --with-mpfr=/usr/local
--with-mpc=/usr/local
# make
and got this error:
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/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386-c.c:259:
undefined reference to `tree_check_failed'
/usr/local/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/../.././gcc/config/i386/i386-c.c:271:
undefined reference to `tree_check_failed'
/usr/local/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/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/host-x86_64-unknown-linux-gnu/gcc/gtype-desc.c:1477:
undefined reference to `rtl_check_failed_flag'
libbackend.a(gtype-desc.o): In function `gt_pch_nx_rtx_def':
/usr/local/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/gtype-desc.c:3588:
undefined reference to `rtl_check_failed_flag'
libbackend.a(gtype-desc.o): In function `gt_pch_p_7rtx_def':
/usr/local/src/gcc-4.4.2/host-x86_64-unknown-linux-gnu/gcc/gtype-desc.c:6016:
undefined reference to `rtl_check_failed_flag'
with many more in the log
My gcc is
# gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-libgcj-multifile
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk
--disable-dssi --enable-plugin
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre --with-cpu=generic
--host=x86_64-redhat-linux
Thread model: posix
gcc version 4.1.2 20080704 (Red Hat 4.1.2-44)
I'll attach a full gcc.log
--
Summary: cc1-dummy link fails with missing tree_ and rtl_
functions
Product: gcc
Version: 4.4.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: David dot Biesack at sas dot com
GCC build triplet: x86_64-redhat-linux
GCC host triplet: x86_64-redhat-linux
GCC target triplet: x86_64-redhat-linux
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42792
More information about the Gcc-bugs
mailing list