public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/43202]  New: wrong arch picked for i*86 intel darwin
@ 2010-02-27 21:32 howarth at nitro dot med dot uc dot edu
  2010-02-27 21:37 ` [Bug bootstrap/43202] " hjl dot tools at gmail dot com
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-02-27 21:32 UTC (permalink / raw)
  To: gcc-bugs

After r157110, the wrong architecture, pentiumpro, is selected for gcc trunk
built with...

Using built-in specs.
COLLECT_GCC=gcc-4
COLLECT_LTO_WRAPPER=/sw/lib/gcc4.5/libexec/gcc/i686-apple-darwin10/4.5.0/lto-wrapper
Target: i686-apple-darwin10
Configured with: ../gcc-4.5-20100227/configure --prefix=/sw
--prefix=/sw/lib/gcc4.5 --mandir=/sw/share/man --infodir=/sw/share/info
--enable-languages=c,c++,fortran,objc,obj-c++,java --with-gmp=/sw
--with-libiconv-prefix=/sw --with-ppl=/sw --with-cloog=/sw --with-mpc=/sw
--with-system-zlib --x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib
--disable-libjava-multilib --build=i686-apple-darwin10
--host=i686-apple-darwin10 --target=i686-apple-darwin10
Thread model: posix
gcc version 4.5.0 20100227 (experimental) (GCC) 

The specs for the compiler are shown to be...

# GNU C++ (GCC) version 4.5.0 20100227 (experimental) (i686-apple-darwin10)
#       compiled by GNU C version 4.5.0 20100227 (experimental), GMP version
5.0.0, MPFR version 2.4.1, MPC version 0.8
# GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
# options passed:  -D__DYNAMIC__ t.cc -fPIC -mmacosx-version-min=10.6.3
# -mtune=generic -march=pentiumpro -fverbose-asm
# options enabled:  -fPIC -falign-loops -fargument-alias -fauto-inc-dec
# -fbranch-count-reg -fcommon -fdelete-null-pointer-checks -fearly-inlining
# -feliminate-unused-debug-types -fexceptions -ffunction-cse -fgcse-lm
# -fident -finline-functions-called-once -fira-share-save-slots
# -fira-share-spill-slots -fivopts -fkeep-static-consts
# -fleading-underscore -fmerge-debug-strings -fmove-loop-invariants
# -fpeephole -freg-struct-return -fsched-critical-path-heuristic
# -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
# -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
# -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fshow-column
# -fsigned-zeros -fsplit-ivs-in-unroller -ftrapping-math -ftree-cselim
# -ftree-forwprop -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
# -ftree-parallelize-loops= -ftree-phiprop -ftree-pta -ftree-reassoc
# -ftree-scev-cprop -ftree-slp-vectorize -ftree-vect-loop-version
# -funit-at-a-time -fvect-cost-model -fverbose-asm
# -fzero-initialized-in-bss -gstrict-dwarf -m128bit-long-double -m32
# -m80387 -maccumulate-outgoing-args -malign-stringops -mfancy-math-387
# -mfp-ret-in-387 -mfused-madd -mieee-fp -mno-red-zone -mno-sse4
# -mpush-args -msahf

without even supporting sse2 now. This problem didn't seem to be present in the
original
proposed patch at http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01191.html.


-- 
           Summary: wrong arch picked for i*86 intel darwin
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: howarth at nitro dot med dot uc dot edu
 GCC build triplet: i686-apple-darwin10
  GCC host triplet: i686-apple-darwin10
GCC target triplet: i686-apple-darwin10


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


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

* [Bug bootstrap/43202] wrong arch picked for i*86 intel darwin
  2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
@ 2010-02-27 21:37 ` hjl dot tools at gmail dot com
  2010-02-27 22:28 ` howarth at nitro dot med dot uc dot edu
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-27 21:37 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from hjl dot tools at gmail dot com  2010-02-27 21:37 -------
Please try

http://gcc.gnu.org/ml/gcc-patches/2010-02/msg01222.html


-- 

hjl dot tools at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                URL|                            |http://gcc.gnu.org/ml/gcc-
                   |                            |patches/2010-
                   |                            |02/msg01222.html
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/43202] wrong arch picked for i*86 intel darwin
  2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
  2010-02-27 21:37 ` [Bug bootstrap/43202] " hjl dot tools at gmail dot com
@ 2010-02-27 22:28 ` howarth at nitro dot med dot uc dot edu
  2010-02-27 22:35 ` hjl dot tools at gmail dot com
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: howarth at nitro dot med dot uc dot edu @ 2010-02-27 22:28 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from howarth at nitro dot med dot uc dot edu  2010-02-27 22:28 -------
With the patch proposed in comment 1, I now get...

# GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
# options passed:  -D__DYNAMIC__ t.cc -fPIC -mmacosx-version-min=10.6.3
# -mtune=generic -march=prescott -fverbose-asm
# options enabled:  -fPIC -falign-loops -fargument-alias -fauto-inc-dec
# -fbranch-count-reg -fcommon -fdelete-null-pointer-checks -fearly-inlining
# -feliminate-unused-debug-types -fexceptions -ffunction-cse -fgcse-lm
# -fident -finline-functions-called-once -fira-share-save-slots
# -fira-share-spill-slots -fivopts -fkeep-static-consts
# -fleading-underscore -fmerge-debug-strings -fmove-loop-invariants
# -fpeephole -freg-struct-return -fsched-critical-path-heuristic
# -fsched-dep-count-heuristic -fsched-group-heuristic -fsched-interblock
# -fsched-last-insn-heuristic -fsched-rank-heuristic -fsched-spec
# -fsched-spec-insn-heuristic -fsched-stalled-insns-dep -fshow-column
# -fsigned-zeros -fsplit-ivs-in-unroller -ftrapping-math -ftree-cselim
# -ftree-forwprop -ftree-loop-im -ftree-loop-ivcanon -ftree-loop-optimize
# -ftree-parallelize-loops= -ftree-phiprop -ftree-pta -ftree-reassoc
# -ftree-scev-cprop -ftree-slp-vectorize -ftree-vect-loop-version
# -funit-at-a-time -fvect-cost-model -fverbose-asm
# -fzero-initialized-in-bss -gstrict-dwarf -m128bit-long-double -m32
# -m80387 -maccumulate-outgoing-args -malign-stringops -mfancy-math-387
# -mfp-ret-in-387 -mfused-madd -mieee-fp -mmmx -mno-red-zone -mno-sse4
# -mpush-args -msahf -msse -msse2 -msse3


-- 


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


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

* [Bug bootstrap/43202] wrong arch picked for i*86 intel darwin
  2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
  2010-02-27 21:37 ` [Bug bootstrap/43202] " hjl dot tools at gmail dot com
  2010-02-27 22:28 ` howarth at nitro dot med dot uc dot edu
@ 2010-02-27 22:35 ` hjl dot tools at gmail dot com
  2010-02-28  7:23 ` hjl at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-27 22:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from hjl dot tools at gmail dot com  2010-02-27 22:34 -------
(In reply to comment #2)
> With the patch proposed in comment 1, I now get...
> 

Does it fix your problem?


-- 


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


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

* [Bug bootstrap/43202] wrong arch picked for i*86 intel darwin
  2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
                   ` (2 preceding siblings ...)
  2010-02-27 22:35 ` hjl dot tools at gmail dot com
@ 2010-02-28  7:23 ` hjl at gcc dot gnu dot org
  2010-02-28  7:24 ` hjl dot tools at gmail dot com
  2010-02-28  7:57 ` hjl at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-02-28  7:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl at gcc dot gnu dot org  2010-02-28 07:23 -------
Subject: Bug 43202

Author: hjl
Date: Sun Feb 28 07:23:31 2010
New Revision: 157118

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157118
Log:
Restore i[34567]86-*-darwin* bootstrap.

2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>

        PR bootstrap/43202
        * config.gcc: Enable SSE math for i[34567]86-*-darwin* by
        default.  Set the default 32bit/64bit archs with $with_arch
        instead of $arch for i[34567]86-*-*|x86_64-*-* targets.

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


-- 


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


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

* [Bug bootstrap/43202] wrong arch picked for i*86 intel darwin
  2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
                   ` (3 preceding siblings ...)
  2010-02-28  7:23 ` hjl at gcc dot gnu dot org
@ 2010-02-28  7:24 ` hjl dot tools at gmail dot com
  2010-02-28  7:57 ` hjl at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hjl dot tools at gmail dot com @ 2010-02-28  7:24 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl dot tools at gmail dot com  2010-02-28 07:24 -------
Fixed.


-- 

hjl dot tools at gmail dot com changed:

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


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


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

* [Bug bootstrap/43202] wrong arch picked for i*86 intel darwin
  2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
                   ` (4 preceding siblings ...)
  2010-02-28  7:24 ` hjl dot tools at gmail dot com
@ 2010-02-28  7:57 ` hjl at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: hjl at gcc dot gnu dot org @ 2010-02-28  7:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from hjl at gcc dot gnu dot org  2010-02-28 07:56 -------
Subject: Bug 43202

Author: hjl
Date: Sun Feb 28 07:56:36 2010
New Revision: 157119

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=157119
Log:
Don't set the default arch for i[34567]86-*-darwin*|x86_64-*-darwin*.

2010-02-27  H.J. Lu  <hongjiu.lu@intel.com>

        PR bootstrap/43202
        * config.gcc: Don't enable SSE math for i[34567]86-*-darwin*
        by default.  Don't set the default arch for
        i[34567]86-*-darwin*|x86_64-*-darwin*.

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


-- 


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


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

end of thread, other threads:[~2010-02-28  7:57 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-27 21:32 [Bug bootstrap/43202] New: wrong arch picked for i*86 intel darwin howarth at nitro dot med dot uc dot edu
2010-02-27 21:37 ` [Bug bootstrap/43202] " hjl dot tools at gmail dot com
2010-02-27 22:28 ` howarth at nitro dot med dot uc dot edu
2010-02-27 22:35 ` hjl dot tools at gmail dot com
2010-02-28  7:23 ` hjl at gcc dot gnu dot org
2010-02-28  7:24 ` hjl dot tools at gmail dot com
2010-02-28  7:57 ` hjl 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).