public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions
       [not found] <bug-42792-4@http.gcc.gnu.org/bugzilla/>
@ 2012-01-28 19:20 ` pinskia at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-01-28 19:20 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42792

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |WORKSFORME

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-01-28 19:14:37 UTC ---
The only time tree_check_failed is used is when ENABLE_TREE_CHECKING is
defined.
I don't know why this fails for you but it works for many other people.  Maybe
one of the system headers define ENABLE_TREE_CHECKING.

Since this works for many other people and this is the only bug report about
this failure, I am going to close this as worksforme.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions
  2010-01-18 16:20 [Bug other/42792] New: " David dot Biesack at sas dot com
                   ` (2 preceding siblings ...)
  2010-02-08 13:53 ` David dot Biesack at sas dot com
@ 2010-02-08 13:55 ` David dot Biesack at sas dot com
  3 siblings, 0 replies; 5+ messages in thread
From: David dot Biesack at sas dot com @ 2010-02-08 13:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from David dot Biesack at sas dot com  2010-02-08 13:54 -------
Created an attachment (id=19821)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19821&action=view)
build log showing failure (configured with --disable-bootstrap)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42792


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions
  2010-01-18 16:20 [Bug other/42792] New: " 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
  3 siblings, 0 replies; 5+ messages in thread
From: David dot Biesack at sas dot com @ 2010-02-08 13:53 UTC (permalink / raw)
  To: gcc-bugs



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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions
  2010-01-18 16:20 [Bug other/42792] New: " 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
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2010-02-07 20:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2010-02-07 20:11 -------
What happens if you build in a different directory than the source directory?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42792


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions
  2010-01-18 16:20 [Bug other/42792] New: " David dot Biesack at sas dot com
@ 2010-01-18 16:22 ` David dot Biesack at sas dot com
  2010-02-07 20:11 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: David dot Biesack at sas dot com @ 2010-01-18 16:22 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from David dot Biesack at sas dot com  2010-01-18 16:21 -------
Created an attachment (id=19647)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19647&action=view)
build log for gcc 4.4.2

build log showing environment, configure, make, and make errors linking
cc1-dummy


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=42792


^ permalink raw reply	[flat|nested] 5+ messages in thread

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-42792-4@http.gcc.gnu.org/bugzilla/>
2012-01-28 19:20 ` [Bug other/42792] cc1-dummy link fails with missing tree_ and rtl_ functions pinskia at gcc dot gnu.org
2010-01-18 16:20 [Bug other/42792] New: " 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

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