* [Bug java/21022] bootstrap error compiling libgcj with awt support on darwin-ppc
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
@ 2005-04-15 5:38 ` pinskia at gcc dot gnu dot org
2005-04-16 19:53 ` pinskia at gcc dot gnu dot org
` (12 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-15 5:38 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |pinskia at gcc dot gnu dot
| |org
Keywords| |build, ice-on-valid-code
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug java/21022] bootstrap error compiling libgcj with awt support on darwin-ppc
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
2005-04-15 5:38 ` [Bug java/21022] " pinskia at gcc dot gnu dot org
@ 2005-04-16 19:53 ` pinskia at gcc dot gnu dot org
2005-04-16 20:07 ` pinskia at gcc dot gnu dot org
` (11 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-16 19:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-16 19:53 -------
Confirmed on x86-pc-linux-gnu with compiling the generated GdkFontMetrics.class from gcj build
with the following command line.
gcj -S -gstabs -findirect-dispatch GdkFontMetrics.class
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-04-16 19:53:44
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug java/21022] bootstrap error compiling libgcj with awt support on darwin-ppc
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
2005-04-15 5:38 ` [Bug java/21022] " pinskia at gcc dot gnu dot org
2005-04-16 19:53 ` pinskia at gcc dot gnu dot org
@ 2005-04-16 20:07 ` pinskia at gcc dot gnu dot org
2005-04-16 20:16 ` andreast at gcc dot gnu dot org
` (10 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-16 20:07 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-16 20:07 -------
Here is the backtrace:
#0 fold_convert (type=0xb7bf8288, arg=0x0) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/fold-
const.c:1883
#1 0x083be08f in bit_from_pos (offset=0xb7bf8288, bitpos=0xb7bf8288)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/stor-layout.c:538
#2 0x083d176f in bit_position (field=0xb7c37510) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/
tree.c:1495
#3 0x081ce78e in dbxout_type (type=0xb7c2abd0, full=0) at /home/peshtigo/pinskia/src/gnu/gcc/
src/gcc/dbxout.c:1406
#4 0x081ce46e in dbxout_type (type=0xb7c2ad80, full=1) at /home/peshtigo/pinskia/src/gnu/gcc/
src/gcc/dbxout.c:2112
#5 0x081d21ea in dbxout_symbol (decl=Variable "decl" is not available.
) at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/dbxout.c:2534
#6 0x083f2df2 in rest_of_decl_compilation (decl=0xb7c2ae58, top_level=1, at_end=0)
at /home/peshtigo/pinskia/src/gnu/gcc/src/gcc/passes.c:249
The field decl which is being taken the bit position of:
<field_decl 0xb7c37510 font
type <pointer_type 0xb7c2d288
type <record_type 0xb7c2d144 java.awt.Font type_4 DI
size <integer_cst 0xb7bf1408 constant invariant 64>
unit size <integer_cst 0xb7c0c708 constant invariant 8>
align 32 symtab 21 alias set -1 fields <field_decl 0xb7c3506c D.487>
pointer_to_this <pointer_type 0xb7c2d288> chain <type_decl 0xb7c2d21c java.awt.Font>>
unsigned SI
size <integer_cst 0xb7bf1360 constant invariant 32>
unit size <integer_cst 0xb7bf1180 constant invariant 4>
align 32 symtab 20 alias set -1
pointer_to_this <pointer_type 0xb7c3757c>>
ignored decl_1 VOID file gnu/java/awt/peer/gtk/GdkFontMetrics.java line 74
align 1 offset_align 1 context <record_type 0xb7c2abd0 java.awt.FontMetrics> chain <field_decl
0xb7c31948 D.454>>
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug java/21022] bootstrap error compiling libgcj with awt support on darwin-ppc
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (2 preceding siblings ...)
2005-04-16 20:07 ` pinskia at gcc dot gnu dot org
@ 2005-04-16 20:16 ` andreast at gcc dot gnu dot org
2005-04-19 13:26 ` [Bug java/21022] ICE while compiling GdkFontMetrics.class with stabs debugging aph at gcc dot gnu dot org
` (9 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-04-16 20:16 UTC (permalink / raw)
To: java-prs
------- Additional Comments From andreast at gcc dot gnu dot org 2005-04-16 20:16 -------
I just built the tree without awt-gtk enabled. The
gnu/java/awt/peer/gtk/GdkFontMetrics.class is built even without gtk enabled.
So, a command line compile of the class to .o is possible and makes the bug
easier to reproduce for others. As Andrew P already mentioned.
On darwin I reproduce the bug this way:
/Volumes/src/gcc/gcc-cvs/objdir/./gcc/jc1
gnu/java/awt/peer/gtk/GdkFontMetrics.class -fhash-synchronization
-fuse-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions
-fkeep-inline-functions -feliminate-unused-debug-symbols -fPIC -quiet -dumpbase
GdkFontMetrics.class -auxbase GdkFontMetrics -g -O2 -Wno-deprecated -version
-fclasspath=
-fbootclasspath=/Volumes/src/gcc/gcc-cvs/objdir/powerpc-apple-darwin7.9.0/libjava:/Volumes/src/gcc/gcc-cvs/gcc/libjava:/Volumes/src/gcc/gcc-cvs/gcc/libjava/external/w3c_dom:/Volumes/src/gcc/gcc-cvs/gcc/libjava/external/sax
-fencoding=UTF-8 -findirect-dispatch -fjni -o /var/tmp//ccA7zDFV.s
It happens on both, 4.0 and 4.1.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug java/21022] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (3 preceding siblings ...)
2005-04-16 20:16 ` andreast at gcc dot gnu dot org
@ 2005-04-19 13:26 ` aph at gcc dot gnu dot org
2005-04-19 15:43 ` cvs-commit at gcc dot gnu dot org
` (8 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: aph at gcc dot gnu dot org @ 2005-04-19 13:26 UTC (permalink / raw)
To: java-prs
------- Additional Comments From aph at gcc dot gnu dot org 2005-04-19 13:26 -------
See http://gcc.gnu.org/ml/gcc/2005-04/msg01068.html
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug java/21022] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (4 preceding siblings ...)
2005-04-19 13:26 ` [Bug java/21022] ICE while compiling GdkFontMetrics.class with stabs debugging aph at gcc dot gnu dot org
@ 2005-04-19 15:43 ` cvs-commit at gcc dot gnu dot org
2005-04-19 17:53 ` andreast at gcc dot gnu dot org
` (7 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-19 15:43 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-19 15:43 -------
Subject: Bug 21022
CVSROOT: /cvs/gcc
Module name: gcc
Changes by: aph@gcc.gnu.org 2005-04-19 15:43:00
Modified files:
gcc : dbxout.c ChangeLog
Log message:
2005-04-19 Andrew Haley <aph@redhat.com>
PR java/21022
* dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
looking at a field's bitpos.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dbxout.c.diff?cvsroot=gcc&r1=1.227&r2=1.228
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&r1=2.8361&r2=2.8362
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug java/21022] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (5 preceding siblings ...)
2005-04-19 15:43 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-19 17:53 ` andreast at gcc dot gnu dot org
2005-04-19 18:31 ` [Bug debug/21022] [4.0 only] " pinskia at gcc dot gnu dot org
` (6 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-04-19 17:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From andreast at gcc dot gnu dot org 2005-04-19 17:53 -------
Completed a build of HEAD with awt-gtk enabled on darwin7.9.
Thanks!
I run now a build on 4.0, even if we may not get this fix in for 4.0.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (6 preceding siblings ...)
2005-04-19 17:53 ` andreast at gcc dot gnu dot org
@ 2005-04-19 18:31 ` pinskia at gcc dot gnu dot org
2005-04-19 20:26 ` andreast at gcc dot gnu dot org
` (5 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-19 18:31 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
Component|java |debug
Summary|ICE while compiling |[4.0 only] ICE while
|GdkFontMetrics.class with |compiling
|stabs debugging |GdkFontMetrics.class with
| |stabs debugging
Target Milestone|--- |4.0.1
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (7 preceding siblings ...)
2005-04-19 18:31 ` [Bug debug/21022] [4.0 only] " pinskia at gcc dot gnu dot org
@ 2005-04-19 20:26 ` andreast at gcc dot gnu dot org
2005-04-25 21:36 ` pinskia at gcc dot gnu dot org
` (4 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: andreast at gcc dot gnu dot org @ 2005-04-19 20:26 UTC (permalink / raw)
To: java-prs
------- Additional Comments From andreast at gcc dot gnu dot org 2005-04-19 20:26 -------
Add on, a full bootstrap on 4.0 branch with the following config completed
successfully:
/Volumes/src/gcc/gcc-4.0-branch/gcc/configure
--prefix=/Volumes/src/gcc/gcc-4.0-branch/testbin --enable-languages=c,c++,java
--enable-java-awt=gtk,xlib --enable-gtk-cairo --disable-checking
--enable-libgcj-multifile
[wolfram:gcc/gcc-4.0-branch/objdir] andreast% cat ../gcc/LAST_UPDATED
Tue Apr 19 19:48:59 CEST 2005
Tue Apr 19 17:48:59 UTC 2005
And the dbxout patch from aph.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (8 preceding siblings ...)
2005-04-19 20:26 ` andreast at gcc dot gnu dot org
@ 2005-04-25 21:36 ` pinskia at gcc dot gnu dot org
2005-04-25 21:38 ` pinskia at gcc dot gnu dot org
` (3 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-25 21:36 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-25 21:36 -------
*** Bug 21225 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |htl10 at users dot
| |sourceforge dot net
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (9 preceding siblings ...)
2005-04-25 21:36 ` pinskia at gcc dot gnu dot org
@ 2005-04-25 21:38 ` pinskia at gcc dot gnu dot org
2005-04-28 16:34 ` cvs-commit at gcc dot gnu dot org
` (2 subsequent siblings)
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-25 21:38 UTC (permalink / raw)
To: java-prs
--
What |Removed |Added
----------------------------------------------------------------------------
AssignedTo|unassigned at gcc dot gnu |aph at gcc dot gnu dot org
|dot org |
URL| |http://gcc.gnu.org/ml/gcc-
| |patches/2005-
| |04/msg02105.html
Status|NEW |ASSIGNED
GCC build triplet|powerpc-apple-darwin7.8.0 |
GCC host triplet|powerpc-apple-darwin7.8.0 |
GCC target triplet|powerpc-apple-darwin7.8.0 |
Keywords| |patch
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (10 preceding siblings ...)
2005-04-25 21:38 ` pinskia at gcc dot gnu dot org
@ 2005-04-28 16:34 ` cvs-commit at gcc dot gnu dot org
2005-04-28 16:53 ` pinskia at gcc dot gnu dot org
2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-04-28 16:34 UTC (permalink / raw)
To: java-prs
------- Additional Comments From cvs-commit at gcc dot gnu dot org 2005-04-28 16:33 -------
Subject: Bug 21022
CVSROOT: /cvs/gcc
Module name: gcc
Branch: gcc-4_0-branch
Changes by: aph@gcc.gnu.org 2005-04-28 16:33:38
Modified files:
gcc : ChangeLog dbxout.c
Log message:
2005-04-19 Andrew Haley <aph@redhat.com>
PR java/21022
* dbxout.c (dbxout_type_fields): Check DECL_IGNORED_P before
looking at a field's bitpos.
Patches:
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/ChangeLog.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=2.7592.2.201&r2=2.7592.2.202
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/gcc/gcc/dbxout.c.diff?cvsroot=gcc&only_with_tag=gcc-4_0-branch&r1=1.221.2.1&r2=1.221.2.2
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (11 preceding siblings ...)
2005-04-28 16:34 ` cvs-commit at gcc dot gnu dot org
@ 2005-04-28 16:53 ` pinskia at gcc dot gnu dot org
2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-28 16:53 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-28 16:53 -------
Fixed, thanks again Andrew.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|ASSIGNED |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread
* [Bug debug/21022] [4.0 only] ICE while compiling GdkFontMetrics.class with stabs debugging
2005-04-14 13:48 [Bug java/21022] New: bootstrap error compiling libgcj with awt support on darwin-ppc andreast at gcc dot gnu dot org
` (12 preceding siblings ...)
2005-04-28 16:53 ` pinskia at gcc dot gnu dot org
@ 2005-04-30 17:57 ` pinskia at gcc dot gnu dot org
13 siblings, 0 replies; 15+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-04-30 17:57 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-04-30 17:57 -------
*** Bug 20910 has been marked as a duplicate of this bug. ***
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |steve at netfuel dot com
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21022
^ permalink raw reply [flat|nested] 15+ messages in thread