This is the mail archive of the java-prs@sources.redhat.com mailing list for the Java project.


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

gcj/354: Cannot compile .jar files with current compiler



>Number:         354
>Category:       gcj
>Synopsis:       Cannot compile .jar files with current compiler
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    apbianco
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Oct 09 17:50:00 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Bryce McKinlay
>Release:        gcc version 2.97 20001008 (experimental)
>Organization:
>Environment:
linux
>Description:
The compiler gets a SIGSEGV attempting to build a .jar file.
It doesn't matter if the .jar is compressed or not.

(gdb) r gnu-regexp-1.0.8.jar -fno-use-divide-subroutine -fuse-boehm-gc -fasynchronous-exceptions -quiet -dumpbase gnu-regexp-1.0.8.jar -g1 -version -o /tmp/cc8fdFdw.s
Starting program: /usr/local/gcc/lib/gcc-lib/i686-pc-linux-gnu/2.97/jc1 gnu-regexp-1.0.8.jar -fno-use-divide-subroutine -fuse-boehm-gc -fasynchronous-exceptions -quiet -dumpbase gnu-regexp-1.0.8.jar -g1 -version -o /tmp/cc8fdFdw.s
GNU Java version 2.97 20001008 (experimental) (i686-pc-linux-gnu) compiled by GNU C version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release).

Program received signal SIGSEGV, Segmentation fault.
0x4006c6d4 in _IO_seekoff (fp=0x0, offset=251, dir=0, mode=3) at ioseekoff.c:56
56      ioseekoff.c: No such file or directory.
(gdb) bt
#0  0x4006c6d4 in _IO_seekoff (fp=0x0, offset=251, dir=0, mode=3)
    at ioseekoff.c:56
#1  0x4006cfc9 in fseek (fp=0x0, offset=251, whence=0) at fseek.c:39
#2  0x80a2f5a in parse_zip_file_entries () at ../../../gcc/java/jcf-parse.c:961
#3  0x80a2cd0 in yyparse () at ../../../gcc/java/jcf-parse.c:915
#4  0x80aef65 in compile_file (name=0x4011c6a0 "gnu-regexp-1.0.8.jar")
    at ../../gcc/toplev.c:2350
#5  0x80b29b4 in main (argc=12, argv=0xbffff9c4) at ../../gcc/toplev.c:4845
>How-To-Repeat:
gcj -c some-jar-file.jar
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:

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