public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/45680]  New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
@ 2010-09-15 17:28 ro at gcc dot gnu dot org
  2010-09-15 18:16 ` [Bug bootstrap/45680] " reza dot yazdani at amd dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: ro at gcc dot gnu dot org @ 2010-09-15 17:28 UTC (permalink / raw)
  To: gcc-bugs

Between 20100908 and 20100915, mainline failed to bootstrap on Solaris 9/x86
with Sun as: cc1 doesn't link any more due to an undefined referenced to
min_insn_size.

This is most likely from this patch

2010-09-09  Reza Yazdani  <reza.yazdani@amd.com>

        * config/i386/i386.c: Include sched-int.h.
        (TARGET_SCHED_DISPATCH): Defined.
        (TARGET_SCHED_DISPATCH_DO): Defined.
        (DISPATCH_WINDOW_SIZE): Defined.
        (MAX_DISPATCH_WINDOWS): Defined.
[...]

which contains several new references to min_insn_size and the only recent one
to add such calls.

Reza, could you please have a look?


-- 
           Summary: [4.6 regression] cc1 fails to link on Solaris 9/x86 with
                    Sun as: min_insn_size missing
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.9
  GCC host triplet: i386-pc-solaris2.9
GCC target triplet: i386-pc-solaris2.9


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


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

* [Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
  2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
@ 2010-09-15 18:16 ` reza dot yazdani at amd dot com
  2010-09-15 18:21 ` ubizjak at gmail dot com
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: reza dot yazdani at amd dot com @ 2010-09-15 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from reza dot yazdani at amd dot com  2010-09-15 18:16 -------
Subject: RE:   New: [4.6 regression] cc1 fails to link
 on Solaris 9/x86 with Sun as: min_insn_size missing

I will and let you know.

Reza

-----Original Message-----
From: ro at gcc dot gnu dot org [mailto:gcc-bugzilla@gcc.gnu.org] 
Sent: Wednesday, September 15, 2010 10:28 AM
To: Yazdani, Reza
Subject: [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on
Solaris 9/x86 with Sun as: min_insn_size missing

Between 20100908 and 20100915, mainline failed to bootstrap on Solaris 9/x86
with Sun as: cc1 doesn't link any more due to an undefined referenced to
min_insn_size.

This is most likely from this patch

2010-09-09  Reza Yazdani  <reza.yazdani@amd.com>

        * config/i386/i386.c: Include sched-int.h.
        (TARGET_SCHED_DISPATCH): Defined.
        (TARGET_SCHED_DISPATCH_DO): Defined.
        (DISPATCH_WINDOW_SIZE): Defined.
        (MAX_DISPATCH_WINDOWS): Defined.
[...]

which contains several new references to min_insn_size and the only recent one
to add such calls.

Reza, could you please have a look?


-- 
           Summary: [4.6 regression] cc1 fails to link on Solaris 9/x86 with
                    Sun as: min_insn_size missing
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at gcc dot gnu dot org
 GCC build triplet: i386-pc-solaris2.9
  GCC host triplet: i386-pc-solaris2.9
GCC target triplet: i386-pc-solaris2.9


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


-- 


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


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

* [Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
  2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
  2010-09-15 18:16 ` [Bug bootstrap/45680] " reza dot yazdani at amd dot com
@ 2010-09-15 18:21 ` ubizjak at gmail dot com
  2010-09-15 18:26 ` ubizjak at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2010-09-15 18:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ubizjak at gmail dot com  2010-09-15 18:21 -------
(In reply to comment #0)

> This is most likely from this patch

FYI, this patch also introduced the same build failure when building cc1 from
linux to cygwin cross. Before this patch, cc1 build went just fine even without
cygwin binutils.


-- 


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


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

* [Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
  2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
  2010-09-15 18:16 ` [Bug bootstrap/45680] " reza dot yazdani at amd dot com
  2010-09-15 18:21 ` ubizjak at gmail dot com
@ 2010-09-15 18:26 ` ubizjak at gmail dot com
  2010-09-15 19:18 ` rguenth at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: ubizjak at gmail dot com @ 2010-09-15 18:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from ubizjak at gmail dot com  2010-09-15 18:26 -------
(In reply to comment #2)
> (In reply to comment #0)
> 
> > This is most likely from this patch
> 
> FYI, this patch also introduced the same build failure when building cc1 from
> linux to cygwin cross. Before this patch, cc1 build went just fine even without
> cygwin binutils.

Ah, the failure happens when HAVE_GAS_MAX_SKIP_P2ALIGN is undefined. In this
case, ASM_OUTPUT_MAX_SKIP_PAD is undefined (see i386.h, line 2045) and
following this, min_insn_size doesn't get compiled in.


-- 


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


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

* [Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
  2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2010-09-15 18:26 ` ubizjak at gmail dot com
@ 2010-09-15 19:18 ` rguenth at gcc dot gnu dot org
  2010-09-16 17:20 ` spop at gcc dot gnu dot org
  2010-09-16 17:21 ` spop at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-15 19:18 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.6.0


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


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

* [Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
  2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2010-09-15 19:18 ` rguenth at gcc dot gnu dot org
@ 2010-09-16 17:20 ` spop at gcc dot gnu dot org
  2010-09-16 17:21 ` spop at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-09-16 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from spop at gcc dot gnu dot org  2010-09-16 17:19 -------
Subject: Bug 45680

Author: spop
Date: Thu Sep 16 17:19:25 2010
New Revision: 164345

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164345
Log:
Fix PR45680.

2010-09-16  Reza Yazdani  <reza.yazdani@amd.com>

        PR bootstrap/45680
        * config/i386/i386.c (min_insn_size): Moved out of the
        ASM_OUTPUT_MAX_SKIP_PAD ifdef.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c


-- 


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


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

* [Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing
  2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2010-09-16 17:20 ` spop at gcc dot gnu dot org
@ 2010-09-16 17:21 ` spop at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: spop at gcc dot gnu dot org @ 2010-09-16 17:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from spop at gcc dot gnu dot org  2010-09-16 17:21 -------
Fixed.


-- 

spop at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-09-16 17:21 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-09-15 17:28 [Bug bootstrap/45680] New: [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing ro at gcc dot gnu dot org
2010-09-15 18:16 ` [Bug bootstrap/45680] " reza dot yazdani at amd dot com
2010-09-15 18:21 ` ubizjak at gmail dot com
2010-09-15 18:26 ` ubizjak at gmail dot com
2010-09-15 19:18 ` rguenth at gcc dot gnu dot org
2010-09-16 17:20 ` spop at gcc dot gnu dot org
2010-09-16 17:21 ` spop 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).