public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug java/30466]  New: gcj crashes when using invalid options
@ 2007-01-15  1:22 davorin dot ucakar at gmail dot com
  2007-01-29 20:11 ` [Bug java/30466] " tromey at gcc dot gnu dot org
  0 siblings, 1 reply; 2+ messages in thread
From: davorin dot ucakar at gmail dot com @ 2007-01-15  1:22 UTC (permalink / raw)
  To: java-prs

gcj crashes when invoking like 'gcj -Msomething -MT something SomeFile.java'
where SomeFile.java could be any existing file, even empty.

OUTPUT:
$ gcj -Manything -MT anything Test.java -v
Using built-in specs.
Reading specs from /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/../../../libgcj.spec
rename spec lib to liborig
gcj: unrecognized option '-Manything'
Target: i686-pc-linux-gnu
Configured with: ../gcc-4.1-20061215/configure --prefix=/usr --enable-shared
--enable-languages=java --enable-threads=posix --enable-__cxa_atexit
--enable-java-awt=gtk --libdir=/usr/lib --disable-multilib --enable-clocale=gnu
--with-java-home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre
Thread model: posix
gcc version 4.1.2 20061215 (prerelease)
 /usr/libexec/gcc/i686-pc-linux-gnu/4.1.2/jc1 Test.java -fhash-synchronization
-fno-use-divide-subroutine -fuse-boehm-gc -fnon-call-exceptions
-fkeep-inline-functions -quiet -dumpbase Test.java -mtune=pentiumpro -auxbase
Test -g1 -version -MT anything -o /tmp/ccpXTZV8.s
GNU Java version 4.1.2 20061215 (prerelease) (i686-pc-linux-gnu)
        compiled by GNU C version 4.1.2 20061215 (prerelease).
GGC heuristics: --param ggc-min-expand=55 --param ggc-min-heapsize=48233
Class path starts here:
    ./
    /usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/lib/
    /usr/share/java/libgcj-4.1.2.jar/ (system) (zip)
jc1: ../../gcc-4.1-20061215/gcc/java/jcf-depend.c:135: jcf_dependency_write:
Assertion `dependencies' failed.
Test.java:1: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: gcj crashes when using invalid options
           Product: gcc
           Version: 4.1.2
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: java
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: davorin dot ucakar at gmail dot com
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: i686-pc-linux-gnu


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


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

* [Bug java/30466] gcj crashes when using invalid options
  2007-01-15  1:22 [Bug java/30466] New: gcj crashes when using invalid options davorin dot ucakar at gmail dot com
@ 2007-01-29 20:11 ` tromey at gcc dot gnu dot org
  0 siblings, 0 replies; 2+ messages in thread
From: tromey at gcc dot gnu dot org @ 2007-01-29 20:11 UTC (permalink / raw)
  To: java-prs



------- Comment #1 from tromey at gcc dot gnu dot org  2007-01-29 20:11 -------
Note that the '-Manything' argument is superfluous, the bug occurs
without it:

opsy. gcj -MT anything HelloWorld.java
jc1: ../../trunk/gcc/java/jcf-depend.c:138: jcf_dependency_write: Assertion
`dependencies' failed.
/tmp/ccGS8k5Z.jar:0: internal compiler error: Aborted

-M handling got pretty much nuked by the merge.
But, apparently, nuked in an unfriendly way :(


-- 

tromey at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tromey at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-01-29 20:11:39
               date|                            |


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


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

end of thread, other threads:[~2007-01-29 20:11 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-01-15  1:22 [Bug java/30466] New: gcj crashes when using invalid options davorin dot ucakar at gmail dot com
2007-01-29 20:11 ` [Bug java/30466] " tromey 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).