This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc 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]

[Bug nptl/12310] pthread_exit() in main thread segfaults when statically-linked


http://sourceware.org/bugzilla/show_bug.cgi?id=12310

--- Comment #5 from Vladimir Nikulichev <wintersonnenwende at yandex dot ru> ---
There are two another solutions:

1) Move __nptl_nthreads to separate object file and don't mark the reference as
weak. I think it is better semantically.
2) Check if &__nptl_nthreads == NULL in libc-start.

What do you think about it?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


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