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

            Bug ID: 34601
           Summary: llvm-4.0.1 -DLLVM_ENABLE_LTO=ON results in huge static
                    libs
           Product: new-bugs
           Version: 4.0
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: enhancement
          Priority: P
         Component: new bugs
          Assignee: unassignedb...@nondot.org
          Reporter: john.frank...@outlook.com
                CC: llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to