public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
@ 2013-06-23 19:18 doko at gcc dot gnu.org
  2013-06-24 10:47 ` [Bug go/57689] " rguenth at gcc dot gnu.org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2013-06-23 19:18 UTC (permalink / raw)
  To: gcc-bugs

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

            Bug ID: 57689
           Summary: [4.8 Regression] ICE (segfault) building libgo on
                    ia64-linux-gnu
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: go
          Assignee: ian at airs dot com
          Reporter: doko at gcc dot gnu.org

libgo fails to build on ia64-linux-gnu, with r200219, the last successful build
was with r200018. A build from the trunk on 20130620 did succeed.

/bin/mkdir -p .; files=`echo ../../../src/libgo/go/regexp/exec.go
../../../src/libgo/go/regexp/regexp.go bytes.gox io.gox regexp/syntax.gox
strconv.gox strings.gox sync.gox unicode.gox unicode/utf8.gox | sed -e 's/[^
]*\.gox//g'`; /bin/bash ./libtool --tag GO --mode=compile
/«PKGBUILDDIR»/build/./gcc/gccgo -B/«PKGBUILDDIR»/build/./gcc/
-B/usr/ia64-linux-gnu/bin/ -B/usr/ia64-linux-gnu/lib/ -isystem
/usr/ia64-linux-gnu/include -isystem /usr/ia64-linux-gnu/sys-include -isystem
/«PKGBUILDDIR»/build/sys-include      -O2 -g -I . -c -fgo-pkgpath=`echo
regexp.lo | sed -e 's/.lo$//' -e 's/-go$//'` -o regexp.lo $files
libtool: compile:  /«PKGBUILDDIR»/build/./gcc/gccgo
-B/«PKGBUILDDIR»/build/./gcc/ -B/usr/ia64-linux-gnu/bin/
-B/usr/ia64-linux-gnu/lib/ -isystem /usr/ia64-linux-gnu/include -isystem
/usr/ia64-linux-gnu/sys-include -isystem /«PKGBUILDDIR»/build/sys-include -O2
-g -I . -c -fgo-pkgpath=regexp ../../../src/libgo/go/regexp/exec.go
../../../src/libgo/go/regexp/regexp.go  -fPIC -o .libs/regexp.o

../../../src/libgo/go/regexp/regexp.go: In function 'regexp.$nested3':
../../../src/libgo/go/regexp/regexp.go:528:2: internal compiler error:
Segmentation fault
  })
  ^
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.8/README.Bugs> for instructions.
make[6]: *** [regexp.lo] Error 1
>From gcc-bugs-return-424938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Sun Jun 23 19:21:36 2013
Return-Path: <gcc-bugs-return-424938-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org>
Delivered-To: listarch-gcc-bugs@gcc.gnu.org
Received: (qmail 6261 invoked by alias); 23 Jun 2013 19:21:36 -0000
Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm
Precedence: bulk
List-Id: <gcc-bugs.gcc.gnu.org>
List-Archive: <http://gcc.gnu.org/ml/gcc-bugs/>
List-Post: <mailto:gcc-bugs@gcc.gnu.org>
List-Help: <mailto:gcc-bugs-help@gcc.gnu.org>
Sender: gcc-bugs-owner@gcc.gnu.org
Delivered-To: mailing list gcc-bugs@gcc.gnu.org
Received: (qmail 6174 invoked by uid 48); 23 Jun 2013 19:21:30 -0000
From: "jakub at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/57688] [4.9 Regression] -O3 -march=native generates illegal opcode on AMD Phenom
Date: Sun, 23 Jun 2013 19:21:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gcc
X-Bugzilla-Component: target
X-Bugzilla-Version: 4.9.0
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jakub at gcc dot gnu.org
X-Bugzilla-Status: RESOLVED
X-Bugzilla-Priority: P3
X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org
X-Bugzilla-Target-Milestone: 4.9.0
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_status resolution target_milestone short_desc
Message-ID: <bug-57688-4-0l10COVkk1@http.gcc.gnu.org/bugzilla/>
In-Reply-To: <bug-57688-4@http.gcc.gnu.org/bugzilla/>
References: <bug-57688-4@http.gcc.gnu.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2013-06/txt/msg01317.txt.bz2
Content-length: 1249

http://gcc.gnu.org/bugzilla/show_bug.cgi?idW688

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED
   Target Milestone|---                         |4.9.0
            Summary|-O3 -march=native generates |[4.9 Regression] -O3
                   |illegal opcode on AMD       |-march=native generates
                   |Phenom                      |illegal opcode on AMD
                   |                            |Phenom

--- Comment #10 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Author: jakub
Date: Sun Jun 23 19:06:00 2013
New Revision: 200352

URL: http://gcc.gnu.org/viewcvs?rev 0352&root=gcc&view=rev
Log:
    PR target/57688
    * common/config/i386/i386-common.c (ix86_handle_option): For OPT_mlzcnt
    add missing return true.

Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/common/config/i386/i386-common.c

Fixed.  BTW, with explicit -mtbm we still generate:
bextr    $7682, %rdx, %rdx
while without it we generate much more compact:
shrl $2, %rdx
Will create a PR for that.


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
@ 2013-06-24 10:47 ` rguenth at gcc dot gnu.org
  2013-06-26 13:31 ` ian at airs dot com
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2013-06-24 10:47 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.8.2


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
  2013-06-24 10:47 ` [Bug go/57689] " rguenth at gcc dot gnu.org
@ 2013-06-26 13:31 ` ian at airs dot com
  2013-06-27 11:35 ` doko at gcc dot gnu.org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2013-06-26 13:31 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #1 from Ian Lance Taylor <ian at airs dot com> ---
It's going to be hard for me to solve this using a cross-compiler.  I would
need a full glibc to get to the point of failure.  Can you try building the
compiler without optimization to see if you can get a better stack trace?


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
  2013-06-24 10:47 ` [Bug go/57689] " rguenth at gcc dot gnu.org
  2013-06-26 13:31 ` ian at airs dot com
@ 2013-06-27 11:35 ` doko at gcc dot gnu.org
  2013-06-27 15:56 ` ian at airs dot com
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: doko at gcc dot gnu.org @ 2013-06-27 11:35 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #2 from Matthias Klose <doko at gcc dot gnu.org> ---
building with BOOT_CFLAGS set to -g -O1 or -g -Og doesn't show the ICE and
builds libgo. Attaching test results later.


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2013-06-27 11:35 ` doko at gcc dot gnu.org
@ 2013-06-27 15:56 ` ian at airs dot com
  2013-10-16  9:50 ` jakub at gcc dot gnu.org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2013-06-27 15:56 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Ian Lance Taylor <ian at airs dot com> ---
That makes it sound like the problem is that stage2 GCC is mis-compiling stage3
GCC, and that it's only a coincidence that the error occurs when building
libgo.


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2013-06-27 15:56 ` ian at airs dot com
@ 2013-10-16  9:50 ` jakub at gcc dot gnu.org
  2014-05-22  9:01 ` rguenth at gcc dot gnu.org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jakub at gcc dot gnu.org @ 2013-10-16  9:50 UTC (permalink / raw)
  To: gcc-bugs

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

Jakub Jelinek <jakub at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.2                       |4.8.3

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
GCC 4.8.2 has been released.


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2013-10-16  9:50 ` jakub at gcc dot gnu.org
@ 2014-05-22  9:01 ` rguenth at gcc dot gnu.org
  2014-12-10 12:42 ` rguenth at gcc dot gnu.org
  2014-12-10 17:29 ` ian at airs dot com
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-05-22  9:01 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57689

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|4.8.3                       |4.8.4

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 4.8.3 is being released, adjusting target milestone.


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
                   ` (5 preceding siblings ...)
  2014-05-22  9:01 ` rguenth at gcc dot gnu.org
@ 2014-12-10 12:42 ` rguenth at gcc dot gnu.org
  2014-12-10 17:29 ` ian at airs dot com
  7 siblings, 0 replies; 9+ messages in thread
From: rguenth at gcc dot gnu.org @ 2014-12-10 12:42 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57689

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING
   Last reconfirmed|                            |2014-12-10
     Ever confirmed|0                           |1

--- Comment #6 from Richard Biener <rguenth at gcc dot gnu.org> ---
Does it work for later 4.8 versions?


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

* [Bug go/57689] [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu
  2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
                   ` (6 preceding siblings ...)
  2014-12-10 12:42 ` rguenth at gcc dot gnu.org
@ 2014-12-10 17:29 ` ian at airs dot com
  7 siblings, 0 replies; 9+ messages in thread
From: ian at airs dot com @ 2014-12-10 17:29 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57689

Ian Lance Taylor <ian at airs dot com> changed:

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

--- Comment #8 from Ian Lance Taylor <ian at airs dot com> ---
Marking this as resolved unless and until somebody can recreate it.


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

end of thread, other threads:[~2014-12-10 17:29 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-06-23 19:18 [Bug go/57689] New: [4.8 Regression] ICE (segfault) building libgo on ia64-linux-gnu doko at gcc dot gnu.org
2013-06-24 10:47 ` [Bug go/57689] " rguenth at gcc dot gnu.org
2013-06-26 13:31 ` ian at airs dot com
2013-06-27 11:35 ` doko at gcc dot gnu.org
2013-06-27 15:56 ` ian at airs dot com
2013-10-16  9:50 ` jakub at gcc dot gnu.org
2014-05-22  9:01 ` rguenth at gcc dot gnu.org
2014-12-10 12:42 ` rguenth at gcc dot gnu.org
2014-12-10 17:29 ` ian at airs dot com

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