Date: Thu, 06 Nov 2014 21:47:25 +0000 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 Message-ID: <bug-194655-13-p1CksWWgiH@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-194655-13@https.bugs.freebsd.org/bugzilla/> References: <bug-194655-13@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194655 C Hutchinson <portmaster@bsdforge.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |portmaster@bsdforge.com --- Comment #5 from C Hutchinson <portmaster@bsdforge.com> --- (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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194655-13-p1CksWWgiH>