From owner-freebsd-ports-bugs@FreeBSD.ORG Sun Sep 11 18:30:07 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org 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 09A7716A41F for ; Sun, 11 Sep 2005 18:30:07 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 84A9743D45 for ; Sun, 11 Sep 2005 18:30:06 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j8BIU6xL099906 for ; Sun, 11 Sep 2005 18:30:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j8BIU6sh099899; Sun, 11 Sep 2005 18:30:06 GMT (envelope-from gnats) Resent-Date: Sun, 11 Sep 2005 18:30:06 GMT Resent-Message-Id: <200509111830.j8BIU6sh099899@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, "\"Adam Gregoire\" Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 68E0916A41F for ; Sun, 11 Sep 2005 18:22:55 +0000 (GMT) (envelope-from ebola@psychoholics.org) Received: from mail.psychoholics.org (www.psychoholics.org [64.185.102.78]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29D3143D53 for ; Sun, 11 Sep 2005 18:22:55 +0000 (GMT) (envelope-from ebola@psychoholics.org) Received: from S0106c0ffeec0ffee (S0106c0ffeec0ffee.su.shawcable.net [24.109.19.58]) by mail.psychoholics.org (Postfix) with ESMTP id 0FB98157173 for ; Sun, 11 Sep 2005 12:20:49 -0700 (PDT) Message-Id: <1126463025.0@S0106c0ffeec0ffee> Date: Sun, 11 Sep 2005 14:23:45 -0400 From: "\"Adam Gregoire\" To: "FreeBSD gnats submit" X-Send-Pr-Version: gtk-send-pr 0.4.6 Cc: Subject: ports/85982: PHP fails to build when libxml2 is build using WITH_THREADS=yes. X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Sep 2005 18:30:07 -0000 >Number: 85982 >Category: ports >Synopsis: PHP fails to build when libxml2 is build using WITH_THREADS=yes. >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sun Sep 11 18:30:05 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Adam Gregoire >Release: FreeBSD 7.0-CURRENT amd64 >Organization: >Environment: System: FreeBSD 7.0-CURRENT #16: Sun Sep 11 04:48:02 EDT 2005 root@S0106c0ffeec0ffee:/usr/obj/usr/src/sys/OPTMZD >Description: When WITH_THREADS is defined in /etc/make.conf and libxml2 is built threaed, php build fails. Following is a snippit from php5-cgi's config.log configure:18440: checking whether to enable LIBXML support configure:18487: checking libxml2 install dir configure:18647: checking whether libxml build works configure:18674: cc -o conftest -O2 -pipe -march=athlon64 -R/usr/local/lib -L/usr/local/lib conftest.c -lm -lxml2 -lz -liconv -lm 1>&5 /usr/local/lib/libxml2.so: undefined reference to `pthread_equal' configure: failed program was: #line 18663 "configure" #include "confdefs.h" char xmlInitParser(); int main() { xmlInitParser(); return 0; } >How-To-Repeat: Define WITH_THREADS=yes in make.conf, recompile libxml2, try to compile php. >Fix: >Release-Note: >Audit-Trail: >Unformatted: