public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline)
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
@ 2006-03-01  6:20 ` ebotcazou at gcc dot gnu dot org
  2006-03-03 18:04 ` pinskia at gcc dot gnu dot org
                   ` (13 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-03-01  6:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #26 from ebotcazou at gcc dot gnu dot org  2006-03-01 06:20 -------
Bootstrap is again broken because of another instance of the problem:

cc -erroff -c   -g -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE -I. -Ibuild
-I/home/eric/svn/gcc/gcc -I/home/eric/svn/gcc/gcc/build
-I/home/eric/svn/gcc/gcc/../include -I./../intl
-I/home/eric/svn/gcc/gcc/../libcpp/include -I/opt/build/eric/local/include
-I/opt/build/eric/local/include -I/home/eric/svn/gcc/gcc/../libdecnumber
-I../libdecnumber    -o build/print-rtl.o /home/eric/svn/gcc/gcc/print-rtl.c
cc -erroff   -g -DIN_GCC     -DHAVE_CONFIG_H -DGENERATOR_FILE  -o
build/genconstants \
    build/genconstants.o build/rtl.o build/read-rtl.o build/ggc-none.o
build/min-insn-modes.o build/gensupport.o build/print-rtl.o build/errors.o
../build-sparc-sun-solaris2.10/libiberty/libiberty.a
Undefined                       first referenced
 symbol                             in file
vec_assert_fail                     build/genconstants.o
vec_heap_p_reserve                  build/genconstants.o
vec_gc_p_reserve                    build/genconstants.o
ld: fatal: Symbol referencing errors. No output written to build/genconstants
gmake[3]: *** [build/genconstants] Error 1
gmake[3]: Leaving directory `/opt/build/eric/gcc/gcc'
gmake[2]: *** [all-stage1-gcc] Error 2
gmake[2]: Leaving directory `/opt/build/eric/gcc'
gmake[1]: *** [stage1-bubble] Error 2
gmake[1]: Leaving directory `/opt/build/eric/gcc'
gmake: *** [all] Error 2

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


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |critical
             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |
            Summary|[4.0 Regression] Sun CC     |[4.2 Regression] Sun CC
                   |cannot bootstrap GCC (static|cannot bootstrap GCC (static
                   |inline)                     |inline)
   Target Milestone|4.0.0                       |4.2.0
            Version|4.0.0                       |4.2.0


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


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

* [Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline)
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
  2006-03-01  6:20 ` [Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
@ 2006-03-03 18:04 ` pinskia at gcc dot gnu dot org
  2006-03-06 15:07 ` patchapp at dberlin dot org
                   ` (12 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-03 18:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #27 from pinskia at gcc dot gnu dot org  2006-03-03 18:04 -------
These functions come from vec.c, I wonder if we can aviod the ggc functions
show different.  Note this is why having the same header file for build and
host is hard to keep updated.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |NEW


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


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

* [Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline)
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
  2006-03-01  6:20 ` [Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
  2006-03-03 18:04 ` pinskia at gcc dot gnu dot org
@ 2006-03-06 15:07 ` patchapp at dberlin dot org
  2006-05-10 17:49 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0" pinskia at gcc dot gnu dot org
                   ` (11 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: patchapp at dberlin dot org @ 2006-03-06 15:07 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #28 from patchapp at dberlin dot org  2006-03-06 15:07 -------
Subject: Bug number PR bootstrap/18058

A patch for this bug has been added to the patch tracker.
The mailing list url for the patch is
http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00297.html


-- 


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (2 preceding siblings ...)
  2006-03-06 15:07 ` patchapp at dberlin dot org
@ 2006-05-10 17:49 ` pinskia at gcc dot gnu dot org
  2006-05-20 19:55 ` pinskia at gcc dot gnu dot org
                   ` (10 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-10 17:49 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #29 from pinskia at gcc dot gnu dot org  2006-05-10 17:48 -------
Since Honza's patch to emit static and inline functions at -O0, this now fails
with BOOTCFLAGS as -O0.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|critical                    |blocker
            Summary|[4.2 Regression] Sun CC     |[4.2 Regression] Bootstrap
                   |cannot bootstrap GCC (static|fails with BOOTCFLAGS="-O0"
                   |inline)                     |


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (3 preceding siblings ...)
  2006-05-10 17:49 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0" pinskia at gcc dot gnu dot org
@ 2006-05-20 19:55 ` pinskia at gcc dot gnu dot org
  2006-06-03 22:13 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions" pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-05-20 19:55 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #30 from pinskia at gcc dot gnu dot org  2006-05-20 19:54 -------
*** Bug 27251 has been marked as a duplicate of this bug. ***


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |r_ovidius at eml dot cc


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (4 preceding siblings ...)
  2006-05-20 19:55 ` pinskia at gcc dot gnu dot org
@ 2006-06-03 22:13 ` pinskia at gcc dot gnu dot org
  2006-06-11  8:36 ` steven at gcc dot gnu dot org
                   ` (8 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-03 22:13 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #31 from pinskia at gcc dot gnu dot org  2006-06-03 22:13 -------
(In reply to comment #29)
> Since Honza's patch to emit static and inline functions at -O0, this now fails
> with BOOTCFLAGS as -O0.

Now Honza changed the behavior back to old one for static inline functions but
we still have issues in general anyways.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|[4.2 Regression] Bootstrap  |[4.2 Regression] Bootstrap
                   |fails with BOOTCFLAGS="-O0" |fails with BOOTCFLAGS="-O0 -
                   |                            |fkeep-inline-functions"


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (5 preceding siblings ...)
  2006-06-03 22:13 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions" pinskia at gcc dot gnu dot org
@ 2006-06-11  8:36 ` steven at gcc dot gnu dot org
  2006-06-11 13:12 ` pinskia at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-06-11  8:36 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #32 from steven at gcc dot gnu dot org  2006-06-11 08:35 -------
Issues in general are not specific enough.  The question is, do we still have a
regression here.


-- 

steven at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |WAITING
           Keywords|patch                       |


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (6 preceding siblings ...)
  2006-06-11  8:36 ` steven at gcc dot gnu dot org
@ 2006-06-11 13:12 ` pinskia at gcc dot gnu dot org
  2006-06-11 17:35 ` ebotcazou at gcc dot gnu dot org
                   ` (6 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-11 13:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #33 from pinskia at gcc dot gnu dot org  2006-06-11 13:10 -------
Yes because 4.1.0 was able to compile with Sun's CC.
This was caused by:
2006-01-22  Zack Weinberg  <zackw@panix.com>

        * genautomata.c: Include vec.h, not varray.h.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW
   Last reconfirmed|2005-01-11 10:41:41         |2006-06-11 13:10:31
               date|                            |


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (7 preceding siblings ...)
  2006-06-11 13:12 ` pinskia at gcc dot gnu dot org
@ 2006-06-11 17:35 ` ebotcazou at gcc dot gnu dot org
  2006-06-11 20:30 ` steven at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-06-11 17:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #34 from ebotcazou at gcc dot gnu dot org  2006-06-11 15:44 -------
> Issues in general are not specific enough.  The question is, do we still have a
> regression here.

Read the subject...


-- 


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (8 preceding siblings ...)
  2006-06-11 17:35 ` ebotcazou at gcc dot gnu dot org
@ 2006-06-11 20:30 ` steven at gcc dot gnu dot org
  2006-06-11 20:42 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: steven at gcc dot gnu dot org @ 2006-06-11 20:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #35 from steven at gcc dot gnu dot org  2006-06-11 20:28 -------
Re. comment #34: Read comment #31.  If one bug is used for (at least) two
different problems, confusion is what you get.

Anyway, your patch is apparently still unreviewed...?


-- 


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (9 preceding siblings ...)
  2006-06-11 20:30 ` steven at gcc dot gnu dot org
@ 2006-06-11 20:42 ` pinskia at gcc dot gnu dot org
  2006-06-11 22:33 ` ebotcazou at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-06-11 20:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #36 from pinskia at gcc dot gnu dot org  2006-06-11 20:30 -------
(In reply to comment #35)
> Re. comment #34: Read comment #31.  If one bug is used for (at least) two
> different problems, confusion is what you get.

Well the problem is the same issue and has been the same issue, just how to get
it exposed has changed from just with -fkeep-inline-functions to -O0 and now
back to with -fkeep-inline-functions.  The problem itself has not changed
though.


-- 


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (10 preceding siblings ...)
  2006-06-11 20:42 ` pinskia at gcc dot gnu dot org
@ 2006-06-11 22:33 ` ebotcazou at gcc dot gnu dot org
  2006-07-03 15:23 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-06-11 22:33 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #37 from ebotcazou at gcc dot gnu dot org  2006-06-11 20:58 -------
> Re. comment #34: Read comment #31.  If one bug is used for (at least) two
> different problems, confusion is what you get.

My understanding is that there is a unique underlying problem.

> Anyway, your patch is apparently still unreviewed...?

Yes, at this point, I'm totally desperate. :-)


-- 


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (11 preceding siblings ...)
  2006-06-11 22:33 ` ebotcazou at gcc dot gnu dot org
@ 2006-07-03 15:23 ` ebotcazou at gcc dot gnu dot org
  2006-07-04  7:53 ` ebotcazou at gcc dot gnu dot org
  2006-07-04  7:54 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with non-GCC compilers ebotcazou at gcc dot gnu dot org
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-07-03 15:23 UTC (permalink / raw)
  To: gcc-bugs



-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|NEW                         |ASSIGNED
   Last reconfirmed|2006-06-11 13:10:31         |2006-07-03 15:23:11
               date|                            |


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions"
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (12 preceding siblings ...)
  2006-07-03 15:23 ` ebotcazou at gcc dot gnu dot org
@ 2006-07-04  7:53 ` ebotcazou at gcc dot gnu dot org
  2006-07-04  7:54 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with non-GCC compilers ebotcazou at gcc dot gnu dot org
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-07-04  7:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #38 from ebotcazou at gcc dot gnu dot org  2006-07-04 07:52 -------
Subject: Bug 18058

Author: ebotcazou
Date: Tue Jul  4 07:52:47 2006
New Revision: 115172

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115172
Log:
        PR bootstrap/18058
        * configure.in: Add -fkeep-inline-functions to CFLAGS for stage 1
        if the bootstrap compiler is a GCC version that supports it.
        * configure: Regenerate.
gcc/
        * Makefile.in (BUILD_RTL): Add build/vec.o.
        (build/gencondmd.o): Filter out -fkeep-inline-functions.
        (build/genextract): Delete.
        (build/genautomata): Likewise.


Modified:
    trunk/ChangeLog
    trunk/configure
    trunk/configure.in
    trunk/gcc/ChangeLog
    trunk/gcc/Makefile.in


-- 


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


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

* [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with non-GCC compilers
       [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
                   ` (13 preceding siblings ...)
  2006-07-04  7:53 ` ebotcazou at gcc dot gnu dot org
@ 2006-07-04  7:54 ` ebotcazou at gcc dot gnu dot org
  14 siblings, 0 replies; 15+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2006-07-04  7:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #39 from ebotcazou at gcc dot gnu dot org  2006-07-04 07:54 -------
Thanks a bunch to Geoff!


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED
            Summary|[4.2 Regression] Bootstrap  |[4.2 Regression] Bootstrap
                   |fails with BOOTCFLAGS="-O0 -|fails with non-GCC compilers
                   |fkeep-inline-functions"     |


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


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

end of thread, other threads:[~2006-07-04  7:54 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <bug-18058-226@http.gcc.gnu.org/bugzilla/>
2006-03-01  6:20 ` [Bug bootstrap/18058] [4.2 Regression] Sun CC cannot bootstrap GCC (static inline) ebotcazou at gcc dot gnu dot org
2006-03-03 18:04 ` pinskia at gcc dot gnu dot org
2006-03-06 15:07 ` patchapp at dberlin dot org
2006-05-10 17:49 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0" pinskia at gcc dot gnu dot org
2006-05-20 19:55 ` pinskia at gcc dot gnu dot org
2006-06-03 22:13 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with BOOTCFLAGS="-O0 -fkeep-inline-functions" pinskia at gcc dot gnu dot org
2006-06-11  8:36 ` steven at gcc dot gnu dot org
2006-06-11 13:12 ` pinskia at gcc dot gnu dot org
2006-06-11 17:35 ` ebotcazou at gcc dot gnu dot org
2006-06-11 20:30 ` steven at gcc dot gnu dot org
2006-06-11 20:42 ` pinskia at gcc dot gnu dot org
2006-06-11 22:33 ` ebotcazou at gcc dot gnu dot org
2006-07-03 15:23 ` ebotcazou at gcc dot gnu dot org
2006-07-04  7:53 ` ebotcazou at gcc dot gnu dot org
2006-07-04  7:54 ` [Bug bootstrap/18058] [4.2 Regression] Bootstrap fails with non-GCC compilers 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).