public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline)
@ 2004-10-19 12:57 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
                   ` (25 more replies)
  0 siblings, 26 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-19 12:57 UTC (permalink / raw)
  To: gcc-bugs

The error message is:

cc -erroff -c   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC    
-DHAVE_CONFIG_H -DGENERATOR_FILE    -I. -Ibuild -I/home/eric/cvs/gcc/gcc
-I/home/eric/cvs/gcc/gcc/build -I/home/eric/cvs/gcc/gcc/../include -I./../intl
-I/home/eric/cvs/gcc/gcc/../libcpp/include -I/opt/build/eric/local/include
-I/opt/build/eric/local/include \
 -o build/insn-conditions.o insn-conditions.c
cc -erroff   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC    
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genflags \
        build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/min-insn-modes.o build/gensupport.o build/insn-conditions.o
build/print-rtl.o \
        build/errors.o ../build-sparc-sun-solaris2.7/libiberty/libiberty.a
ild: (undefined symbol) bitmap_zero_bits -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) vec_gc_p_reserve -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) vec_gc_free -- referenced in the text segment of
build/insn-conditions.o
gmake[2]: *** [build/genflags] Error 5
gmake[2]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake[1]: *** [stage1_build] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake: *** [bootstrap] Error 2

This is reproducible with GCC as the bootstrap compiler if it is invoked with
-fkeep-inline-functions.

-- 
           Summary: Sun CC cannot bootstrap GCC (static inline)
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: *-*-solaris2.*
  GCC host triplet: *-*-solaris2.*
GCC target triplet: *-*-solaris2.*


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
@ 2004-10-19 13:05 ` pinskia at gcc dot gnu dot org
  2004-10-19 13:06 ` pinskia at gcc dot gnu dot org
                   ` (24 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-19 13:05 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-19 13:05 -------
For the bitmap problem, the header comes in from basic-block.h via regs.h.

Maybe we should have #ifndef BUILD (or what ever is the macro).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |build
   Last reconfirmed|0000-00-00 00:00:00         |2004-10-19 13:05:48
               date|                            |
            Summary|Sun CC cannot bootstrap GCC |[4.0 Regression] Sun CC
                   |(static inline)             |cannot bootstrap GCC (static
                   |                            |inline)
   Target Milestone|---                         |4.0.0


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) 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
                   ` (23 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-19 13:06 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-19 13:06 -------
The vec problem might be the same issue.  I will look into it.

-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) 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
                   ` (22 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-19 13:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-19 13:26 -------
Created an attachment (id=7377)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7377&action=view)
patch which should fix this

This works for me, at least with -fkeep-inline-functions.
Can you try it and see if it works for you?

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pinskia at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  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
                   ` (21 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-19 18:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-19 18:03 -------
> Can you try it and see if it works for you?

Like a charm :-)  Thanks!


-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  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
                   ` (20 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-19 18:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-19 18:26 -------
Patch posted here: <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01615.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  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
                   ` (19 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-23 18:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-23 18:17 -------
The patch is not right as it causes a cross to m68k to fail I will test a different patch which just 
conditionalize the functions in bitmap.c.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  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
                   ` (18 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-23 19:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-23 19:44 -------
> The patch is not right as it causes a cross to m68k to fail I will test a
> different patch which just conditionalize the functions in bitmap.c

Death to crosses to m68k ;-)


-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  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
                   ` (17 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: schwab at suse dot de @ 2004-10-23 19:49 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From schwab at suse dot de  2004-10-23 19:49 -------
Only over my dead body. :-) 

-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  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
                   ` (16 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-23 20:01 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-23 20:01 -------
(From update of attachment 7405)
Woops that one did not work at all.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
Attachment #7405 is|0                           |1
           obsolete|                            |


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  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
                   ` (15 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-23 20:17 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-23 20:17 -------
New patch which works on a cross to m68k and it is simplier:
<http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01993.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  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
                   ` (14 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-10-26  7:04 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-10-26 07:03 -------
> New patch which works on a cross to m68k and it is simplier:
> <http://gcc.gnu.org/ml/gcc-patches/2004-10/msg01993.html>.

It doesn't fully work.  1 out of the 3 undefined references is gone, but not the
other two ones:

cc -erroff   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC    
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genflags \
        build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/min-insn-modes.o build/gensupport.o build/insn-conditions.o
build/print-rtl.o \
        build/errors.o ../build-sparc-sun-solaris2.8/libiberty/libiberty.a
ild: (undefined symbol) vec_gc_free -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) vec_gc_p_reserve -- referenced in the text segment of
build/insn-conditions.o
gmake[2]: *** [build/genflags] Error 5


-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (10 preceding siblings ...)
  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
                   ` (13 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-10-29 18:26 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-10-29 18:26 -------
*** Bug 18225 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ro at techfak dot uni-
                   |                            |bielefeld dot de


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (11 preceding siblings ...)
  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
  2004-11-14 11:45 ` ebotcazou at gcc dot gnu dot org
                   ` (12 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ro at techfak dot uni-bielefeld dot de @ 2004-11-08 16:02 UTC (permalink / raw)
  To: gcc-bugs


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (12 preceding siblings ...)
  2004-11-08 16:02 ` ro at techfak dot uni-bielefeld dot de
@ 2004-11-14 11:45 ` ebotcazou at gcc dot gnu dot org
  2004-11-25  4:51 ` pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2004-11-14 11:45 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2004-11-14 11:45 -------
Rainer, would you mind submitting your patch on the gcc-patches list? TIA.


-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (13 preceding siblings ...)
  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
                   ` (10 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-11-25  4:51 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2004-11-25 04:51 -------
Mine fix is not a full one, Rainer did post a new one which works but I cannot remember if it went to 
gcc-patches@, I think it did.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|pinskia at gcc dot gnu dot  |unassigned at gcc dot gnu
                   |org                         |dot org
             Status|ASSIGNED                    |NEW
           Keywords|patch                       |


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (14 preceding siblings ...)
  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
                   ` (9 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2004-12-05 20:50 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P2                          |P3


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (15 preceding siblings ...)
  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
                   ` (8 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: steven at gcc dot gnu dot org @ 2004-12-20  1:07 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From steven at gcc dot gnu dot org  2004-12-20 01:07 -------
Rainer, did you post your patch? 

-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (16 preceding siblings ...)
  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
                   ` (7 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-04  7:15 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P2


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (17 preceding siblings ...)
  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
                   ` (6 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-11 10:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-11 10:41 -------
Rainer's patch doesn't work anymore:

cc   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC     -DHAVE_CONFIG_H
-DGENERATOR_FILE  -o build/genflags \
        build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/min-insn-modes.o build/gensupport.o build/insn-conditions.o build/bitmap.o
build/vec.o build/print-rtl.o \
        build/errors.o ../build-sparc-sun-solaris2.8/libiberty/libiberty.a
ild: (undefined symbol) recog -- referenced in the text segment of
build/insn-conditions.o
gmake[2]: *** [build/genflags] Error 5


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|2004-10-19 13:05:48         |2005-01-11 10:41:41
               date|                            |


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (18 preceding siblings ...)
  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
                   ` (5 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-23 16:36 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-23 16:36 -------
JSM posted a patch to fix this here: <http://gcc.gnu.org/ml/gcc-patches/2005-01/msg01653.html>.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |patch


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (19 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-23 19:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-23 19:22 -------
Subject: Bug 18058

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jsm28@gcc.gnu.org	2005-01-23 19:22:03

Modified files:
	config         : ChangeLog warnings.m4 
	libcpp         : ChangeLog configure 
	gcc            : ChangeLog ggc-none.c recog.h 

Log message:
	config:
	* warnings.m4 (ACX_PROG_CC_WARNING_ALMOST_PEDANTIC): Don't do
	anything for non-GCC compilers.
	
	libcpp:
	* configure: Regenerate.
	
	gcc:
	PR bootstrap/18058
	* recog.c (recog_memoized): Don't define if GENERATOR_FILE.
	* ggc-none.c (ggc_free): Define.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/ChangeLog.diff?cvsroot=gcc&r1=1.58&r2=1.59
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/config/warnings.m4.diff?cvsroot=gcc&r1=1.1&r2=1.2
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/ChangeLog.diff?cvsroot=gcc&r1=1.49&r2=1.50
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/libcpp/configure.diff?cvsroot=gcc&r1=1.11&r2=1.12
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7248&r2=2.7249
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ggc-none.c.diff?cvsroot=gcc&r1=1.20&r2=1.21
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/recog.h.diff?cvsroot=gcc&r1=1.52&r2=1.53



-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (20 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-23 19:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-23 19:41 -------
This should be fixed now, correct?  Please close if it is fully fixed, otherwise please report what is the 
correct error.

-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (21 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-23 20:22 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-23 20:22 -------
> This should be fixed now, correct?  Please close if it is fully fixed,
> otherwise please report what is the correct error.

cc -erroff   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC    
-DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genflags \
        build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/min-insn-modes.o build/gensupport.o build/insn-conditions.o
build/print-rtl.o \
        build/errors.o ../build-sparc-sun-solaris2.8/libiberty/libiberty.a
ild: (undefined symbol) vec_gc_free -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) bitmap_zero_bits -- referenced in the text segment of
build/insn-conditions.o
ild: (undefined symbol) vec_gc_p_reserve -- referenced in the text segment of
build/insn-conditions.o
gmake[2]: *** [build/genflags] Error 5


-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (22 preceding siblings ...)
  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
  25 siblings, 0 replies; 27+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-01-23 20:28 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From pinskia at gcc dot gnu dot org  2005-01-23 20:28 -------
(In reply to comment #22)
> > This should be fixed now, correct?  Please close if it is fully fixed,
> > otherwise please report what is the correct error.
> 
> cc -erroff   -g -DENABLE_CHECKING -DENABLE_ASSERT_CHECKING -DIN_GCC    
> -DHAVE_CONFIG_H -DGENERATOR_FILE  -o build/genflags \
>         build/genflags.o build/rtl.o build/read-rtl.o build/ggc-none.o
> build/min-insn-modes.o build/gensupport.o build/insn-conditions.o
> build/print-rtl.o \
>         build/errors.o ../build-sparc-sun-solaris2.8/libiberty/libiberty.a

Oh, that is because only part of the patch was applied (I should have seen that).


-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (23 preceding siblings ...)
  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
  25 siblings, 0 replies; 27+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-01-24 12:08 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-01-24 12:08 -------
Subject: Bug 18058

CVSROOT:	/cvs/gcc
Module name:	gcc
Changes by:	jsm28@gcc.gnu.org	2005-01-24 12:08:07

Modified files:
	gcc            : ChangeLog genconditions.c 

Log message:
	PR bootstrap/18058
	* genconditions.c (write_header, write_conditions): Elide file if
	not GCC >= 3.0.1.

Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.7259&r2=2.7260
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/genconditions.c.diff?cvsroot=gcc&r1=1.13&r2=1.14



-- 


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


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

* [Bug bootstrap/18058] [4.0 Regression] Sun CC cannot bootstrap GCC (static inline)
  2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
                   ` (24 preceding siblings ...)
  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
  25 siblings, 0 replies; 27+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2005-01-24 12:20 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From ebotcazou at gcc dot gnu dot org  2005-01-24 12:20 -------
Thanks Joseph!


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2005-01-24 12:20 UTC | newest]

Thread overview: 27+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-19 12:57 [Bug bootstrap/18058] New: Sun CC cannot bootstrap GCC (static inline) 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
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

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