From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jul 28 14:50:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 61FDA16A4CE for ; Wed, 28 Jul 2004 14:50:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 018F243D5E for ; Wed, 28 Jul 2004 14:50:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i6SEoRMe063711 for ; Wed, 28 Jul 2004 14:50:27 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6SEoRE6063710; Wed, 28 Jul 2004 14:50:27 GMT (envelope-from gnats) Resent-Date: Wed, 28 Jul 2004 14:50:27 GMT Resent-Message-Id: <200407281450.i6SEoRE6063710@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Masakazu HIGAKI Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0CB0516A4CE for ; Wed, 28 Jul 2004 14:47:10 +0000 (GMT) Received: from hig_pj.shio.naps.kishou.go.jp (p11203-adsan02yokonib1-acca.kanagawa.ocn.ne.jp [218.230.176.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 036CB43D5D for ; Wed, 28 Jul 2004 14:47:09 +0000 (GMT) (envelope-from higaki@hig_pj.shio.naps.kishou.go.jp) Received: from hig_pj.shio.naps.kishou.go.jp (localhost [127.0.0.1]) i6SEkmfT068037 for ; Wed, 28 Jul 2004 23:46:59 +0900 (JST) (envelope-from higaki@hig_pj.shio.naps.kishou.go.jp) Received: (from higaki@localhost)i6SEZCAD067960; Wed, 28 Jul 2004 23:35:12 +0900 (JST) (envelope-from higaki) Message-Id: <200407281435.i6SEZCAD067960@hig_pj.shio.naps.kishou.go.jp> Date: Wed, 28 Jul 2004 23:35:12 +0900 (JST) From: Masakazu HIGAKI To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/69708: x11/xorg-libraries: lack of symbols under 4-STABLE X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Masakazu HIGAKI List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jul 2004 14:50:28 -0000 >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 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: