From owner-freebsd-x11@FreeBSD.ORG Thu Feb 11 23:40:03 2010 Return-Path: Delivered-To: freebsd-x11@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8E296106566C for ; Thu, 11 Feb 2010 23:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 634DD8FC0C for ; Thu, 11 Feb 2010 23:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o1BNe3IH088921 for ; Thu, 11 Feb 2010 23:40:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o1BNe2Dh088920; Thu, 11 Feb 2010 23:40:02 GMT (envelope-from gnats) Date: Thu, 11 Feb 2010 23:40:02 GMT Message-Id: <201002112340.o1BNe2Dh088920@freefall.freebsd.org> To: freebsd-x11@FreeBSD.org From: Kyryll A Mirnenko aka Mirya Cc: Subject: Re: ports/143723: graphics/dri fails to build after graphics/libdrm update X-BeenThere: freebsd-x11@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Kyryll A Mirnenko aka Mirya List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Feb 2010 23:40:03 -0000 The following reply was made to PR ports/143723; it has been noted by GNATS. From: Kyryll A Mirnenko aka Mirya To: bug-followup@freebsd.org, xmirya@gmail.com Cc: Subject: Re: ports/143723: graphics/dri fails to build after graphics/libdrm update Date: Thu, 11 Feb 2010 15:41:56 +0200 I've digged deeper, libdrm do not intall nor build intel-specific parts at all in my case, include/intel_bufmgr.h and lib/libdrm_intel.* from plist are not installed. The config.log after the configure stage of graphics/ibdrm contains the following: configure:13304: checking for native atomic primitives configure:13336: cc -o conftest -O2 -pipe -fno-strict-aliasing conftest.c >&5 /var/tmp//ccTmHgC2.o(.text+0x3b): In function `atomic_cmpxchg': : undefined reference to `__sync_val_compare_and_swap_4' /var/tmp//ccTmHgC2.o(.text+0x65): In function `atomic_add': : undefined reference to `__sync_fetch_and_add_4' ... configure:13375: checking atomic_ops.h usability configure:13392: cc -c -O2 -pipe -fno-strict-aliasing conftest.c >&5 conftest.c:63:24: error: atomic_ops.h: No such file or directory ... HAVE_INTEL_FALSE='' HAVE_INTEL_TRUE='#' After that the intel subdirectory is commented out in the Makefile and so never built. I've manually uncommented the latter and defined HAVE_INTEL_ATOMIC_PRIMITIVES in config.h (as far as ./configure commented it out), after that the intel-specific API was built successfully and graphics/dri compiled well. -- Regards, Mirya ICQ #313898202