This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug boehm-gc/28760] GC_PTHREAD_CREATE_NAME segfaults in statically linked binaries
- From: "daney at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 17 Aug 2006 16:18:26 -0000
- Subject: [Bug boehm-gc/28760] GC_PTHREAD_CREATE_NAME segfaults in statically linked binaries
- References: <bug-28760-216@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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