From owner-freebsd-ports-bugs@FreeBSD.ORG Thu Nov 6 21:47:26 2014 Return-Path: Delivered-To: freebsd-ports-bugs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 89B7F6D6 for ; Thu, 6 Nov 2014 21:47:26 +0000 (UTC) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 6FB2BE76 for ; Thu, 6 Nov 2014 21:47:26 +0000 (UTC) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.14.9/8.14.9) with ESMTP id sA6LlQFD071720 for ; Thu, 6 Nov 2014 21:47:26 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 194655] graphics/dri incorrect depends - devel/llvm* is listed as BUILD dependency when built with VDPAU support but should be listed as LIB Date: Thu, 06 Nov 2014 21:47:25 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports Tree X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: portmaster@bsdforge.com X-Bugzilla-Status: Needs Triage X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-ports-bugs@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 06 Nov 2014 21:47:26 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194655 C Hutchinson changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |portmaster@bsdforge.com --- Comment #5 from C Hutchinson --- (In reply to wjenkner from comment #4) > (In reply to arcade from comment #3) > > Created attachment 149018 [details] > > convert from BUILD_ to LIB_ depends > > > > I think this would do. > > I'd suggest to add --with-llvm-shared-libs to CONFIGURE_ARGS so that the > Gallium drivers are linked with the shared libLLVM as well. I've been doing > this for several months (with the stuff from the experimental xorg repo). > There's a huge difference in file sizes, and pkg takes (or used to take?) > considerably less time to make a binary (backup-) package in this case. I'm not sure this is related. But felt I should post here, before opening a new pr(1). I am unable to build graphics/dri on a recent 11-CURRNET. In the past (on RELENG_9), I could overcome this issue (using gcc, not clang), by modifying the conditional in the Makefile to both being USE_GCC=yes But this won't fire on 11, because it only looks to 10(ish) as the top. modifying the conditional to seek upwards to infinity _did_ get it to continue quite a ways into the process. But ultimately failed at: CC libvdpau_gallium_la-target.lo CXXLD libvdpau_gallium.la ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.r o._ZTV26DelegatingJITMemoryManager[_ZTV26DelegatingJITMemoryManager]+0x40): unde fined reference to `llvm::RTDyldMemoryManager::getSymbolAddress(std::string cons t&)' ../../../../src/gallium/auxiliary/.libs/libgallium.a(lp_bld_misc.o):(.data.rel.r o._ZTV19ShaderMemoryManager[_ZTV19ShaderMemoryManager]+0x40): undefined referenc e to `llvm::RTDyldMemoryManager::getSymbolAddress(std::string const&)' collect2: error: ld returned 1 exit status Makefile:743: recipe for target 'libvdpau_gallium.la' failed gmake[8]: *** [libvdpau_gallium.la] Error 1 gmake[8]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-10.3.2/src/galliu m/targets/vdpau' Makefile:549: recipe for target 'all-recursive' failed gmake[7]: *** [all-recursive] Error 1 gmake[7]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-10.3.2/src/galliu m' Makefile:518: recipe for target 'all-recursive' failed gmake[6]: *** [all-recursive] Error 1 gmake[6]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-10.3.2/src' Makefile:585: recipe for target 'all-recursive' failed gmake[5]: *** [all-recursive] Error 1 gmake[5]: Leaving directory '/usr/ports/graphics/dri/work/Mesa-10.3.2' ===> Compilation failed unexpectedly. I'm not sure where exactly to go from here. FWIW uname 11-CURRENT #1 r274134 Nov 5 12:56:14 PST 2014 amd64 svn info /usr/ports Revision: 372176 Thank you for all your time, and consideration. --Chris -- You are receiving this mail because: You are the assignee for the bug.