[llvm-bugs] [Bug 41564] New: Clang is broken when the LLVM suite is built all-in-one via LLVM, but works when built separately

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 22 20:46:46 PDT 2019


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

            Bug ID: 41564
           Summary: Clang is broken when the LLVM suite is built
                    all-in-one via LLVM, but works when built separately
           Product: new-bugs
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: new bugs
          Assignee: unassignedbugs at nondot.org
          Reporter: kyle.devir at mykolab.com
                CC: htmldeveloper at gmail.com, llvm-bugs at lists.llvm.org

With https://aur.archlinux.org/packages/llvm-git, Clang is built by moving the
`clang` directory to `llvm/tools/clang`, as shown by this line:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=llvm-git#n67

Clang is then built via `cmake "$srcdir"/llvm-project/llvm`. This results in a
broken `clang` binary

However, Clang has been noted to work when LLVM and Clang are built separately,
with LLVM being built first, CompilerRT second, and lastly, Clang.

Therefore, there's a weird bug somewhere where the all-in-one Clang build just
breaks.

-- 
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/20190423/c9308b28/attachment-0001.html>


More information about the llvm-bugs mailing list