This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug java/13948] New: GCJ segmentation fault while compiling GL4Java .class files


When trying to compile GL4Java project .class files into native code GCJ crashes.

I prepared minimal test case.

Command I issue and its result:
max@maxbox:~/gl4java_test$ gcj -v -save-temps --classpath ${LIBGCJ} -shared -o
libgl4java.so gl4java/GL4JavaInitException.class gl4java/GLRunnable.class
Reading specs from /home/max/gcc34/out/lib/gcc/i686-pc-linux-gnu/3.4.0/specs
Reading specs from
/home/max/gcc34/out/lib/gcc/i686-pc-linux-gnu/3.4.0/../../../libgcj.spec
rename spec lib to liborig
Configured with: ../gcc/configure --prefix=/home/max/gcc34/out --with-system-zlib
Thread model: posix
gcc version 3.4.0 20040125 (prerelease)
 /home/max/gcc34/out/libexec/gcc/i686-pc-linux-gnu/3.4.0/jc1 /tmp/ccgrrBzxjx
-fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fkeep-inline-functions -quiet -dumpbase ccgrrBzxjx
-mtune=pentiumpro -auxbase ccgrrBzxjx -g1 -version -fclasspath=-shared
-ffilelist-file -o ccgrrBzxjx.s
GNU Java version 3.4.0 20040125 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 3.3.3 20040110 (prerelease) (Debian).
GGC heuristics: --param ggc-min-expand=64 --param ggc-min-heapsize=64465
Class path starts here:
    -shared/
    /home/max/gcc34/out/share/java/libgcj-3.4.0.jar/ (system) (zip)
gl4java/GL4JavaInitException.class:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.



Contents of ccgrrBzxjx.s generated temp file:
        .file   "ccgrrBzxjx"
        .section        .debug_abbrev,"",@progbits
.Ldebug_abbrev0:
        .section        .debug_info,"",@progbits
.Ldebug_info0:
        .section        .debug_line,"",@progbits
.Ldebug_line0:
        .text
.Ltext0:


I'm using GCC obtained from CVS gcc-3_4-branch on 2004.01.25

GCJ version:

max@maxbox:~/gl4java_test$ gcj --version
gcj (GCC) 3.4.0 20040125 (prerelease)
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
                                                                               
                                            
System:
max@maxbox:~/gl4java_test$ uname -a
Linux maxbox 2.4.24-1-686 #1 Tue Jan 6 21:29:44 EST 2004 i686 GNU/Linux


I'll be happy to provide any help which would aid in resolving this problem.
Max

-- 
           Summary: GCJ segmentation fault while compiling GL4Java .class
                    files
           Product: gcc
           Version: 3.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: gilead at yellowhedgehog dot com
                CC: gcc-bugs at gcc dot gnu dot org


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]