This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Jan 2006 17:43:01 -0000
- Subject: [Bug libgcj/13212] JNI/CNI AttachCurrentThread does not register thread with garbage collector
- References: <bug-13212-7355@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #23 from jakub at gcc dot gnu dot org 2006-01-09 17:42 -------
Forgot to mention, the fix would be to use dlvsym (RTLD_NEXT, "pthread_create",
"GLIBC_2.1") (on i?86 and several other platforms) and different versions
on other arches (GLIBC_2.2.5 on x86_64, etc.).
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13212