Strange crash when linking static.
Bryce McKinlay
mckinlay@redhat.com
Mon Oct 4 18:11:00 GMT 2004
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
More information about the Java
mailing list