glibc build error: linking nptl static - V2.17

L A Walsh glibc@tlinx.org
Thu Apr 4 03:48:00 GMT 2013





L A Walsh wrote:

FWIW: I commented out the hard ref to __GI__pthread_unwind
and added the same ".weak __pthread_unwind"




#ifdef IS_IN_libpthread
# ifdef SHARED
    .weak __pthread_unwind
/*#  define __pthread_unwind __GI___pthread_unwind*/
# endif
#else
# ifndef SHARED
    .weak __pthread_unwind
# endif
#endif

now it builds (dunnow if anything will run w/it ;-)

so ... what did I just do?   I.e. impact of that change?

I admit to not knowing what I am doing, other than to get rid
of the offending code and replace it with what looks like
is intended for the static case.

I certainly wouldn't want to ship it! ;-)





More information about the Libc-help mailing list