no stacktrace available
Tue Dec 14 06:32:00 GMT 2004
hmm, on linux it does just work. nothing to issue a stack trace for.
-g on netbsd doesn't help.
no idea how gcj was built - i installed a standard package. also no idea
what other binary magic netbsd uses.
back in the netbsd 1.6 days there was a thread/gc interaction that kept
me away. lots of thread improvements in 2.0; i'll try out a simpler
example to satisfy myself that that problem at least has gone away.
Michael Koch wrote:
>Am Dienstag, 14. Dezember 2004 05:38 schrieb Bart Locanthi:
>>soo... i'm attempting to port a largish program to gcj.
>>on netbsd 2.0... which has a gcc-java-3.3.4 package.
>>not having ant and not wanting to again figure out how to get make
>>to do what i want, i made a list of all the java files in ~/src
>>(with path names from that point), and built the program with the
>>% gcj --main=com..Server -o ug `cat list`
>>took a while but it compiles with no warnings or errors. however,
>>when i try to run it i get:
>>% ug conf/toy.xml
>> <<No stacktrace available>>
>>i'm willing to track this down but i'd like to have a stack trace
>>or something. note that the program appears to hang. well, it's a
>>server but it isn't opening a ServerSocket.
>>so is there a load flag or an environment something that will get
>>me a stack trace?
>>btw it seems not to make a difference whether i set LD_LIBRARY_PATH
>>(on netbsd that would be /usr/pkg/gcc3/lib).
>>should i be trying this on linux first?
>On linux it should just work. I wonder why you get no stacktrace. Can
>you try to compiler with "-g" added to your above line? What
>configure flags was used to build gcj ? What debugging format is used
>on NetBSD 2.0 ? DWARF-2 ?
More information about the Java