public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "ro at techfak dot uni-bielefeld dot de" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
Date: Mon, 08 Nov 2004 16:02:00 -0000	[thread overview]
Message-ID: <20041108160210.11763.qmail@sourceware.org> (raw)
In-Reply-To: <20041019125732.18058.ebotcazou@gcc.gnu.org>


------- Additional Comments From ro at techfak dot uni-bielefeld dot de  2004-11-08 16:02 -------
Subject: Re:  [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)

The following patch allowed me to successfully bootstrap on
sparc-sun-solaris2.10 with Sun Studio 8 cc.  I'm not completely certain the
build/*.o dependencies are correct: I've just copied the from the
corresponding non-build object files and replaced CONFIG_H by BCONFIG_H.

Fri Oct 29 19:44:19 2004  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	PR rtl-optimization/18224
	* Makefile.in (BUILD_SUPPORT): Add bitmap.o, vec.o.
	(genobjnames): Likewise.
	(build/bitmap.o, build/vec.o): New targets.
	* ggc-none.c (ggc_free): Define.

Index: gcc/Makefile.in
===================================================================
RCS file: /cvs/gcc/gcc/gcc/Makefile.in,v
retrieving revision 1.1418
diff -u -p -r1.1418 Makefile.in
--- gcc/Makefile.in	5 Nov 2004 04:49:05 -0000	1.1418
+++ gcc/Makefile.in	5 Nov 2004 17:55:46 -0000
@@ -776,7 +778,8 @@ BUILD_LIBS = $(BUILD_LIBIBERTY)
 
 BUILD_RTL = build/rtl.o build/read-rtl.o build/ggc-none.o \
 	    build/min-insn-modes.o
-BUILD_SUPPORT = build/gensupport.o build/insn-conditions.o
+BUILD_SUPPORT = build/gensupport.o build/insn-conditions.o build/bitmap.o \
+		build/vec.o
 BUILD_EARLY_SUPPORT = build/gensupport.o build/dummy-conditions.o
 
 BUILD_PRINT = build/print-rtl.o
@@ -2498,7 +2501,7 @@ genobjnames=$(genprognames:%=%.o) read-r
 	genconstants.o gen-protos.o scan.o fix-header.o scan-decls.o \
 	gencheck.o dummy-conditions.o genconditions.o errors.o ggc-none.o \
 	min-insn-modes.o rtl.o print-rtl.o varray.o gcov-iov.o \
-	insn-conditions.o gengtype-lex.o gengtype-yacc.o
+	insn-conditions.o gengtype-lex.o gengtype-yacc.o bitmap.o vec.o
 
 genobjs=$(genobjnames:%=build/%)
 
@@ -2626,6 +2629,9 @@ build/genconditions$(build_exeext) : bui
 build/genconditions.o : genconditions.c $(RTL_BASE_H) $(BCONFIG_H) \
   $(SYSTEM_H) coretypes.h $(GTM_H) errors.h
 
+build/bitmap.o : bitmap.c $(BCONFIG_H) $(SYSTEM_H)  coretypes.h $(GTM_H) \
+  $(RTL_H) $(FLAGS_H) $(BASIC_BLOCK_H) $(REGS_H) $(GGC_H)
+build/bitmap.o: 
 build/errors.o : errors.c $(BCONFIG_H) $(SYSTEM_H) errors.h
 build/ggc-none.o : ggc-none.c $(BCONFIG_H) $(SYSTEM_H) coretypes.h $(GGC_H)
 build/min-insn-modes.o : min-insn-modes.c $(BCONFIG_H) system.h $(MACHMODE_H)
@@ -2635,6 +2641,8 @@ build/print-rtl.o: print-rtl.c $(BCONFIG
   $(RTL_BASE_H)
 build/varray.o: varray.c $(BCONFIG_H) coretypes.h $(GTM_H) $(SYSTEM_H) \
   varray.h $(RTL_BASE_H) $(GGC_H) $(TREE_H) bitmap.h errors.h
+build/vec.o : vec.c $(BCONFIG_H) $(SYSTEM_H) $(TREE_H) coretypes.h vec.h \
+  $(GGC_H) errors.h
 
 #\f
 # Remake internationalization support.
Index: gcc/ggc-none.c
===================================================================
RCS file: /cvs/gcc/gcc/gcc/ggc-none.c,v
retrieving revision 1.20
diff -u -p -r1.20 ggc-none.c
--- gcc/ggc-none.c	11 Sep 2004 19:03:23 -0000	1.20
+++ gcc/ggc-none.c	5 Nov 2004 17:55:54 -0000
@@ -67,3 +67,9 @@ ggc_realloc_stat (void *x, size_t size M
 {
   return xrealloc (x, size);
 }
+
+void
+ggc_free (void *p)
+{
+  free (p);
+}


-- 


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


  parent reply	other threads:[~2004-11-08 16:02 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-19 12:57 [Bug bootstrap/18058] New: " ebotcazou at gcc dot gnu dot org
2004-10-19 13:05 ` [Bug bootstrap/18058] [4.0 Regression] " pinskia at gcc dot gnu dot org
2004-10-19 13:06 ` pinskia at gcc dot gnu dot org
2004-10-19 13:26 ` pinskia at gcc dot gnu dot org
2004-10-19 18:03 ` ebotcazou at gcc dot gnu dot org
2004-10-19 18:26 ` pinskia at gcc dot gnu dot org
2004-10-23 18:17 ` pinskia at gcc dot gnu dot org
2004-10-23 19:44 ` ebotcazou at gcc dot gnu dot org
2004-10-23 19:49 ` schwab at suse dot de
2004-10-23 20:01 ` pinskia at gcc dot gnu dot org
2004-10-23 20:17 ` pinskia at gcc dot gnu dot org
2004-10-26  7:04 ` ebotcazou at gcc dot gnu dot org
2004-10-29 18:26 ` pinskia at gcc dot gnu dot org
2004-11-08 16:02 ` ro at techfak dot uni-bielefeld dot de [this message]
2004-11-14 11:45 ` ebotcazou at gcc dot gnu dot org
2004-11-25  4:51 ` pinskia at gcc dot gnu dot org
2004-12-05 20:50 ` pinskia at gcc dot gnu dot org
2004-12-20  1:07 ` steven at gcc dot gnu dot org
2005-01-04  7:15 ` ebotcazou at gcc dot gnu dot org
2005-01-11 10:41 ` ebotcazou at gcc dot gnu dot org
2005-01-23 16:36 ` pinskia at gcc dot gnu dot org
2005-01-23 19:22 ` cvs-commit at gcc dot gnu dot org
2005-01-23 19:41 ` pinskia at gcc dot gnu dot org
2005-01-23 20:22 ` ebotcazou at gcc dot gnu dot org
2005-01-23 20:28 ` pinskia at gcc dot gnu dot org
2005-01-24 12:08 ` cvs-commit at gcc dot gnu dot org
2005-01-24 12:20 ` ebotcazou at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20041108160210.11763.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).