[llvm-bugs] [Bug 34601] New: llvm-4.0.1 -DLLVM_ENABLE_LTO=ON results in huge static libs

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Sep 14 05:37:37 PDT 2017


            Bug ID: 34601
           Summary: llvm-4.0.1 -DLLVM_ENABLE_LTO=ON results in huge static
           Product: new-bugs
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: john.frankish at outlook.com
                CC: llvm-bugs at lists.llvm.org

building llvm-4.0.1 on linux x86_64

-DLLVM_ENABLE_LTO=OFF 31,849,592 libLLVM-4.0.so  32,063,666 libclangSema.a
-DLLVM_ENABLE_LTO=ON  28,733,176 libLLVM-4.0.so 142,114,566 libclangSema.a

Is it possible to arrange things so that -lto is not applied to static libs?

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/20170914/284d93ef/attachment.html>

More information about the llvm-bugs mailing list