public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs
@ 2010-02-12 18:09 eldenc at tucsonembedded dot com
2010-02-12 18:17 ` [Bug java/43055] " eldenc at tucsonembedded dot com
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: eldenc at tucsonembedded dot com @ 2010-02-12 18:09 UTC (permalink / raw)
To: java-prs
Appear to be a recurrence of an older 'fixed' bug
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8260
I will attempt to compile the latest version gcj and see if the problem exists
there as well.
================ test.java ================
public class test {
public static void main(String[] args) {
System.out.println("Hi Elden");
}
}
============================================
gcj -fprofile-arcs -g --main=test test.java
eldenlinux2: /e/junk $ gcj -v
Using built-in specs.
Reading specs from /usr/lib/gcc/i486-linux-gnu/4.4.1/libgcj.spec
rename spec startfile to startfileorig
rename spec lib to liborig
Target: i486-linux-gnu
Configured with: ../src/configure -v --with-pkgversion='Ubuntu 4.4.1-5ubuntu2'
--with-bugurl=file:///usr/share/doc/gcj-4.4/README.Bugs
--enable-languages=c,c++,java --prefix=/usr --enable-shared --enable-multiarch
--enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib
--without-included-gettext --enable-threads=posix
--with-gxx-include-dir=/usr/include/c++/4.4 --program-suffix=-4.4 --enable-nls
--enable-clocale=gnu --disable-libmudflap --enable-java-awt=gtk
--enable-gtk-cairo --disable-plugin
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-4.4/jre --enable-java-home
--with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-4.4
--with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-4.4
--with-arch-directory=i386 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar
--enable-targets=all --disable-werror --with-arch-32=i486 --with-tune=generic
--enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu
--target=i486-linux-gnu
Thread model: posix
gcc version 4.4.1 (Ubuntu 4.4.1-5ubuntu2)
--
Summary: 'jc1: internal compiler error: Segmentation fault'
using gcj -fprofile-arcs
Product: gcc
Version: 4.4.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: java
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: eldenc at tucsonembedded dot com
GCC build triplet: i486-linux-gnu
GCC host triplet: i486-linux-gnu
GCC target triplet: i486-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43055
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/43055] 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs
2010-02-12 18:09 [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs eldenc at tucsonembedded dot com
@ 2010-02-12 18:17 ` eldenc at tucsonembedded dot com
2010-02-13 10:32 ` [Bug java/43055] [4.3/4.4/4.5 Regression'jc1: " rguenth at gcc dot gnu dot org
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: eldenc at tucsonembedded dot com @ 2010-02-12 18:17 UTC (permalink / raw)
To: java-prs
------- Comment #1 from eldenc at tucsonembedded dot com 2010-02-12 18:17 -------
Created an attachment (id=19851)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=19851&action=view)
compiling this helloworld with 'gcj -fprofile-arcs -g --main=test test.java'
seg faults
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43055
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/43055] [4.3/4.4/4.5 Regression'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs
2010-02-12 18:09 [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs eldenc at tucsonembedded dot com
2010-02-12 18:17 ` [Bug java/43055] " eldenc at tucsonembedded dot com
@ 2010-02-13 10:32 ` rguenth at gcc dot gnu dot org
2010-02-13 10:35 ` [Bug java/43055] [4.3/4.4/4.5 Regression] 'jc1: " rguenth at gcc dot gnu dot org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-13 10:32 UTC (permalink / raw)
To: java-prs
------- Comment #2 from rguenth at gcc dot gnu dot org 2010-02-13 10:32 -------
Also fails for me with 4.3 and trunk.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed|0 |1
Keywords| |ice-on-valid-code
Known to fail| |4.3.4 4.4.1 4.5.0
Known to work| |4.2.4
Last reconfirmed|0000-00-00 00:00:00 |2010-02-13 10:32:05
date| |
Summary|'jc1: internal compiler |[4.3/4.4/4.5 Regression'jc1:
|error: Segmentation fault' |internal compiler error:
|using gcj -fprofile-arcs |Segmentation fault' using
| |gcj -fprofile-arcs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43055
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/43055] [4.3/4.4/4.5 Regression] 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs
2010-02-12 18:09 [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs eldenc at tucsonembedded dot com
2010-02-12 18:17 ` [Bug java/43055] " eldenc at tucsonembedded dot com
2010-02-13 10:32 ` [Bug java/43055] [4.3/4.4/4.5 Regression'jc1: " rguenth at gcc dot gnu dot org
@ 2010-02-13 10:35 ` rguenth at gcc dot gnu dot org
2010-02-17 17:33 ` mmitchel at gcc dot gnu dot org
2010-05-22 18:33 ` [Bug java/43055] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-02-13 10:35 UTC (permalink / raw)
To: java-prs
------- Comment #3 from rguenth at gcc dot gnu dot org 2010-02-13 10:35 -------
Program received signal SIGSEGV, Segmentation fault.
0x08158cf6 in coverage_checksum_string (chksum=0, string=0x0)
at /home/richard/src/trunk/gcc/coverage.c:484
484 for (i = 0; string[i]; i++)
Looks like the current function does not have a location.
536 {
537 expanded_location xloc
538 = expand_location (DECL_SOURCE_LOCATION (current_function_decl));
539 unsigned chksum = xloc.line;
540
541 chksum = coverage_checksum_string (chksum, xloc.file);
542 chksum = coverage_checksum_string
543 (chksum, IDENTIFIER_POINTER (DECL_ASSEMBLER_NAME
(current_function_decl)));
544
545 return chksum;
(gdb) p xloc
$3 = {file = 0x0, line = 0, column = 0, sysp = 0 '\000'}
(gdb) call debug_generic_expr (current_function_decl)
_Jv_global_static_constructor
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|[4.3/4.4/4.5 Regression'jc1:|[4.3/4.4/4.5 Regression]
|internal compiler error: |'jc1: internal compiler
|Segmentation fault' using |error: Segmentation fault'
|gcj -fprofile-arcs |using gcj -fprofile-arcs
Target Milestone|--- |4.3.5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43055
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/43055] [4.3/4.4/4.5 Regression] 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs
2010-02-12 18:09 [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs eldenc at tucsonembedded dot com
` (2 preceding siblings ...)
2010-02-13 10:35 ` [Bug java/43055] [4.3/4.4/4.5 Regression] 'jc1: " rguenth at gcc dot gnu dot org
@ 2010-02-17 17:33 ` mmitchel at gcc dot gnu dot org
2010-05-22 18:33 ` [Bug java/43055] [4.3/4.4/4.5/4.6 " rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: mmitchel at gcc dot gnu dot org @ 2010-02-17 17:33 UTC (permalink / raw)
To: java-prs
--
mmitchel at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Priority|P3 |P5
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43055
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug java/43055] [4.3/4.4/4.5/4.6 Regression] 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs
2010-02-12 18:09 [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs eldenc at tucsonembedded dot com
` (3 preceding siblings ...)
2010-02-17 17:33 ` mmitchel at gcc dot gnu dot org
@ 2010-05-22 18:33 ` rguenth at gcc dot gnu dot org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu dot org @ 2010-05-22 18:33 UTC (permalink / raw)
To: java-prs
------- Comment #4 from rguenth at gcc dot gnu dot org 2010-05-22 18:13 -------
GCC 4.3.5 is being released, adjusting target milestone.
--
rguenth at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|4.3.5 |4.3.6
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43055
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-05-22 18:33 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-02-12 18:09 [Bug java/43055] New: 'jc1: internal compiler error: Segmentation fault' using gcj -fprofile-arcs eldenc at tucsonembedded dot com
2010-02-12 18:17 ` [Bug java/43055] " eldenc at tucsonembedded dot com
2010-02-13 10:32 ` [Bug java/43055] [4.3/4.4/4.5 Regression'jc1: " rguenth at gcc dot gnu dot org
2010-02-13 10:35 ` [Bug java/43055] [4.3/4.4/4.5 Regression] 'jc1: " rguenth at gcc dot gnu dot org
2010-02-17 17:33 ` mmitchel at gcc dot gnu dot org
2010-05-22 18:33 ` [Bug java/43055] [4.3/4.4/4.5/4.6 " rguenth 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).