public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/26146]  New: Bootstrapping mainline on Solaris 10/x86 fails
@ 2006-02-07  1:10 gcc-bugzilla at gcc dot gnu dot org
  2006-02-07  1:12 ` [Bug target/26146] " ro at gcc dot gnu dot org
                   ` (10 more replies)
  0 siblings, 11 replies; 12+ messages in thread
From: gcc-bugzilla at gcc dot gnu dot org @ 2006-02-07  1:10 UTC (permalink / raw)
  To: gcc-bugs


Trying to bootstrap mainline as of 20060206 on i386-pc-solaris2.10 with gas
2.15 and no options to select a specific target fails when trying to build
the amd64 libgcc multilib:

/vol/gcc/obj/gcc-4.2.0-20060206/10-gcc-gas/./gcc/xgcc
-B/vol/gcc/obj/gcc-4.2.0-20060206/10-gcc-gas/./gcc/
-B/vol/gcc/share/i386-pc-solaris2.10/bin/
-B/vol/gcc/share/i386-pc-solaris2.10/lib/ -isystem
/vol/gcc/share/i386-pc-solaris2.10/include -isystem
/vol/gcc/share/i386-pc-solaris2.10/sys-include -O2 -g -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include  -I. -Iamd64 -I/vol/gcc/src/gcc-dist/gcc
-I/vol/gcc/src/gcc-dist/gcc/amd64 -I/vol/gcc/src/gcc-dist/gcc/../include
-I/vol/gcc/src/gcc-dist/gcc/../libcpp/include -I/vol/gnu/obj/gmp-4.1.3/mpfr
-I/vol/gnu/obj/gmp-4.1.3 -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber
-I../libdecnumber -m64 \
        -c /vol/gcc/src/gcc-dist/gcc/config/i386/gmon-sol2.c -o amd64/gmon.o
/vol/gcc/src/gcc-dist/gcc/config/i386/gmon-sol2.c:1: error: CPU you selected
does not support x86-64 instruction set
make[5]: *** [amd64/gmon.o] Error 1

This is due to this patch:

2006-01-19  Jan Hubicka  <jh@suse.cz>
            H.J. Lu  <hongjiu.lu@intel.com>
            Evandro Menezes <evandro.menezes@amd.com>

        * invoke.texi (generic): Document
        (i686) Update.
        * config.gcc: Make x86_64-* and i686-* default to generic tunning.

Adding -v to the xgcc invocation above, I see

/vol/gcc/obj/gcc-4.2.0-20060206/10-gcc-gas/./gcc/cc1 -E -quiet -v -I. -Iamd64
-I/vol/gcc/src/gcc-dist/gcc -I/vol/gcc/src/gcc-dist/gcc/amd64
-I/vol/gcc/src/gcc-dist/gcc/../include
-I/vol/gcc/src/gcc-dist/gcc/../libcpp/include -I/vol/gnu/obj/gmp-4.1.3/mpfr
-I/vol/gnu/obj/gmp-4.1.3 -I/vol/gcc/src/gcc-dist/gcc/../libdecnumber
-I../libdecnumber -imultilib amd64 -iprefix
/amnt/figaro/volumes/obj-gcc/gcc/obj.sol86/gcc-4.2.0-20060206/10-gcc-gas/gcc/../lib/gcc/i386-pc-solaris2.10/4.2.0/
-isystem /vol/gcc/obj/gcc-4.2.0-20060206/10-gcc-gas/./gcc/include -DIN_GCC
-isystem /vol/gcc/share/i386-pc-solaris2.10/include -isystem
/vol/gcc/share/i386-pc-solaris2.10/sys-include -isystem ./include
/vol/gcc/src/gcc-dist/gcc/config/i386/gmon-sol2.c -m64 -mtune=i386 -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
-fworking-directory -O2 -O2 -fpch-preprocess -o gmon-sol2.i

So an implicit -mtune=i386 is passed, which conflicts with -m64 as observed.

Environment:
System: SunOS australien 5.10 Generic_118844-19 i86pc i386 i86pc
Architecture: i86pc


host: i386-pc-solaris2.10
build: i386-pc-solaris2.10
target: i386-pc-solaris2.10
configured with: /vol/gcc/src/gcc-dist/configure --prefix=/vol/gcc
--with-local-prefix=/vol/gcc --disable-nls --with-gnu-as
--with-as=/usr/sfw/bin/gas --with-gmp-dir=/vol/gnu/obj/gmp-4.1.3
--with-mpfr-dir=/vol/gnu/obj/gmp-4.1.3/mpfr
--enable-languages=c,c++,fortran,java,objc,ada --disable-libmudflap

How-To-Repeat:
Bootstrap mainline as described above.


------- Comment #1 from ro at techfak dot uni-bielefeld dot de  2006-02-07 01:10 -------
Fix:
As a workaround, I can configure for i386-sun-solaris2.10; this bootstrap
is currently in stage2 and thus isn't affected.


-- 
           Summary: Bootstrapping mainline on Solaris 10/x86 fails
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ro at techfak dot uni-bielefeld dot de
 GCC build triplet: i386-pc-solaris2.10
  GCC host triplet: i386-pc-solaris2.10
GCC target triplet: i386-pc-solaris2.10


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


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

* [Bug target/26146] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
@ 2006-02-07  1:12 ` ro at gcc dot gnu dot org
  2006-02-07  1:13 ` [Bug target/26146] [4.2 Regression] " pinskia at gcc dot gnu dot org
                   ` (9 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu dot org @ 2006-02-07  1:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ro at gcc dot gnu dot org  2006-02-07 01:12 -------
Jan, this is your patch,  Could you please have a look.  This is a regression
from
the 4.1 branch.


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jh at suse dot cz


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
  2006-02-07  1:12 ` [Bug target/26146] " ro at gcc dot gnu dot org
@ 2006-02-07  1:13 ` pinskia at gcc dot gnu dot org
  2006-02-21 18:42 ` brett dot albertson at stratech dot com
                   ` (8 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-02-07  1:13 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
            Summary|Bootstrapping mainline on   |[4.2 Regression]
                   |Solaris 10/x86 fails        |Bootstrapping mainline on
                   |                            |Solaris 10/x86 fails
   Target Milestone|---                         |4.2.0
            Version|unknown                     |4.2.0


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
  2006-02-07  1:12 ` [Bug target/26146] " ro at gcc dot gnu dot org
  2006-02-07  1:13 ` [Bug target/26146] [4.2 Regression] " pinskia at gcc dot gnu dot org
@ 2006-02-21 18:42 ` brett dot albertson at stratech dot com
  2006-03-02  0:00 ` hjl at lucon dot org
                   ` (7 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: brett dot albertson at stratech dot com @ 2006-02-21 18:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from brett dot albertson at stratech dot com  2006-02-21 18:42 -------
(In reply to comment #0)

> /vol/gcc/src/gcc-dist/gcc/config/i386/gmon-sol2.c:1: error: CPU you selected
> does not support x86-64 instruction set
> make[5]: *** [amd64/gmon.o] Error 1

I confirm that I get this same error.  I'm also building on Solaris 10 x86.  My
triple is i386-pc-solaris2.10 as detected by the configuration machinery.  This
is a regression from 4.1 and 4.0 since those bootstrap successfully.


-- 

brett dot albertson at stratech dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |brett dot albertson at
                   |                            |stratech dot com


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (2 preceding siblings ...)
  2006-02-21 18:42 ` brett dot albertson at stratech dot com
@ 2006-03-02  0:00 ` hjl at lucon dot org
  2006-03-02  1:59 ` hjl at lucon dot org
                   ` (6 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2006-03-02  0:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from hjl at lucon dot org  2006-03-01 23:59 -------
Created an attachment (id=10951)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10951&action=view)
A patch

This patch should fix "configure i386-pc-solaris2.10". But have

# configure i[456]86-pc-solaris2.10
# onfigure --with-cpu=i[3456]86 i386-pc-solaris2.10

ever worked before? My patch doesn't address those.


-- 


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (3 preceding siblings ...)
  2006-03-02  0:00 ` hjl at lucon dot org
@ 2006-03-02  1:59 ` hjl at lucon dot org
  2006-03-02 12:29 ` pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at lucon dot org @ 2006-03-02  1:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from hjl at lucon dot org  2006-03-02 01:59 -------
A real patch for 4.2 is posted at

http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00094.html


-- 


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (4 preceding siblings ...)
  2006-03-02  1:59 ` hjl at lucon dot org
@ 2006-03-02 12:29 ` pinskia at gcc dot gnu dot org
  2006-03-02 14:15 ` brett dot albertson at stratech dot com
                   ` (4 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-03-02 12:29 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-03-02 12:29:00
               date|                            |


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (5 preceding siblings ...)
  2006-03-02 12:29 ` pinskia at gcc dot gnu dot org
@ 2006-03-02 14:15 ` brett dot albertson at stratech dot com
  2006-06-04 17:33 ` mmitchel at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: brett dot albertson at stratech dot com @ 2006-03-02 14:15 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from brett dot albertson at stratech dot com  2006-03-02 14:15 -------
(In reply to comment #5)
> A real patch for 4.2 is posted at
> 
> http://gcc.gnu.org/ml/gcc-patches/2006-03/msg00094.html
> 

I can confirm that this patch allows me to bootstrap again.  I'm running the
testsuite now just to check for any regressions, but I don't expect any.

I'm not 100% certain that the configuration machinery is determining the
architecture correctly on Solaris x86 since I am actually running on AMD64
CPU's in 64 bit mode.  However, this didn't cause or fix that problem.

thanks HJ!

Brett Albertson


-- 


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (6 preceding siblings ...)
  2006-03-02 14:15 ` brett dot albertson at stratech dot com
@ 2006-06-04 17:33 ` mmitchel at gcc dot gnu dot org
  2006-06-30  6:23 ` patchapp at dberlin dot org
                   ` (2 subsequent siblings)
  10 siblings, 0 replies; 12+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2006-06-04 17:33 UTC (permalink / raw)
  To: gcc-bugs



-- 

mmitchel at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P1


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (7 preceding siblings ...)
  2006-06-04 17:33 ` mmitchel at gcc dot gnu dot org
@ 2006-06-30  6:23 ` patchapp at dberlin dot org
  2006-07-05 18:50 ` hjl at gcc dot gnu dot org
  2006-07-05 18:54 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: patchapp at dberlin dot org @ 2006-06-30  6:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from patchapp at dberlin dot org  2006-06-30 06:11 -------
Subject: Bug number PR target/26146

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/msg00094.html


-- 


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (8 preceding siblings ...)
  2006-06-30  6:23 ` patchapp at dberlin dot org
@ 2006-07-05 18:50 ` hjl at gcc dot gnu dot org
  2006-07-05 18:54 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: hjl at gcc dot gnu dot org @ 2006-07-05 18:50 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from hjl at gcc dot gnu dot org  2006-07-05 18:49 -------
Subject: Bug 26146

Author: hjl
Date: Wed Jul  5 18:49:48 2006
New Revision: 115206

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115206
Log:
2006-07-05  H.J. Lu  <hongjiu.lu@intel.com>

        PR target/26146
        * config.gcc: Check with_cpu for i[34567]86--*-solaris2.1[0-9]*.

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


-- 


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


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

* [Bug target/26146] [4.2 Regression] Bootstrapping mainline on Solaris 10/x86 fails
  2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
                   ` (9 preceding siblings ...)
  2006-07-05 18:50 ` hjl at gcc dot gnu dot org
@ 2006-07-05 18:54 ` pinskia at gcc dot gnu dot org
  10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-07-05 18:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from pinskia at gcc dot gnu dot org  2006-07-05 18:54 -------
Fixed.


-- 

pinskia at gcc dot gnu dot org changed:

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


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


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

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

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-02-07  1:10 [Bug target/26146] New: Bootstrapping mainline on Solaris 10/x86 fails gcc-bugzilla at gcc dot gnu dot org
2006-02-07  1:12 ` [Bug target/26146] " ro at gcc dot gnu dot org
2006-02-07  1:13 ` [Bug target/26146] [4.2 Regression] " pinskia at gcc dot gnu dot org
2006-02-21 18:42 ` brett dot albertson at stratech dot com
2006-03-02  0:00 ` hjl at lucon dot org
2006-03-02  1:59 ` hjl at lucon dot org
2006-03-02 12:29 ` pinskia at gcc dot gnu dot org
2006-03-02 14:15 ` brett dot albertson at stratech dot com
2006-06-04 17:33 ` mmitchel at gcc dot gnu dot org
2006-06-30  6:23 ` patchapp at dberlin dot org
2006-07-05 18:50 ` hjl at gcc dot gnu dot org
2006-07-05 18:54 ` pinskia 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).