This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Strange crash when linking static.
- From: Bryce McKinlay <mckinlay at redhat dot com>
- To: Clemens Eisserer <ceisserer at utanet dot at>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 04 Oct 2004 14:11:09 -0400
- Subject: Re: Strange crash when linking static.
- References: <415DBDD0.3010609@utanet.at>
Clemens Eisserer wrote:
looks quite fine, however does anybody know a way to make static
builds independent from a shared glibc?
I don't know of an easy way to do this. There would certainly be value
in having a "--static-libgcj" argument for GCJ.
I tried to debug the whole thing using gdb, however gdb says that it
faild setting a breakpoint in a shared library.
After this message gdb blocks the terminal and killing this gdb even
killed the bash running gdb ;-)
Any ideas whats wrong? I use gcj-3.3.3 distributed with Fedora Core 2....
I don't know what the problem is, but try setting LD_ASSUME_KERNEL=2.4.2
or so as this may give better results for GDB with signals and threads
by disabling NPTL in favour of Linuxthreads.
Regards
Bryce