public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/50265] New: [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*
@ 2011-09-01 14:03 dominiq at lps dot ens.fr
  2011-09-02  8:59 ` [Bug bootstrap/50265] " dominiq at lps dot ens.fr
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-09-01 14:03 UTC (permalink / raw)
  To: gcc-bugs

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

             Bug #: 50265
           Summary: [4.7 Regression] Bootstrap failure
                    "BufferedImage.java:336:0: internal compiler error:
                    Segmentation fault" on *-apple-darwin*
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr


Bootstrap fails on *-apple-darwin* with

libtool: compile:  /opt/gcc/build_w/./gcc/gcj
-B/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libjava/
-B/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libjava/
-B/opt/gcc/build_w/./gcc/ -B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.8.0/bin/
-B/opt/gcc/gcc4.7w/x86_64-apple-darwin10.8.0/lib/ -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.8.0/include -isystem
/opt/gcc/gcc4.7w/x86_64-apple-darwin10.8.0/sys-include -m32 -ffloat-store
-fomit-frame-pointer -Usun -fclasspath=
-fbootclasspath=../../../../work/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -g -O2 -m32 -c
-fsource-filename=/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libjava/classpath/lib/classes
-MT java/awt/image.lo -MD -MP -MF java/awt/image.deps @java/awt/image.list 
-fno-common -o java/awt/.libs/image.o
/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java: In class
'java.awt.image.BufferedImage':
/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java: In method
'java.awt.image.BufferedImage.createDefaultIndexedColorModel(boolean)':
In file included from
/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java:635:0,
                 from
/opt/gcc/work/libjava/classpath/java/awt/image/BufferStrategy.java:77,
                 from
/opt/gcc/work/libjava/classpath/java/awt/image/BandedSampleModel.java:757,
                 from
/opt/gcc/work/libjava/classpath/java/awt/image/BandCombineOp.java:215,
                 from
/opt/gcc/work/libjava/classpath/java/awt/image/AreaAveragingScaleFilter.java:266,
                 from
/opt/gcc/work/libjava/classpath/java/awt/image/AffineTransformOp.java:610,
                 from <built-in>:70:
/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java:336:0:
internal compiler error: Segmentation fault

This failure occurred between revisions 178381 and 178393 (see
http://gcc.gnu.org/ml/gcc-regression/2011-09/msg00000.html ) and requires -O2.

Note that if I move away the install directory: /opt/gcc/gcc4.7w or if I use

/opt/gcc/build_w/./gcc/gcj
-B/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libjava/
-B/opt/gcc/build_w/gcc/ -fomit-frame-pointer -Usun -fclasspath=
-fbootclasspath=../../../../work/libjava/classpath/lib --encoding=UTF-8
-Wno-deprecated -fbootstrap-classes -O2 -c
-fsource-filename=/opt/gcc/build_w/x86_64-apple-darwin10.8.0/i386/libjava/classpath/lib/classes
-MT java/awt/image.lo -MD -MP -MF java/awt/image.deps @java/awt/image.list

the error becomes

/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java: In class
'java.awt.image.BufferedImage':
/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java: In method
'java.awt.image.BufferedImage.createDefaultIndexedColorModel(boolean)':
In file included from <built-in>:6:0:
/opt/gcc/work/libjava/classpath/java/awt/image/BufferedImage.java:336:0:
internal compiler error: Segmentation fault

I don't see why the install director appears when building the gcc components.


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

* [Bug bootstrap/50265] [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*
  2011-09-01 14:03 [Bug bootstrap/50265] New: [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin* dominiq at lps dot ens.fr
@ 2011-09-02  8:59 ` dominiq at lps dot ens.fr
  2011-09-02  9:33 ` rguenth at gcc dot gnu.org
  2011-09-02 11:28 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-09-02  8:59 UTC (permalink / raw)
  To: gcc-bugs

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

Dominique d'Humieres <dominiq at lps dot ens.fr> changed:

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

--- Comment #1 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-02 08:59:14 UTC ---
This is caused by revision 178386: bootstrap succeeds on x86_64-apple-darwin10
and powerpc-apple-darwin9 if I revert it. 

------------------------------------------------------------------------
r178386 | jamborm | 2011-08-31 10:17:19 -0700 (Wed, 31 Aug 2011) | 11 lines
Changed paths:
   M /trunk/gcc/ChangeLog
   M /trunk/gcc/ipa-inline-analysis.c
   M /trunk/gcc/ipa-split.c
   M /trunk/gcc/testsuite/ChangeLog
   A /trunk/gcc/testsuite/gcc.c-torture/execute/pr49886.c

2011-08-31  Martin Jambor  <mjambor@suse.cz>

    PR middle-end/49886
    * ipa-inline-analysis.c (compute_inline_parameters): Set
    can_change_signature of noes with typde attributes.
    * ipa-split.c (split_function): Do not skip any arguments if
    can_change_signature is set.

    * testsuite/gcc.c-torture/execute/pr49886.c: New testcase.

It may be a duplicate of pr50260.


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

* [Bug bootstrap/50265] [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*
  2011-09-01 14:03 [Bug bootstrap/50265] New: [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin* dominiq at lps dot ens.fr
  2011-09-02  8:59 ` [Bug bootstrap/50265] " dominiq at lps dot ens.fr
@ 2011-09-02  9:33 ` rguenth at gcc dot gnu.org
  2011-09-02 11:28 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-09-02  9:33 UTC (permalink / raw)
  To: gcc-bugs

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |DUPLICATE
   Target Milestone|---                         |4.7.0

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-09-02 09:32:07 UTC ---
I'm sure it is.

*** This bug has been marked as a duplicate of bug 50260 ***


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

* [Bug bootstrap/50265] [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin*
  2011-09-01 14:03 [Bug bootstrap/50265] New: [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin* dominiq at lps dot ens.fr
  2011-09-02  8:59 ` [Bug bootstrap/50265] " dominiq at lps dot ens.fr
  2011-09-02  9:33 ` rguenth at gcc dot gnu.org
@ 2011-09-02 11:28 ` dominiq at lps dot ens.fr
  2 siblings, 0 replies; 4+ messages in thread
From: dominiq at lps dot ens.fr @ 2011-09-02 11:28 UTC (permalink / raw)
  To: gcc-bugs

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

--- Comment #3 from Dominique d'Humieres <dominiq at lps dot ens.fr> 2011-09-02 11:28:03 UTC ---
> I'm sure it is.

At least on x86_64-apple-darwin10 it is fixed by the patch for pr50260 at
http://gcc.gnu.org/ml/gcc-patches/2011-09/msg00052.html .


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

end of thread, other threads:[~2011-09-02 11:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-01 14:03 [Bug bootstrap/50265] New: [4.7 Regression] Bootstrap failure "BufferedImage.java:336:0: internal compiler error: Segmentation fault" on *-apple-darwin* dominiq at lps dot ens.fr
2011-09-02  8:59 ` [Bug bootstrap/50265] " dominiq at lps dot ens.fr
2011-09-02  9:33 ` rguenth at gcc dot gnu.org
2011-09-02 11:28 ` dominiq at lps dot ens.fr

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