[Bug boehm-gc/28760] GC_PTHREAD_CREATE_NAME segfaults in statically linked binaries

daney at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Thu Aug 17 16:18:00 GMT 2006



------- Comment #3 from daney at gcc dot gnu dot org  2006-08-17 16:18 -------
(In reply to comment #2)
> Why are you trying to static link java code?  It will almost not work for other
> cases.
> 

We have 7.5X10^6 lines of code in about 800 classes that run fine statically
linked.  So it does in fact work.  As to why, the answer is startup time and
code size.

We probably should fix this at some point, but until we do, I guess either do
not statically link libc or use your work around.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28760



More information about the Gcc-bugs mailing list