Page MenuHomeFreeBSD

D43783.diff
No OneTemporary

D43783.diff

diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -13,8 +13,6 @@
LIB=thr
SHLIB_MAJOR= 3
-LIBADD= sys
-
NO_WTHREAD_SAFETY=1
NO_WCAST_ALIGN.gcc=1 # for gcc 4.2
CFLAGS+=-DPTHREAD_KERNEL
@@ -47,6 +45,7 @@
.endif
LDFLAGS+=-Wl,-znodelete
+LDFLAGS+=-Wl,--auxiliary,libsys.so.7
VERSION_DEF=${SRCTOP}/lib/libc/Versions.def
SYMBOL_MAPS=${.CURDIR}/pthread.map
@@ -76,7 +75,7 @@
.else
.PATH: ${LIBSYS_SRCTOP}
.endif
-STATICOBJS+= _umtx_op_err.o
+OBJS+= _umtx_op_err.o
.if ${MK_INSTALLLIB} != "no"
SYMLINKS+=lib${LIB}.a ${LIBDIR}/libpthread.a
diff --git a/lib/libthr/pthread.map b/lib/libthr/pthread.map
--- a/lib/libthr/pthread.map
+++ b/lib/libthr/pthread.map
@@ -298,6 +298,9 @@
/* ABI bug workaround, indicate that pli->rtli_version is valid */
_pli_rtli_version;
+
+ /* Expose stub for libsys filter */
+ _umtx_op_err;
};
FBSD_1.1 {

File Metadata

Mime Type
text/plain
Expires
Tue, Apr 22, 10:49 PM (7 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
17716953
Default Alt Text
D43783.diff (921 B)

Event Timeline