This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug nptl/14556] Some nptl tests failed when linking statically
- From: "hjl.tools at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Fri, 07 Sep 2012 17:37:09 +0000
- Subject: [Bug nptl/14556] Some nptl tests failed when linking statically
- Auto-submitted: auto-generated
- References: <bug-14556-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=14556
--- Comment #2 from H.J. Lu <hjl.tools at gmail dot com> 2012-09-07 17:37:09 UTC ---
nptl/tst-cancel7.c failed since _pthread_cleanup_push_defer
wasn't linked in _IO_link_in:
#ifdef _IO_MTSAFE_IO
_IO_cleanup_region_start_noarg (flush_cleanup);
_IO_lock_lock (list_all_lock);
run_fp = (_IO_FILE *) fp;
_IO_flockfile ((_IO_FILE *) fp);
#endif
It is because weak reference in libc.a will never include
definition in libpthread,a.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.