Bug 12006 - Segementation fault when compiling app
Summary: Segementation fault when compiling app
Status: RESOLVED DUPLICATE of bug 9947
Alias: None
Product: gcc
Classification: Unclassified
Component: java (show other bugs)
Version: 3.3.1
: P3 minor
Target Milestone: 3.4.0
Assignee: Not yet assigned to anyone
Depends on:
Reported: 2003-08-21 11:04 UTC by oyvind.harboe
Modified: 2005-07-23 22:49 UTC (History)
2 users (show)

See Also:
Known to work:
Known to fail:
Last reconfirmed:

The .jar in the command line. Without it, everything compiles fine. (26.26 KB, application/x-zip-compressed)
2003-08-21 11:06 UTC, oyvind.harboe

Note You need to log in before you can comment on or make changes to this bug.
Description oyvind.harboe 2003-08-21 11:04:55 UTC
This is using Mohans build for Windows 20030802.

I'll attach the files in question.

\thisiscool-gcc\gcc-3.3\bin\gcj --main=HelloSWT --classpath=\thisiscool-
gcc\swt\win32\lib\swt.jar -o HellOSWT.exe HelloSWT.java -L\thisiscool-
gcc\swt\win32\lib jakarta-regexp-1.2.jar -lswt

org/apache/regexp/ReaderCharacterIterator.class:0: internal compiler error: 
Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://www.mingw.org/bugs.shtml> for instructions.

C:\thisiscool-gcc\examples\HelloSWT>\thisiscool-gcc-20030802\gcc-3.3\bin\gcj -v
Reading specs from /thisiscool-gcc-20030802/gcc-3.3/bin/../lib/gcc-lib/i686-pc-m
Reading specs from /thisiscool-gcc-20030802/gcc-3.3/bin/../lib/gcc-lib/i686-pc-m
rename spec lib to liborig
Configured with: /datal/gcc/gcc/configure --prefix=/datal/gcc/build/wingcc --bui
ld=i686-pc-linux-gnu --host=i686-pc-mingw32 --target=i686-pc-mingw32 --enable-la
nguages=c,c++,java --with-gcc --with-gnu-as --with-gnu-ld --with-as=i686-pc-ming
w32-as --with-ld=i686-pc-mingw32-ld --enable-threads=win32 --disable-nls --disab
le-win32-registry --disable-shared --disable-debug --without-newlib --enable-lib
gcj --disable-java-awt --without-x --enable-java-gc=boehm --disable-libgcj-debug
 --enable-interpreter --enable-hash-synchronization --enable-sjlj-exceptions
Thread model: win32
gcc version 3.3 (mingw special 20030514-1)
Comment 1 oyvind.harboe 2003-08-21 11:06:02 UTC
Created attachment 4628 [details]
The .jar in the command line. Without it, everything compiles fine.
Comment 2 oyvind.harboe 2003-08-21 11:07:55 UTC
Download the Windows compiler/examples from:


Comment 3 Andrew Pinski 2003-08-21 12:06:19 UTC
I cannot reproduce this in the mainline on i686-pc-linux-gnu or powerpc-apple-
Comment 4 oyvind.harboe 2003-08-21 13:45:36 UTC
The problem is discussed in this thread.

It happens w/Mohans build GCC 3.4 20030802, but it isn't obviously 

Comment 5 Andrew Pinski 2003-08-21 13:50:50 UTC
Compiling multiple jar is the problem (I just replied to your email).  I am marking this as a dup of 
bug 9947 which is the bug to tract bug.

*** This bug has been marked as a duplicate of 9947 ***