[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-16 Thread spop at gcc dot gnu dot org


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



[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-16 Thread spop at gcc dot gnu dot org


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

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



[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-15 Thread rguenth at gcc dot gnu dot org


-- 

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



[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-15 Thread ubizjak at gmail dot com


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



[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-15 Thread ubizjak at gmail dot com


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



[Bug bootstrap/45680] [4.6 regression] cc1 fails to link on Solaris 9/x86 with Sun as: min_insn_size missing

2010-09-15 Thread reza dot yazdani at amd dot com


--- 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-bugzi...@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  

* 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