From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18044 invoked by alias); 18 Feb 2013 09:07:01 -0000 Received: (qmail 18008 invoked by uid 48); 18 Feb 2013 09:07:00 -0000 From: "k2k at narod dot ru" To: java-prs@gcc.gnu.org Subject: [Bug java/56372] New: Missing libgcj caused ICE (stack overflow) in jc1 Date: Mon, 18 Feb 2013 09:07:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: java X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: k2k at narod dot ru X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact java-prs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-prs-owner@gcc.gnu.org X-SW-Source: 2013-q1/txt/msg00006.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56372 Bug #: 56372 Summary: Missing libgcj caused ICE (stack overflow) in jc1 Classification: Unclassified Product: gcc Version: 4.7.2 Status: UNCONFIRMED Severity: normal Priority: P3 Component: java AssignedTo: unassigned@gcc.gnu.org ReportedBy: k2k@narod.ru Host: i686-pc-mingw32 Target: i686-w64-mingw32, x86_64-w64-mingw32 Build: i686-pc-mingw32 When building cross-compiler, this command caused stack overflow i686-pc-mingw32-gcj -o ecjx.exe -findirect-dispatch --main=org.eclipse.jdt.internal.compiler.batch.GCCMain ../../../../source/gcc-4.7.2/libjava/../ecj.jar ecjx.o That internally calls "t:/dvlp/mingw-w64-i686/libexec/gcc/i686-w64-mingw32/4.7.2/jc1.exe" "../../../../source/gcc-4.7.2/libjava/../ecj.jar" "-fhash-synchronization" "-fuse-divide-subroutine" "-fcheck-references" "-fuse-boehm-gc" "-fkeep-inline-functions" "-quiet" "-dumpbase" "ecj.jar" "-mtune=generic" "-march=pentium3" "-auxbase" "ecj" "-g1" "-findirect-dispatch" "-fbootclasspath=./;T:/dvlp/mingw-w64-i686/share/java/libgcj-4.7.2.jar" "-o" "C:\Users\UserName\AppData\Local\Temp\ccgbcsCW.s" If libgcj-4.7.2.jar is missing than jc1.exe is closed with error (stack overflow). Even with increased stack to 140 MB. Situation with missing libgcj is not valid, but I believe that jc1 must print some error message and not to crash.