This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: GCJ + RXTX


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]