public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/32161]  New: stage1 libgcc is being built unoptimized
@ 2007-05-31  1:47 geoffk at gcc dot gnu dot org
  2007-05-31  1:51 ` [Bug bootstrap/32161] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: geoffk at gcc dot gnu dot org @ 2007-05-31  1:47 UTC (permalink / raw)
  To: gcc-bugs

The stage1 libgcc.a and crt files are being built with -O0.  This means that
the stage2 cc1 is using unoptimized libgcc.a, but the stage3 cc1 is using
optimized libgcc.a, which is causing them to be different, which is one of a
number of causes for

Comparing stages 2 and 3
warning: ./cc1-checksum.o differs
warning: ./cc1obj-checksum.o differs
warning: ./cc1plus-checksum.o differs

on Darwin.  I suspect this is related to PR 32009 but am not sure they're the
same bug.


-- 
           Summary: stage1 libgcc is being built unoptimized
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: geoffk at gcc dot gnu dot org
GCC target triplet: *-*-darwin*


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
@ 2007-05-31  1:51 ` pinskia at gcc dot gnu dot org
  2007-05-31  6:06 ` bonzini at gnu dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2007-05-31  1:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2007-05-31 01:50 -------
> Comparing stages 2 and 3
> warning: ./cc1-checksum.o differs
> warning: ./cc1obj-checksum.o differs
> warning: ./cc1plus-checksum.o differs

This has been happening for me before the branch of 4.2.


-- 


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
  2007-05-31  1:51 ` [Bug bootstrap/32161] " pinskia at gcc dot gnu dot org
@ 2007-05-31  6:06 ` bonzini at gnu dot org
  2007-08-31 21:34 ` zadeck at naturalbridge dot com
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gnu dot org @ 2007-05-31  6:06 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from bonzini at gnu dot org  2007-05-31 06:06 -------
I'm not sure we actually want to build libgcc stage1 optimized.  But yes,
fixing 32009 will provide a way to fix this.


-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  BugsThisDependsOn|                            |32009


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
  2007-05-31  1:51 ` [Bug bootstrap/32161] " pinskia at gcc dot gnu dot org
  2007-05-31  6:06 ` bonzini at gnu dot org
@ 2007-08-31 21:34 ` zadeck at naturalbridge dot com
  2007-09-02 11:29 ` bonzini at gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: zadeck at naturalbridge dot com @ 2007-08-31 21:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from zadeck at naturalbridge dot com  2007-08-31 21:34 -------
At least on the x86-32, libgcc is currently being built optimized, but the
options are slightly different.  the stage1 build does not do
-fomit-frame-pointer.


-- 


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2007-08-31 21:34 ` zadeck at naturalbridge dot com
@ 2007-09-02 11:29 ` bonzini at gnu dot org
  2008-02-20  7:56 ` bonzini at gnu dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gnu dot org @ 2007-09-02 11:29 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from bonzini at gnu dot org  2007-09-02 11:29 -------


*** This bug has been marked as a duplicate of 32009 ***


-- 

bonzini at gnu dot org changed:

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


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2008-02-20  7:56 ` bonzini at gnu dot org
@ 2008-02-20  7:56 ` bonzini at gnu dot org
  2008-02-20 14:12 ` bonzini at gcc dot gnu dot org
  2008-04-05  8:54 ` bonzini at gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gnu dot org @ 2008-02-20  7:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from bonzini at gnu dot org  2008-02-20 07:55 -------
actually it is not a dup.  but I do have a patch that will solve both.


-- 

bonzini at gnu dot org changed:

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


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2007-09-02 11:29 ` bonzini at gnu dot org
@ 2008-02-20  7:56 ` bonzini at gnu dot org
  2008-02-20  7:56 ` bonzini at gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gnu dot org @ 2008-02-20  7:56 UTC (permalink / raw)
  To: gcc-bugs



-- 

bonzini at gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |bonzini at gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2008-02-20 07:56:10
               date|                            |


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2008-02-20  7:56 ` bonzini at gnu dot org
@ 2008-02-20 14:12 ` bonzini at gcc dot gnu dot org
  2008-04-05  8:54 ` bonzini at gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gcc dot gnu dot org @ 2008-02-20 14:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from bonzini at gnu dot org  2008-02-20 14:11 -------
Subject: Bug 32161

Author: bonzini
Date: Wed Feb 20 14:10:40 2008
New Revision: 132479

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=132479
Log:
2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009
        PR bootstrap/32161

        * configure.ac (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Compute here.
        * configure: Regenerate.

        * Makefile.def: Define stage_libcflags for all bootstrap stages.
        * Makefile.tpl (STAGE1_LIBCFLAGS, STAGE2_LIBCFLAGS, STAGE3_LIBCFLAGS,
        STAGE4_LIBCFLAGS): New.
        (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Subst from autoconf, without
        $(SYSROOT_CFLAGS_FOR_TARGET) and $(DEBUG_PREFIX_CFLAGS_FOR_TARGET).
        (BASE_TARGET_EXPORTS): Append them here to C{,XX}FLAGS.
        (EXTRA_TARGET_FLAGS): Append them here to {LIB,}C{,XX}FLAGS.
        (configure-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags
        for target modules.  Don't export LIBCFLAGS.
        (all-stage[+id+]-[+prefix+][+module+]): Pass stage_libcflags; pass
        $(BASE_FLAGS_TO_PASS) where [+args+] was passed, and [+args+] after
        the overridden CFLAGS_FOR_TARGET and CXXFLAGS_FOR_TARGET.
        (invocations of `all'): Replace $(TARGET_FLAGS_TO_PASS) with
        $(EXTRA_TARGET_FLAGS), $(FLAGS_TO_PASS) with $(EXTRA_HOST_FLAGS).
        * Makefile.in: Regenerate.

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        PR bootstrap/32009

        * mh-ppc-darwin (BOOT_CFLAGS): Reenable.

2008-02-20  Paolo Bonzini  <bonzini@gnu.org>

        * doc/install.texi: Correct references to CFLAGS, replacing them
        with BOOT_CFLAGS.  Document flags used during bootstrap for
        target libraries.


Modified:
    trunk/ChangeLog
    trunk/Makefile.def
    trunk/Makefile.in
    trunk/Makefile.tpl
    trunk/config/ChangeLog
    trunk/config/mh-ppc-darwin
    trunk/configure
    trunk/configure.ac
    trunk/gcc/ChangeLog
    trunk/gcc/doc/install.texi


-- 


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


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

* [Bug bootstrap/32161] stage1 libgcc is being built unoptimized
  2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2008-02-20 14:12 ` bonzini at gcc dot gnu dot org
@ 2008-04-05  8:54 ` bonzini at gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: bonzini at gnu dot org @ 2008-04-05  8:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from bonzini at gnu dot org  2008-04-05 08:53 -------
this was fixed


-- 

bonzini at gnu dot org changed:

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


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


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

end of thread, other threads:[~2008-04-05  8:54 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-31  1:47 [Bug bootstrap/32161] New: stage1 libgcc is being built unoptimized geoffk at gcc dot gnu dot org
2007-05-31  1:51 ` [Bug bootstrap/32161] " pinskia at gcc dot gnu dot org
2007-05-31  6:06 ` bonzini at gnu dot org
2007-08-31 21:34 ` zadeck at naturalbridge dot com
2007-09-02 11:29 ` bonzini at gnu dot org
2008-02-20  7:56 ` bonzini at gnu dot org
2008-02-20  7:56 ` bonzini at gnu dot org
2008-02-20 14:12 ` bonzini at gcc dot gnu dot org
2008-04-05  8:54 ` bonzini at 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).