[Mesa-dev] [Bug 98474] Linking mesa against [non-standard prefixed] LLVM fails

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Oct 28 14:40:40 UTC 2016


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

            Bug ID: 98474
           Summary: Linking mesa against [non-standard prefixed] LLVM
                    fails
           Product: Mesa
           Version: git
          Hardware: Other
                OS: All
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Mesa core
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: emil.l.velikov at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Since we don't propagate the LLVM_LIBDIR (-L/foo) to the linker we can fail at
link stage. That's due to the library variable LLVM_LIBS (as provided by
llvm-config --libs) containing only -lfoo.

One workaround is to use, LD_LIBRARY_PATH or alike. Although one should _not_
need to do that in the first place - that's why we have .pc (and equivalents).

The following seems fixes things on my end
https://patchwork.freedesktop.org/patch/117846/

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161028/12f447dc/attachment.html>


More information about the mesa-dev mailing list