This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: GCJ + RXTX
- From: Mark Anderson <mark at panonet dot net>
- To: Andrew Haley <aph at redhat dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 7 Feb 2005 13:52:30 +0000
- Subject: Re: GCJ + RXTX
- References: <200501211711.27605.mark@panonet.net> <16884.53807.486113.670971@cuddles.cambridge.redhat.com>
On Monday 24 Jan 2005 10:47, Andrew Haley wrote:
> 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.
I have not tried gdb but will. I have never really used gdb before and my
knowledge of it amounts to what I have seen in the help document on the GCJ
web pages. Can anyone give me some pointers to what commands I should be
using to help track down this issue?
--
Regards,
Mark