From owner-freebsd-doc@FreeBSD.ORG Tue Apr 4 16:00:38 2006 Return-Path: X-Original-To: freebsd-doc@hub.freebsd.org Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45E9116A401 for ; Tue, 4 Apr 2006 16:00:38 +0000 (UTC) (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 CB2FD43D46 for ; Tue, 4 Apr 2006 16:00:37 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id k34G0bVq030501 for ; Tue, 4 Apr 2006 16:00:37 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id k34G0bTI030496; Tue, 4 Apr 2006 16:00:37 GMT (envelope-from gnats) Date: Tue, 4 Apr 2006 16:00:37 GMT Message-Id: <200604041600.k34G0bTI030496@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Jean-Baptiste Quenot Cc: Subject: Re: docs/95275: Threading libraries in Porter's Handbook X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Jean-Baptiste Quenot List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Apr 2006 16:00:38 -0000 The following reply was made to PR docs/95275; it has been noted by GNATS. From: Jean-Baptiste Quenot To: Pav Lucistnik Cc: bug-followup@FreeBSD.org Subject: Re: docs/95275: Threading libraries in Porter's Handbook Date: Tue, 4 Apr 2006 17:57:37 +0200 --tNQTSEo8WG/FKZ8E Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Right, please find attached the updated patch. -- Jean-Baptiste Quenot aka John Banana Qwerty http://caraldi.com/jbq/ --tNQTSEo8WG/FKZ8E Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="20060403-freebsd-porter-handbook-pthread.txt" --- book.sgml.orig Mon Apr 3 13:11:37 2006 +++ book.sgml Tue Apr 4 17:57:02 2006 @@ -9529,6 +9529,15 @@ different values, so do not just hardcode -pthread into patches and always use PTHREAD_LIBS. + + + If building the port errors out with unrecognized option + '-pthread' when setting PTHREAD_LIBS, it + may be desirable to use gcc as linker by setting + CONFIGURE_ENV to LD=${CC}. Indeed + the -pthread option is not supported by + ld. + --tNQTSEo8WG/FKZ8E--