[llvm-bugs] [Bug 43940] New: Ubuntu packages have IR in .a files instead of native code

via llvm-bugs llvm-bugs at lists.llvm.org
Fri Nov 8 01:49:36 PST 2019


https://bugs.llvm.org/show_bug.cgi?id=43940

            Bug ID: 43940
           Summary: Ubuntu packages have IR in .a files instead of native
                    code
           Product: clang
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: libclang
          Assignee: unassignedclangbugs at nondot.org
          Reporter: kolan_n at mail.ru
                CC: klimek at google.com, llvm-bugs at lists.llvm.org,
                    richard-llvm at metafoo.co.uk

Created attachment 22784
  --> https://bugs.llvm.org/attachment.cgi?id=22784&action=edit
build.bash

Recently in Ubuntu packages I started to see that libclang .a files contain .o
files that contain LLVM bitcode instead of native code.

This breaks linking other tools with ld and makes linking with ld.lld terribly
slow because it has to rebuild bitcode into native code.

There is a workaround (see build.bash), but relying on it defeats the purpose
of using binary packages because it is also terribly slow.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20191108/d192d038/attachment.html>


More information about the llvm-bugs mailing list