public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap
@ 2011-09-11 16:30 mikpe at it dot uu.se
  2011-09-29 13:24 ` [Bug bootstrap/50354] " rguenth at gcc dot gnu.org
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mikpe at it dot uu.se @ 2011-09-11 16:30 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50354
           Summary: [4.7 regression] sparc64-linux gcc generates assembly
                    code that gas rejects, breaking bootstrap
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: mikpe@it.uu.se


Attempting to bootstrap gcc-4.7-20110910 on sparc64-linux fails for me with:

/mnt/scratch/objdir47/./gcc/xgcc -B/mnt/scratch/objdir47/./gcc/
-B/mnt/scratch/install47/sparc64-unknown-linux-gnu/bin/
-B/mnt/scratch/install47/sparc64-unknown-linux-gnu/lib/ -isystem
/mnt/scratch/install47/sparc64-unknown-linux-gnu/include -isystem
/mnt/scratch/install47/sparc64-unknown-linux-gnu/sys-include    -g -O2 -O2  -I.
-I. -I/mnt/scratch/gcc-4.7-20110910/gcc -I/mnt/scratch/gcc-4.7-20110910/gcc/.
-I/mnt/scratch/gcc-4.7-20110910/gcc/../include
-I/mnt/scratch/gcc-4.7-20110910/gcc/../libdecnumber
-I/mnt/scratch/gcc-4.7-20110910/gcc/../libdecnumber/dpd -I../libdecnumber
-I/mnt/scratch/gcc-4.7-20110910/gcc/../libgcc -g -O2 -DIN_GCC   -W -Wall
-Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition  -isystem ./include  -fPIC -g -DHAVE_GTHR_DEFAULT
-DIN_LIBGCC2 -fbuilding-libgcc -fno-stack-protector   -I. -I. -I../.././gcc
-I/mnt/scratch/gcc-4.7-20110910/libgcc -I/mnt/scratch/gcc-4.7-20110910/libgcc/.
-I/mnt/scratch/gcc-4.7-20110910/libgcc/../gcc
-I/mnt/scratch/gcc-4.7-20110910/libgcc/../include  -DHAVE_CC_TLS  -o _mulsc3.o
-MT _mulsc3.o -MD -MP -MF _mulsc3.dep -DL_mulsc3 -c
/mnt/scratch/gcc-4.7-20110910/libgcc/../gcc/libgcc2.c \
          -fvisibility=hidden -DHIDE_EXPORTS
/tmp/ccRPj4yC.s: Assembler messages:
/tmp/ccRPj4yC.s:201: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:201:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:243: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:243:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:259: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:259:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:298: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:298:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:309: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:309:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:350: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:350:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:368: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:368:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:381: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:381:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:412: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:412:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:419: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:419:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:433: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:433:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:443: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:443:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:458: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:458:  (Requires v9a|v9b; requested architecture is v9.)
/tmp/ccRPj4yC.s:473: Error: Architecture mismatch on "fzeros".
/tmp/ccRPj4yC.s:473:  (Requires v9a|v9b; requested architecture is v9.)
make[3]: *** [_mulsc3.o] Error 1
make[3]: Leaving directory
`/mnt/scratch/objdir47/sparc64-unknown-linux-gnu/libgcc'
make[2]: *** [all-stage1-target-libgcc] Error 2
make[2]: Leaving directory `/mnt/scratch/objdir47'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/mnt/scratch/objdir47'
make: *** [bootstrap] Error 2

This happens with both the system 'as' (binutils-2.19.51.0.14-37.fc12) and my
privately built and installed one (binutils-2.21.1 + some fixes from trunk).

The snapshot from two weeks ago, gcc-4.7-20110827, bootstrapped fine.

Configured as:
/mnt/scratch/gcc-4.7-20110910/configure --prefix=/mnt/scratch/install47
--with-gmp=/home/mikpe/pkgs/linux-sparc64/gmp-4.3.2
--with-mpfr=/home/mikpe/pkgs/linux-sparc64/mpfr-2.4.2
--with-mpc=/home/mikpe/pkgs/linux-sparc64/mpc-0.8.2 --with-cpu=v8
--enable-multilib --disable-plugin --disable-lto --disable-nls
--enable-threads=posix --enable-checking=release --disable-libmudflap
--enable-languages=c,c++,fortran,ada --disable-build-poststage1-with-cxx


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

* [Bug bootstrap/50354] [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap
  2011-09-11 16:30 [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap mikpe at it dot uu.se
@ 2011-09-29 13:24 ` rguenth at gcc dot gnu.org
  2011-10-10 13:34 ` [Bug target/50354] " rguenth at gcc dot gnu.org
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-09-29 13:24 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


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

* [Bug target/50354] [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap
  2011-09-11 16:30 [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap mikpe at it dot uu.se
  2011-09-29 13:24 ` [Bug bootstrap/50354] " rguenth at gcc dot gnu.org
@ 2011-10-10 13:34 ` rguenth at gcc dot gnu.org
  2011-10-13 13:21 ` ebotcazou at gcc dot gnu.org
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-10-10 13:34 UTC (permalink / raw)
  To: gcc-bugs

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

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |build
           Priority|P3                          |P1
          Component|bootstrap                   |target


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

* [Bug target/50354] [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap
  2011-09-11 16:30 [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap mikpe at it dot uu.se
  2011-09-29 13:24 ` [Bug bootstrap/50354] " rguenth at gcc dot gnu.org
  2011-10-10 13:34 ` [Bug target/50354] " rguenth at gcc dot gnu.org
@ 2011-10-13 13:21 ` ebotcazou at gcc dot gnu.org
  2011-10-14 23:03 ` [Bug target/50354] [4.7 regression] architecture mismatch between compiler and assembler ebotcazou at gcc dot gnu.org
  2011-10-14 23:11 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-13 13:21 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2011-10-13
                 CC|                            |ebotcazou at gcc dot
                   |                            |gnu.org
         AssignedTo|unassigned at gcc dot       |ebotcazou at gcc dot
                   |gnu.org                     |gnu.org
     Ever Confirmed|0                           |1

--- Comment #1 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-13 13:19:40 UTC ---
Investigating.


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

* [Bug target/50354] [4.7 regression] architecture mismatch between compiler and assembler
  2011-09-11 16:30 [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap mikpe at it dot uu.se
                   ` (2 preceding siblings ...)
  2011-10-13 13:21 ` ebotcazou at gcc dot gnu.org
@ 2011-10-14 23:03 ` ebotcazou at gcc dot gnu.org
  2011-10-14 23:11 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-14 23:03 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-14 23:02:46 UTC ---
Author: ebotcazou
Date: Fri Oct 14 23:02:40 2011
New Revision: 180013

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=180013
Log:
    PR target/50354
    * config/sparc/linux64.h (TARGET_DEFAULT): Only override if the default
    processor is at least V9 and TARGET_64BIT_DEFAULT is defined.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/sparc/linux64.h


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

* [Bug target/50354] [4.7 regression] architecture mismatch between compiler and assembler
  2011-09-11 16:30 [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap mikpe at it dot uu.se
                   ` (3 preceding siblings ...)
  2011-10-14 23:03 ` [Bug target/50354] [4.7 regression] architecture mismatch between compiler and assembler ebotcazou at gcc dot gnu.org
@ 2011-10-14 23:11 ` ebotcazou at gcc dot gnu.org
  4 siblings, 0 replies; 6+ messages in thread
From: ebotcazou at gcc dot gnu.org @ 2011-10-14 23:11 UTC (permalink / raw)
  To: gcc-bugs

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

Eric Botcazou <ebotcazou at gcc dot gnu.org> changed:

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

--- Comment #3 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2011-10-14 23:10:54 UTC ---
Thanks for reporting the problem.


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

end of thread, other threads:[~2011-10-14 23:11 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-11 16:30 [Bug bootstrap/50354] New: [4.7 regression] sparc64-linux gcc generates assembly code that gas rejects, breaking bootstrap mikpe at it dot uu.se
2011-09-29 13:24 ` [Bug bootstrap/50354] " rguenth at gcc dot gnu.org
2011-10-10 13:34 ` [Bug target/50354] " rguenth at gcc dot gnu.org
2011-10-13 13:21 ` ebotcazou at gcc dot gnu.org
2011-10-14 23:03 ` [Bug target/50354] [4.7 regression] architecture mismatch between compiler and assembler ebotcazou at gcc dot gnu.org
2011-10-14 23:11 ` ebotcazou at gcc dot gnu.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).