public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug target/45363]  New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
@ 2010-08-20 21:22 gerald at pfeifer dot com
  2010-08-20 21:23 ` [Bug target/45363] " gerald at pfeifer dot com
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: gerald at pfeifer dot com @ 2010-08-20 21:22 UTC (permalink / raw)
  To: gcc-bugs

This is the relevant part from sparc64-portbld-freebsd8.0/libgcc/config.log:

configure:3211: checking for suffix of object files
configure:3233: /usr/ports/lang/gcc45/work/build/./gcc/xgcc
-B/usr/ports/lang/gcc45/work/build/./gcc/
-B/usr/local/sparc64-portbld-freebsd8.0/bin/
-B/usr/local/sparc64-portbld-freebsd8.0/lib/ -isystem
/usr/local/sparc64-portbld-freebsd8.0/include -isystem
/usr/local/sparc64-portbld-freebsd8.0/sys-include    -c -O2 -pipe -g
-I/usr/local/include -fno-strict-aliasing  conftest.c >&5
cc1: internal compiler error: Illegal instruction: 4
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
configure:3237: $? = 1
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE_URL "http://www.gnu.org/software/libgcc/"   
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }


-- 
           Summary: libgcc fails to configure: cc1: internal compiler error:
                    Illegal instruction: 4
           Product: gcc
           Version: 4.5.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gerald at pfeifer dot com
  GCC host triplet: sparc64-portbld-freebsd8.0


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


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

* [Bug target/45363] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
@ 2010-08-20 21:23 ` gerald at pfeifer dot com
  2010-08-20 22:00 ` ebotcazou at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gerald at pfeifer dot com @ 2010-08-20 21:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from gerald at pfeifer dot com  2010-08-20 21:22 -------
Created an attachment (id=21533)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21533&action=view)
Full sparc64-portbld-freebsd8.0/libgcc/config.log file


-- 


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


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

* [Bug target/45363] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
  2010-08-20 21:23 ` [Bug target/45363] " gerald at pfeifer dot com
@ 2010-08-20 22:00 ` ebotcazou at gcc dot gnu dot org
  2010-08-21  9:03 ` gerald at pfeifer dot com
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-08-20 22:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from ebotcazou at gcc dot gnu dot org  2010-08-20 22:00 -------
It looks like the cc1 compiler is miscompiled.  Which stage of the bootstrap is
this?  Could you post a backtrace of cc1 from within gdb when it executes the
illegal instruction?  Is that a recent problem on the 4.5 branch?


-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |ebotcazou at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |WAITING
            Version|4.5.3                       |4.5.2


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


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

* [Bug target/45363] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
  2010-08-20 21:23 ` [Bug target/45363] " gerald at pfeifer dot com
  2010-08-20 22:00 ` ebotcazou at gcc dot gnu dot org
@ 2010-08-21  9:03 ` gerald at pfeifer dot com
  2010-08-23 20:16 ` [Bug target/45363] [4.5 Regression] " rguenth at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: gerald at pfeifer dot com @ 2010-08-21  9:03 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from gerald at pfeifer dot com  2010-08-21 09:03 -------
Thanks, Eric.  I do not have access to a such a system but will try to
get a backtrace.

A log showing the problem (though not from this very build) is at:
http://pointyhat.freebsd.org/errorlogs/sparc64-errorlogs/e.8.20100704113633/gcc-4.5.1.20100624.log.bz2
and logs in general can be found at
http://portsmon.freebsd.org/portoverview.py?portname=gcc45

The build fails as follows, so we're in stage 2:

gmake[2]: *** [configure-stage2-target-libgcc] Error 1
gmake[2]: Leaving directory `/work/a/ports/lang/gcc45/work/build'
gmake[1]: *** [stage2-bubble] Error 2
gmake[1]: Leaving directory `/work/a/ports/lang/gcc45/work/build'
gmake: *** [bootstrap-lean] Error 2
*** Error code 1

I don't think this problem is very recent on the GCC 4.5 branch; it
does not seem to occur with GCC 4.4., though.


-- 


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


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

* [Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
                   ` (2 preceding siblings ...)
  2010-08-21  9:03 ` gerald at pfeifer dot com
@ 2010-08-23 20:16 ` rguenth at gcc dot gnu dot org
  2010-08-27 16:31 ` ebotcazou at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-08-23 20:16 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.4.4
            Summary|libgcc fails to configure:  |[4.5 Regression] libgcc
                   |cc1: internal compiler      |fails to configure: cc1:
                   |error: Illegal instruction: |internal compiler error:
                   |4                           |Illegal instruction: 4
   Target Milestone|---                         |4.5.2


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


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

* [Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
                   ` (3 preceding siblings ...)
  2010-08-23 20:16 ` [Bug target/45363] [4.5 Regression] " rguenth at gcc dot gnu dot org
@ 2010-08-27 16:31 ` ebotcazou at gcc dot gnu dot org
  2010-09-13 15:51 ` rguenth at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-08-27 16:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from ebotcazou at gcc dot gnu dot org  2010-08-27 16:31 -------
Gerald, we have problems with the third-party libraries (GMP,MPFR,MPC) on the
SPARC, newer versions are miscompiled by earlier versions of GCC.  So I'd
suggest to stick to the minimal versions listed in:
  http://gcc.gnu.org/install/prerequisites.html


-- 


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


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

* [Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
                   ` (4 preceding siblings ...)
  2010-08-27 16:31 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-13 15:51 ` rguenth at gcc dot gnu dot org
  2010-09-14  8:03 ` ebotcazou at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-09-13 15:51 UTC (permalink / raw)
  To: gcc-bugs



-- 

rguenth at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Priority|P3                          |P4


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


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

* [Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
                   ` (5 preceding siblings ...)
  2010-09-13 15:51 ` rguenth at gcc dot gnu dot org
@ 2010-09-14  8:03 ` ebotcazou at gcc dot gnu dot org
  2010-09-14 10:27 ` ebotcazou at gcc dot gnu dot org
  2010-09-14 10:30 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-14  8:03 UTC (permalink / raw)
  To: gcc-bugs



-- 

ebotcazou at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |ebotcazou at gcc dot gnu dot
                   |dot org                     |org
             Status|WAITING                     |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2010-09-14 08:03:48
               date|                            |


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


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

* [Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
                   ` (6 preceding siblings ...)
  2010-09-14  8:03 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-14 10:27 ` ebotcazou at gcc dot gnu dot org
  2010-09-14 10:30 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-14 10:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:26 -------
Subject: Bug 45363

Author: ebotcazou
Date: Tue Sep 14 10:26:40 2010
New Revision: 164277

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=164277
Log:
        PR target/45277
        PR target/45363
        PR target/45407
        * doc/install.texi (sparc*-*-*): New section.
        (sparc-sun-solaris2*): Mention MPC alongside GMP and MPFR.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/doc/install.texi


-- 


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


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

* [Bug target/45363] [4.5 Regression] libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4
  2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
                   ` (7 preceding siblings ...)
  2010-09-14 10:27 ` ebotcazou at gcc dot gnu dot org
@ 2010-09-14 10:30 ` ebotcazou at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: ebotcazou at gcc dot gnu dot org @ 2010-09-14 10:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from ebotcazou at gcc dot gnu dot org  2010-09-14 10:30 -------
Reasonable workaround.


-- 

ebotcazou at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2010-09-14 10:30 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-08-20 21:22 [Bug target/45363] New: libgcc fails to configure: cc1: internal compiler error: Illegal instruction: 4 gerald at pfeifer dot com
2010-08-20 21:23 ` [Bug target/45363] " gerald at pfeifer dot com
2010-08-20 22:00 ` ebotcazou at gcc dot gnu dot org
2010-08-21  9:03 ` gerald at pfeifer dot com
2010-08-23 20:16 ` [Bug target/45363] [4.5 Regression] " rguenth at gcc dot gnu dot org
2010-08-27 16:31 ` ebotcazou at gcc dot gnu dot org
2010-09-13 15:51 ` rguenth at gcc dot gnu dot org
2010-09-14  8:03 ` ebotcazou at gcc dot gnu dot org
2010-09-14 10:27 ` ebotcazou at gcc dot gnu dot org
2010-09-14 10:30 ` ebotcazou 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).