From owner-freebsd-x11@FreeBSD.ORG Mon Feb 15 16:17:43 2010 Return-Path: Delivered-To: freebsd-x11@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 40F3A106568B for ; Mon, 15 Feb 2010 16:17:43 +0000 (UTC) (envelope-from rnoland@2hip.net) Received: from gizmo.2hip.net (gizmo.2hip.net [64.74.207.195]) by mx1.freebsd.org (Postfix) with ESMTP id 036E38FC08 for ; Mon, 15 Feb 2010 16:17:42 +0000 (UTC) Received: from [192.168.1.4] (adsl-241-172-37.bna.bellsouth.net [74.241.172.37]) (authenticated bits=0) by gizmo.2hip.net (8.14.3/8.14.3) with ESMTP id o1FGHcrF047716 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Mon, 15 Feb 2010 11:17:40 -0500 (EST) (envelope-from rnoland@2hip.net) From: Robert Noland To: Kyryll A Mirnenko aka Mirya In-Reply-To: <201002112340.o1BNe2Dh088920@freefall.freebsd.org> References: <201002112340.o1BNe2Dh088920@freefall.freebsd.org> Content-Type: text/plain Organization: 2Hip Networks Date: Mon, 15 Feb 2010 10:17:33 -0600 Message-Id: <1266250653.11131.10.camel@balrog.2hip.net> Mime-Version: 1.0 X-Mailer: Evolution 2.26.3 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.3 required=5.0 tests=AWL,BAYES_00, FH_DATE_PAST_20XX, RCVD_IN_PBL, RDNS_DYNAMIC, SPF_FAIL autolearn=no version=3.2.5 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on gizmo.2hip.net Cc: freebsd-x11@FreeBSD.org 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 List-Id: X11 on FreeBSD -- maintaining and support List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 16:17:43 -0000 On Thu, 2010-02-11 at 23:40 +0000, Kyryll A Mirnenko aka Mirya wrote: > 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' Ah, set your cputype. I think it is set to a minimum of 486 now on all -STABLE branches. i386 doesn't support the needed instructions. robert. > 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 > _______________________________________________ > freebsd-x11@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-x11 > To unsubscribe, send any mail to "freebsd-x11-unsubscribe@freebsd.org" -- Robert Noland 2Hip Networks