[Mesa-dev] [Bug 111580] Building libvulkan_radeon.so against llvm 10 fails with "libLLVMAMDGPUDisassembler.a: error adding symbols: archive has no index"

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Sep 6 20:38:25 UTC 2019


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

            Bug ID: 111580
           Summary: Building libvulkan_radeon.so against llvm 10 fails
                    with "libLLVMAMDGPUDisassembler.a: error adding
                    symbols: archive has no index"
           Product: Mesa
           Version: git
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: not set
         Component: Drivers/Vulkan/radeon
          Assignee: mesa-dev at lists.freedesktop.org
          Reporter: shtetldik at gmail.com
        QA Contact: mesa-dev at lists.freedesktop.org

Created attachment 145287
  --> https://bugs.freedesktop.org/attachment.cgi?id=145287&action=edit
Detailed error log

I'm trying to build Mesa against libllvm10, using static linking option for
llvm:

    -Dshared-llvm=false

That's done on Debian testing, gcc 9.2.1 with llvm build from
http://apt.llvm.org/unstable/pool/main/l/llvm-toolchain-snapshot/

I get such error when it's building libvulkan_radeon.so


/usr/bin/ld: /usr/lib/llvm-10/lib/libLLVMAMDGPUDisassembler.a: error adding
symbols: archive has no index; run ranlib to add one


See more detailed error attached. Is it a problem with this llvm build or
something else?

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


More information about the mesa-dev mailing list