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/14556] Some nptl tests failed when linking statically


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.


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