[llvm-bugs] [Bug 37197] New: wasm-ld does not support LTO

via llvm-bugs llvm-bugs at lists.llvm.org
Sun Apr 22 10:50:04 PDT 2018


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

            Bug ID: 37197
           Summary: wasm-ld does not support LTO
           Product: lld
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: chen.pang.he at jdh8.org
                CC: llvm-bugs at lists.llvm.org

clang --target=wasm32-unknown-none-wasm -flto foo.c

lld: error: /tmp/foo-abcdef.o: The file was not recognized as a valid object
file
clang-6.0: error: lld command failed with exit code 1 (use -v to see
invocation)

Minimal example of foo.c is not provided because it fails for every source,
even empty source.

-- 
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/20180422/f6c9ef11/attachment.html>


More information about the llvm-bugs mailing list