public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/42792]  New: cc1-dummy link fails with missing tree_ and rtl_ functions
@ 2010-01-18 16:20 David dot Biesack at sas dot com
  2010-01-18 16:22 ` [Bug other/42792] " David dot Biesack at sas dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: David dot Biesack at sas dot com @ 2010-01-18 16:20 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 6+ messages in thread
[parent not found: <bug-42792-4@http.gcc.gnu.org/bugzilla/>]

end of thread, other threads:[~2012-01-28 19:15 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-01-18 16:20 [Bug other/42792] New: cc1-dummy link fails with missing tree_ and rtl_ functions David dot Biesack at sas dot com
2010-01-18 16:22 ` [Bug other/42792] " David dot Biesack at sas dot com
2010-02-07 20:11 ` pinskia at gcc dot gnu dot org
2010-02-08 13:53 ` David dot Biesack at sas dot com
2010-02-08 13:55 ` David dot Biesack at sas dot com
     [not found] <bug-42792-4@http.gcc.gnu.org/bugzilla/>
2012-01-28 19:20 ` pinskia at gcc dot gnu.org

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).