[Mesa-dev] [Bug 48697] --with-llvm-shared-libs build fails for some drivers.

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 13 04:39:05 PDT 2012


https://bugs.freedesktop.org/show_bug.cgi?id=48697

--- Comment #8 from Jan Vesely <jano.vesely at gmail.com> 2012-09-13 11:39:05 UTC ---
sry to bring back this one.
adding /usr/lib/llvm to LD_LIBRARY_PATH is only a workaround.
the real fix is adding -l llvm to linker flags.

The problem is that drivers include libgallium.a, this archive needs llvm
symbols, but the information is lost because there is no .la file. Thus
everything that includes libgallium.a needs to add -l llvm.

The fact that linker links to libraries in LD_LIBRARY_PATH only hides the real
issue.

The real fix would be to convert libgallium.a to automake. it would create .la
file and preserve the information about necessary linker flags.

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the mesa-dev mailing list