Date: Wed, 28 Jul 2004 23:35:12 +0900 (JST) From: Masakazu HIGAKI <higamasa@dream.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/69708: x11/xorg-libraries: lack of symbols under 4-STABLE Message-ID: <200407281435.i6SEZCAD067960@hig_pj.shio.naps.kishou.go.jp> Resent-Message-ID: <200407281450.i6SEoRE6063710@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 69708 >Category: ports >Synopsis: x11/xorg-libraries: lack of symbols under 4-STABLE >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jul 28 14:50:27 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Masakazu HIGAKI >Release: FreeBSD 4.10-RELEASE i386 >Organization: >Environment: System: FreeBSD hig_pj 4.10-RELEASE FreeBSD 4.10-RELEASE #0: Fri May 28 02:18:28 JST 2004 root@hig_pj:/sys/compile/HIG_PJ i386 >Description: Building xorg-libraries port on 4-STABLE makes libXThrStubs.so without pthread-related symbols. It causes failures in making ports that depend on X11 libraries. >How-To-Repeat: $ cd /usr/ports/x11/xorg-libraries $ make install $ cd ../rxvt # or anything that uses libX11.so $ make : cc -o rxvt command.o graphics.o grkelot.o logging.o main.o menubar.o misc.o netdisp.o rmemset.o screen.o scrollbar.o xdefaults.o xpm.o -lxpg4 -L/usr/X11R6/lib -L/usr/X11R6/lib -lXpm -lX11 /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_signal' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_zero_stub_' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_broadcast' /usr/X11R6/lib/libXThrStub.so.6: undefined reference to `_Xthr_self_stub_' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_init' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_unlock' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_self' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_destroy' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_lock' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_wait' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_cond_destroy' /usr/X11R6/lib/libX11.so: undefined reference to `pthread_mutex_init' *** Error code 1 >Fix: The following might be a fix. # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # files/patch-XThrStub-UIThrStubs.c # echo x - files/patch-XThrStub-UIThrStubs.c sed 's/^X//' >files/patch-XThrStub-UIThrStubs.c << 'END-of-files/patch-XThrStub-UIThrStubs.c' X--- lib/XThrStub/UIThrStubs.c.orig Fri Mar 5 02:46:49 2004 X+++ lib/XThrStub/UIThrStubs.c Wed Jul 28 20:23:18 2004 X@@ -99,7 +99,7 @@ X #else X #include <pthread.h> X typedef pthread_t xthread_t; X-#if __GNUC__ >= 3 X+#if __GNUC__ >= 3 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95) X xthread_t pthread_self() __attribute__ ((weak, alias ("_Xthr_self_stub_"))); X int pthread_mutex_init() __attribute__ ((weak, alias ("_Xthr_zero_stub_"))); X int pthread_mutex_destroy() __attribute__ ((weak, alias ("_Xthr_zero_stub_"))); END-of-files/patch-XThrStub-UIThrStubs.c exit >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200407281435.i6SEZCAD067960>