This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ + RXTX
- From: Andrew Haley <aph at redhat dot com>
- To: Mark Anderson <mark at panonet dot net>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 24 Jan 2005 10:47:11 +0000
- Subject: Re: GCJ + RXTX
- References: <200501211711.27605.mark@panonet.net>
Mark Anderson writes:
> I am trying to use the RXTX (2.1-7pre17) serial I/O library with gcj (4.0
> snapshot from 16/01/05).
>
> I have a simple test program to list the available ports. This works fine when
> I compile my program to work against the libgcj shared library. However, when
> I add the -static flag the program will list the ports but then hang and not
> exit.
>
> I have attached the strace output for both running against the shared library
> and using static. It seems that the static version is not receiving a
> SIGRTMIN signal at the very end causing it not to exit.
>
> Does anyone have any idea what is happening?
It's hard to say. strace isn't very useful for this kind of thing.
Did you try to debug with gdb?
Andrew.