This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/12708] SIGSEGV, Segmentation fault starting java program
- From: "bryce at mckinlay dot net dot nz" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 22 Oct 2003 08:29:15 -0000
- Subject: [Bug libgcj/12708] SIGSEGV, Segmentation fault starting java program
- References: <20031021130251.12708.pj@csc.fi>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
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