[Bug libgcj/12708] SIGSEGV, Segmentation fault starting java program
bryce at mckinlay dot net dot nz
gcc-bugzilla@gcc.gnu.org
Wed Oct 22 08:53:00 GMT 2003
PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=12708
------- Additional Comments From bryce at mckinlay dot net dot nz 2003-10-22 08:28 -------
Subject: Re: SIGSEGV, Segmentation fault starting java program
>> 1. Does a "hello world" program work ok?
>
> No, same error. Good Question! I was stupid to not tested myself.
OK, so it must be something caused by your configuration or
environment. What linux distribution is this on? And are you using the
distribution's gcj or did you compile it yourself?
>> 2. Can you try this with the current CVS code?
>
> No, I tried, but I seems to have difficulties to compile it:
> -I../../gcc/gcc/ada ../../gcc/gcc/ada/gnat1drv.adb -o ada/gnat1drv.o
> gnatbind -C -I- -I. -Iada -I../../gcc/gcc/ada -o ada/b_gnat1.c -n
> ada/gnat1drv.ali
> fatal error: file gnat1drv.ali is incorrectly formatted
> make sure you are using consistent versions of gcc/gnatbind
Try configuring with --enable-languages=java - this will only build the
C, C++, and java compilers so problems with ada will be avoided (and
the build will go a bit faster)
FYI my configure command is:
./configure --prefix=/home/bryce/gcc --enable-languages=java
--enable-java-awt=gtk --disable-static
More information about the Gcc-bugs
mailing list