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: Strange crash when linking static.


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


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