From owner-freebsd-current@FreeBSD.ORG Sun Jul 22 18:02:53 2007 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C0D9A16A417 for ; Sun, 22 Jul 2007 18:02:53 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from itchy.rabson.org (unknown [IPv6:2001:618:400::50b1:e8f2]) by mx1.freebsd.org (Postfix) with ESMTP id 54F3413C468 for ; Sun, 22 Jul 2007 18:02:53 +0000 (UTC) (envelope-from dfr@rabson.org) Received: from herring.rabson.org (herring.rabson.org [80.177.232.250]) by itchy.rabson.org (8.13.3/8.13.3) with ESMTP id l6MI2ntj074920 for ; Sun, 22 Jul 2007 19:02:50 +0100 (BST) (envelope-from dfr@rabson.org) From: Doug Rabson To: current@freebsd.org Date: Sun, 22 Jul 2007 19:02:49 +0100 User-Agent: KMail/1.9.6 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200707221902.49369.dfr@rabson.org> X-Virus-Scanned: ClamAV 0.87.1/3729/Sun Jul 22 17:10:33 2007 on itchy.rabson.org X-Virus-Status: Clean Cc: Subject: Weird thread error which breaks the gtk-sharp build X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Jul 2007 18:02:53 -0000 I was giving my machine a bit of a workout to test some patches and I happened to pick the gnome2 ports build. All was going swimmingly until it fell flat on its face attempting to build gtk-sharp. As it turned out, an error (warning?) message from libthr had turned up in one of the source files that the build generated. I tweaked my sources as below to get around it but I'm not really sure of the right fix: Index: thr_private.h =================================================================== RCS file: /home/ncvs/src/lib/libthr/thread/thr_private.h,v retrieving revision 1.77 diff -u -r1.77 thr_private.h --- thr_private.h 20 Dec 2006 04:43:34 -0000 1.77 +++ thr_private.h 22 Jul 2007 17:54:21 -0000 @@ -72,7 +72,7 @@ /* Output debug messages like this: */ #define stdout_debug(args...) _thread_printf(STDOUT_FILENO, ##args) -#define stderr_debug(args...) _thread_printf(STDOUT_FILENO, ##args) +#define stderr_debug(args...) _thread_printf(STDERR_FILENO, ##args) #ifdef _PTHREADS_INVARIANTS #define THR_ASSERT(cond, msg) do { \