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: unassignedb...@nondot.org
          Reporter: kyle.de...@mykolab.com
                CC: htmldevelo...@gmail.com, llvm-bugs@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to