public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/28458]  New: [ecj] Fails to build gnu.awt.LightweightRedirector
@ 2006-07-22 21:32 gnu_andrew at member dot fsf dot org
  2006-07-22 21:34 ` [Bug java/28458] " gnu_andrew at member dot fsf dot org
                   ` (9 more replies)
  0 siblings, 10 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2006-07-22 21:32 UTC (permalink / raw)
  To: java-prs

gcj -v
-B/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/
-B/home/gandalf/projects/java/classpath/gcj/build/gcc/ -fomit-frame-pointer
-fclasspath=
-fbootclasspath=/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/classpath/lib
--encoding=UTF-8 -Wno-deprecated -fbootstrap-classes -g -O2 -c
-fsource-filename=/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/classpath/lib/classes
-MT gnu/awt.lo -MD -MP -MF gnu/awt.deps @gnu/awt.list -fPIC -o gnu/.libs/awt.o
Reading specs from /home/gandalf/projects/java/classpath/gcj/build/gcc/specs
Reading specs from
/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/libgcj.spec
rename spec lib to liborig
Target: x86_64-unknown-linux-gnu
Configured with:
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/configure
--prefix=/home/gandalf/projects/java/classpath/gcj/install --disable-multilib
--enable-languages=c,c++,java --enable-java-awt=gtk
Thread model: posix
gcc version 4.2.0 20060604 (gcj-eclipse experimental)
 /home/gandalf/projects/java/classpath/gcj/build/gcc/jc1
classpath/lib/gnu/awt/LightweightRedirector.class -fhash-synchronization
-fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions
-fkeep-inline-functions -quiet -dumpbase LightweightRedirector.class
-mtune=generic -auxbase-strip gnu/.libs/awt.o -g -O2 -Wno-deprecated -version
-fomit-frame-pointer -fencoding=UTF-8 -fbootstrap-classes
-fsource-filename=/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/classpath/lib/classes
-fPIC
-fbootclasspath=./:/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/classpath/lib/
-faux-classpath /tmp/ccNqEVSq.zip -o /tmp/cc0NqHDH.s
GNU Java version 4.2.0 20060604 (gcj-eclipse experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.2.0 20060604 (gcj-eclipse experimental).
GGC heuristics: --param ggc-min-expand=98 --param ggc-min-heapsize=128404
Class path starts here:
    /tmp/ccNqEVSq.zip/ (zip)
    ./ (system)
   
/home/gandalf/projects/java/classpath/gcj/build/x86_64-unknown-linux-gnu/libjava/classpath/lib/
(system)
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/libjava/gnu/awt/LightweightRedirector.java:180:
internal compiler error: in make_class_data, at java/class.c:1885
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: [ecj] Fails to build gnu.awt.LightweightRedirector
           Product: gcc
           Version: 4.2.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gnu_andrew at member dot fsf dot org
 GCC build triplet: x86_64-linux-gnu
  GCC host triplet: x86_64-linux-gnu
GCC target triplet: x86_64-linux-gnu


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
@ 2006-07-22 21:34 ` gnu_andrew at member dot fsf dot org
  2006-07-22 21:40 ` gnu_andrew at member dot fsf dot org
                   ` (8 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2006-07-22 21:34 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from gnu_andrew at member dot fsf dot org  2006-07-22 21:34 -------
Created an attachment (id=11922)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11922&action=view)
Class file being compiled


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
  2006-07-22 21:34 ` [Bug java/28458] " gnu_andrew at member dot fsf dot org
@ 2006-07-22 21:40 ` gnu_andrew at member dot fsf dot org
  2006-07-22 21:56 ` gnu_andrew at member dot fsf dot org
                   ` (7 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2006-07-22 21:40 UTC (permalink / raw)
  To: java-prs



------- Comment #2 from gnu_andrew at member dot fsf dot org  2006-07-22 21:40 -------
#0  internal_error (gmsgid=0x840454 "in %s, at %s:%d")
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/diagnostic.c:582
#1  0x00000000004c018c in fancy_abort (file=<value optimized out>, line=1885,
    function=0x8253b0 "make_class_data")
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/diagnostic.c:642
#2  0x000000000042c21e in make_class_data (type=<value optimized out>)
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/java/class.c:1885
#3  0x000000000042c4e5 in finish_class ()
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/java/class.c:2059
#4  0x0000000000444f38 in parse_class_file ()
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/java/jcf-parse.c:1146
#5  0x0000000000447a92 in java_parse_file (set_yydebug=<value optimized out>)
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/java/jcf-parse.c:1505
#6  0x000000000069db4e in toplev_main (argc=<value optimized out>, argv=<value
optimized out>)
    at
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/gcc/toplev.c:999
#7  0x00002b6cd42784ca in __libc_start_main () from /lib/libc.so.6
#8  0x000000000040296a in _start () at ../sysdeps/x86_64/elf/start.S:113


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
  2006-07-22 21:34 ` [Bug java/28458] " gnu_andrew at member dot fsf dot org
  2006-07-22 21:40 ` gnu_andrew at member dot fsf dot org
@ 2006-07-22 21:56 ` gnu_andrew at member dot fsf dot org
  2006-07-22 22:02 ` gnu_andrew at member dot fsf dot org
                   ` (6 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2006-07-22 21:56 UTC (permalink / raw)
  To: java-prs



------- Comment #3 from gnu_andrew at member dot fsf dot org  2006-07-22 21:56 -------
 <record_type 0x2afd15eb52c0 gnu.awt.LightweightRedirector type_2 type_4 type_5
BLK
    size <integer_cst 0x2afd15e2ef30 type <integer_type 0x2afd15e3a0b0
bit_size_type> constant invariant 128>
    unit size <integer_cst 0x2afd15ec0b10 type <integer_type 0x2afd15e3a2c0
int> constant invariant 16>
    align 64 symtab 369628368 alias set -1
    fields <field_decl 0x2afd15e52900 D.654
        type <record_type 0x2afd15e4a4d0 java.lang.Object tree_3 type_2 type_4
DI
            size <integer_cst 0x2afd15e2ebd0 constant invariant 64>
            unit size <integer_cst 0x2afd15ec0ab0 constant invariant 8>
            align 64 symtab 369629040 alias set -1 fields <field_decl
0x2afd15e49840 vtable>
            pointer_to_this <pointer_type 0x2afd15e4a580> chain <type_decl
0x2afd15e3edd0 java.lang.Object>>
        ignored DI file
/home/gandalf/projects/java/classpath/gcj/sources/gcj-eclipse-jmx/libjava/gnu/awt/LightweightRedirector.java
line 0 size <integer_cst 0x2afd15e2ebd0 64> unit size <integer_cst
0x2afd15ec0ab0 8>
        align 64 offset_align 128
        offset <integer_cst 0x2afd15e2e6f0 constant invariant 0>
        bit offset <integer_cst 0x2afd15e2eed0 constant invariant 0>
        chain <var_decl 0x2afd15eb5dc0 LAST_BUTTON_NUMBER type <integer_type
0x2afd15e3a2c0 int>
            asm_written used public static decl_3 SI file
gnu/awt/LightweightRedirector.java line 0
            size <integer_cst 0x2afd15e2ea80 constant invariant 32>
            unit size <integer_cst 0x2afd15e2e6c0 constant invariant 4>
            align 32 context <record_type 0x2afd15eb52c0
gnu.awt.LightweightRedirector> initial <integer_cst 0x2afd15e51d20 3>
            (mem/c/i:SI (symbol_ref:DI
("_ZN3gnu3awt21LightweightRedirector18LAST_BUTTON_NUMBERE") <var_decl
0x2afd15eb5dc0 LAST_BUTTON_NUMBER>) [0 LAST_BUTTON_NUMBER+0 S4 A32]) chain
<field_decl 0x2afd15e52840 releaseTargets>>>
    pointer_to_this <pointer_type 0x2afd15eb5370> chain <type_decl
0x2afd15e4cb60 gnu.awt.LightweightRedirector>>


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (2 preceding siblings ...)
  2006-07-22 21:56 ` gnu_andrew at member dot fsf dot org
@ 2006-07-22 22:02 ` gnu_andrew at member dot fsf dot org
  2006-07-24 10:13 ` aph at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2006-07-22 22:02 UTC (permalink / raw)
  To: java-prs



------- Comment #4 from gnu_andrew at member dot fsf dot org  2006-07-22 22:02 -------
(gdb) call debug_tree(cons)
 <constructor 0x2afd16299840
    type <record_type 0x2afd15e4a790 java.lang.Class tree_3 type_2 type_4 BLK
        size <integer_cst 0x2afd15e44f30 constant invariant 2240>
        unit size <integer_cst 0x2afd16274030 constant invariant 280>
        align 64 symtab 0 alias set -1
        fields <var_decl 0x2afd1627a9a0 class$0 type <pointer_type
0x2afd15e4a840>
            public static unsigned DI file java/lang/Class.java line 0
            size <integer_cst 0x2afd15e2ebd0 constant invariant 64>
            unit size <integer_cst 0x2afd15e2ec00 constant invariant 8>
            align 64 context <record_type 0x2afd15e4a790 java.lang.Class> chain
<field_decl 0x2afd15e50480 D.83>>
        pointer_to_this <pointer_type 0x2afd15e4a840> chain <type_decl
0x2afd15e4c000 java.lang.Class>>
   >
(gdb) call debug_tree(temp)
 <constructor 0x2afd16299810
    type <record_type 0x2afd15e4a4d0 java.lang.Object tree_3 type_2 type_4 DI
        size <integer_cst 0x2afd15e2ebd0 constant invariant 64>
        unit size <integer_cst 0x2afd15ec0ab0 constant invariant 8>
        align 64 symtab 369629040 alias set -1
        fields <field_decl 0x2afd15e49840 vtable type <pointer_type
0x2afd15e4d2c0>
            private unsigned DI file <built-in> line 0 size <integer_cst
0x2afd15e2ebd0 64>
            unit size <integer_cst 0x2afd15e2ec00 constant invariant 8>
            align 64 offset_align 128
            offset <integer_cst 0x2afd15e2e6f0 constant invariant 0>
            bit offset <integer_cst 0x2afd15e2eed0 constant invariant 0>
context <record_type 0x2afd15e4a4d0 java.lang.Object>>
        pointer_to_this <pointer_type 0x2afd15e4a580> chain <type_decl
0x2afd15e3edd0 java.lang.Object>>
   >


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (3 preceding siblings ...)
  2006-07-22 22:02 ` gnu_andrew at member dot fsf dot org
@ 2006-07-24 10:13 ` aph at gcc dot gnu dot org
  2006-07-24 11:39 ` aph at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-07-24 10:13 UTC (permalink / raw)
  To: java-prs



-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |aph at gcc dot gnu dot org
                   |dot org                     |
             Status|UNCONFIRMED                 |ASSIGNED
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2006-07-24 10:13:17
               date|                            |


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (4 preceding siblings ...)
  2006-07-24 10:13 ` aph at gcc dot gnu dot org
@ 2006-07-24 11:39 ` aph at gcc dot gnu dot org
  2006-07-24 20:16 ` gnu_andrew at member dot fsf dot org
                   ` (3 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-07-24 11:39 UTC (permalink / raw)
  To: java-prs



------- Comment #5 from aph at gcc dot gnu dot org  2006-07-24 11:39 -------
Works for me.

 $ ~/gcc/gcj-eclipse/obj-x86_64-unknown-linux-gnu/gcc/jc1
/tmp/LightweightRedirector.class -fhash-synchronization
-fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions
-fkeep-inline-functions -quiet -dumpbase LightweightRedirector.class
-mtune=generic -auxbase-strip gnu/.libs/awt.o -g -O2 -Wno-deprecated -version
-fomit-frame-pointer -fencoding=UTF-8 -fbootstrap-classes
-fsource-filename=$HOME/gcc/gcj-eclipse/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/classpath/lib/classes
-fPIC
-fbootclasspath=./:$HOME/gcc/gcj-eclipse/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/classpath/lib/
-faux-classpath /tmp/ccNqEVSq.zip -o /tmp/cc0NqHDH.s
GNU Java version 4.2.0 20060604 (gcj-eclipse experimental)
(x86_64-unknown-linux-gnu)
        compiled by GNU C version 4.2.0 20060604 (gcj-eclipse experimental).
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Class path starts here:
    /tmp/ccNqEVSq.zip/ (zip)
    ./ (system)
   
/home/aph/gcc/gcj-eclipse/obj-x86_64-unknown-linux-gnu/x86_64-unknown-linux-gnu/libjava/classpath/lib/
(system)
 $ 


-- 

aph at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |WAITING


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (5 preceding siblings ...)
  2006-07-24 11:39 ` aph at gcc dot gnu dot org
@ 2006-07-24 20:16 ` gnu_andrew at member dot fsf dot org
  2006-07-25  9:43 ` aph at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  9 siblings, 0 replies; 11+ messages in thread
From: gnu_andrew at member dot fsf dot org @ 2006-07-24 20:16 UTC (permalink / raw)
  To: java-prs



------- Comment #6 from gnu_andrew at member dot fsf dot org  2006-07-24 20:16 -------
Does your compiled version of java.lang.Class contain a field class$0?  This is
what me and Tom narrowed the problem down to.


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (6 preceding siblings ...)
  2006-07-24 20:16 ` gnu_andrew at member dot fsf dot org
@ 2006-07-25  9:43 ` aph at gcc dot gnu dot org
  2006-07-25 10:00 ` aph at gcc dot gnu dot org
  2006-08-28 16:54 ` aph at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-07-25  9:43 UTC (permalink / raw)
  To: java-prs



------- Comment #7 from aph at gcc dot gnu dot org  2006-07-25 09:43 -------
No, my java.lang.Class does not contain Class$0.  Please attach yours.


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (7 preceding siblings ...)
  2006-07-25  9:43 ` aph at gcc dot gnu dot org
@ 2006-07-25 10:00 ` aph at gcc dot gnu dot org
  2006-08-28 16:54 ` aph at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-07-25 10:00 UTC (permalink / raw)
  To: java-prs



------- Comment #8 from aph at gcc dot gnu dot org  2006-07-25 10:00 -------
I recompiled everything.  Still:

Reading .class from
x86_64-unknown-linux-gnu/libjava/libgcj-4.2.0.jar(java/lang/Class.class).
Magic number: 0xcafebabe, minor_version: 0, major_version: 49.

Access flags: 0x31 public final super
This class: java.lang.Class, super: java.lang.Object
Interfaces (count: 4):
- Implements: java.lang.reflect.Type
- Implements: java.lang.reflect.AnnotatedElement
- Implements: java.lang.reflect.GenericDeclaration
- Implements: java.io.Serializable

Fields (count: 0):


-- 


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


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

* [Bug java/28458] [ecj] Fails to build gnu.awt.LightweightRedirector
  2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
                   ` (8 preceding siblings ...)
  2006-07-25 10:00 ` aph at gcc dot gnu dot org
@ 2006-08-28 16:54 ` aph at gcc dot gnu dot org
  9 siblings, 0 replies; 11+ messages in thread
From: aph at gcc dot gnu dot org @ 2006-08-28 16:54 UTC (permalink / raw)
  To: java-prs



------- Comment #9 from aph at gcc dot gnu dot org  2006-08-28 16:54 -------
.


-- 

aph at gcc dot gnu dot org changed:

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


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


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

end of thread, other threads:[~2006-08-28 16:54 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-22 21:32 [Bug java/28458] New: [ecj] Fails to build gnu.awt.LightweightRedirector gnu_andrew at member dot fsf dot org
2006-07-22 21:34 ` [Bug java/28458] " gnu_andrew at member dot fsf dot org
2006-07-22 21:40 ` gnu_andrew at member dot fsf dot org
2006-07-22 21:56 ` gnu_andrew at member dot fsf dot org
2006-07-22 22:02 ` gnu_andrew at member dot fsf dot org
2006-07-24 10:13 ` aph at gcc dot gnu dot org
2006-07-24 11:39 ` aph at gcc dot gnu dot org
2006-07-24 20:16 ` gnu_andrew at member dot fsf dot org
2006-07-25  9:43 ` aph at gcc dot gnu dot org
2006-07-25 10:00 ` aph at gcc dot gnu dot org
2006-08-28 16:54 ` aph 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).